:root {
  --green-dark: #1a5c38;
  --green: #2d7a50;
  --green-light: #3fa06a;
  --green-pale: #eaf6ef;
  --green-border: #c3e6d0;
  --white: #ffffff;
  --gray-light: #eef3f0;
  --gray: #4b5563;
  --gray-mid: #9ca3af;
  --dark: #111827;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--green-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.nav-logo {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--green-dark);
  background: var(--green-pale);
}
.nav-links a.active {
  color: var(--green-dark);
  background: var(--green-pale);
  box-shadow: inset 0 -3px 0 var(--green);
  font-weight: 600;
}

.nav-upload-btn {
  background: var(--green) !important;
  color: var(--white) !important;
  font-weight: 600;
}
.nav-upload-btn:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 2rem 0; }
section:nth-child(even) { background: var(--gray-light); }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.3; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.lead {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green-pale); }

.btn-group { display: inline-flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.btn-group .btn { justify-content: center; }

/* ── Hero ── */
.hero .lead { margin-bottom: 0; }
.hero {
  background: linear-gradient(135deg, var(--green-pale) 0%, #d4eedd 100%);
  padding: 1.25rem 0 1.75rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 3px solid var(--green);
  box-shadow: var(--shadow);
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p { color: var(--gray); font-size: 0.95rem; }

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 0;
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step p { color: var(--gray); font-size: 0.93rem; }

/* ── Preise ── */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--green-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.price-card > a:last-child {
  margin-top: auto;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.price-card.featured:hover {
  transform: translateY(-16px);
  box-shadow: 0 20px 56px rgba(45,122,80,0.28);
}

.price-card.featured {
  border-color: var(--green);
  border-top: 4px solid var(--green);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(45,122,80,0.2);
  transform: translateY(-8px);
  position: relative;
}

.price-card.featured::before {
  content: 'Empfehlung';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0.75rem 0 0.25rem;
}

.price-sub { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }

.price-card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
}

.price-card ul li {
  padding: 0.3rem 0;
  color: var(--gray);
  font-size: 0.93rem;
}

.price-card ul li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

/* ── Security list ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--green-border);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}

.security-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.security-item p { color: var(--gray); font-size: 0.9rem; }

/* ── FAQ / Accordion ── */
.faq { margin-top: 2rem; }

details {
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--green);
  transition: transform var(--transition);
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  padding: 0.75rem 1.25rem 1.25rem;
  color: var(--gray);
  background: var(--green-pale);
  font-size: 0.95rem;
}

/* ── Kontakt ── */
.contact-form {
  max-width: 620px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}

textarea { resize: vertical; min-height: 120px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--green);
}

.checkbox-group label { font-weight: 400; font-size: 0.9rem; }

/* ── Über mich ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.about-avatar {
  width: 260px;
  height: 340px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex-shrink: 0;
}

/* ── Highlight box ── */
.highlight-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p { color: var(--dark); }

/* ── Two col ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ── Footer ── */
footer {
  background: var(--green-dark);
  color: #a8d4bc;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 { color: var(--white); margin-bottom: 0.75rem; }

footer a {
  color: #a8d4bc;
  text-decoration: none;
  display: inline;
  font-size: 0.82rem;
  transition: color var(--transition);
}

footer a:hover { color: #ffffff; }

.footer-bottom {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Badges / Tags ── */
.tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.2rem;
}

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-pale) 0%, #d4eedd 100%);
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--green-border);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: var(--gray); margin-top: 0.5rem; font-size: 1.05rem; }

/* ── Table ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

th {
  background: var(--green-pale);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--green-dark);
  border-bottom: 2px solid var(--green-border);
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.93rem;
  color: var(--gray);
}

tr:last-child td { border-bottom: none; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner, .two-col, .about-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 300px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--green-border); padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .about-avatar { order: -1; margin: 0 auto !important; margin-top: 0 !important; width: 100% !important; max-width: 420px !important; height: auto !important; aspect-ratio: 4/5; position: relative !important; top: auto !important; }
  .comparison-grid { grid-template-columns: 1fr; }
}
