:root {
  --color-bg: #14322a;
  --color-bg-panel: #1b4332;
  --color-cream: #f1ead8;
  --color-cream-dim: #cfc6ac;
  --color-green: #3ddc5d;
  --color-red: #e6484f;
  --color-border: #2d5c47;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-cream);
  line-height: 1.5;
}

a {
  color: var(--color-green);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--color-cream);
}

.brand img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--color-cream-dim);
}

nav a:hover {
  color: var(--color-cream);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-green);
  color: #0b1f16;
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-border);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--color-cream-dim);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.card {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.pricing-card {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  margin: 2rem auto;
}

.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  color: var(--color-cream-dim);
}

.pricing-card li {
  padding: 0.4rem 0;
}

.pricing-card li::before {
  content: "\2713  ";
  color: var(--color-green);
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-cream-dim);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-border);
}

.auth-wrap {
  max-width: 400px;
  margin: 4rem auto;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  cursor: pointer;
  color: var(--color-cream-dim);
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: var(--color-cream);
  border-bottom-color: var(--color-green);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-cream-dim);
}

input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-cream);
  font-size: 1rem;
}

input:focus {
  outline: 2px solid var(--color-green);
}

.form-message {
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.form-message.error {
  color: var(--color-red);
}

.form-message.success {
  color: var(--color-green);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

th, td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

th {
  color: var(--color-cream-dim);
  font-weight: 600;
}

.badge {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-long {
  background: rgba(61, 220, 93, 0.18);
  color: var(--color-green);
}

.badge-short {
  background: rgba(230, 72, 79, 0.18);
  color: var(--color-red);
}

.badge-offen {
  background: rgba(241, 234, 216, 0.12);
  color: var(--color-cream);
}

.badge-geschlossen {
  background: rgba(207, 198, 172, 0.12);
  color: var(--color-cream-dim);
}

.upsell {
  text-align: center;
  padding: 4rem 1rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.status-line {
  color: var(--color-cream-dim);
  font-size: 0.9rem;
}
