:root {
  --bg-main: #eef2e8;
  --bg-card: #ffffff;
  --bg-soft: #f7f8f5;
  --text-main: #1f2937;
  --text-soft: #6b7280;
  --line: #e5e7eb;
  --line-strong: #c8d6b3;
  --green-dark: #27500A;
  --green-mid: #3B6D11;
  --green-light: #639922;
  --green-pale: #EAF3DE;
  --green-accent: #97C459;
  --orange-soft: #FAEEDA;
  --orange-line: #EF9F27;
  --red-soft: #FCEBEB;
  --red-line: #F09595;
  --blue-soft: #E6F1FB;
  --blue-strong: #185FA5;
  --thermal: #FF8A1F;
  --thermal-soft: #FFB347;
  --hero-deep: #0e2406;
  --sand: #E3B877;
  --sand-deep: #d4a85f;
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --content-width: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

main { flex: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(238,242,232,0.88);
  border-bottom: 1px solid rgba(39,80,10,0.08);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.nav-links {
  display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap; justify-content: flex-end;
}

.nav-links a { font-size: 14px; color: var(--text-soft); transition: color 0.15s; }
.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); font-weight: 700; }

.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--green-dark); color: var(--green-pale) !important;
  font-weight: 700; transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 13px; font-size: 15px; font-weight: 700;
  font-family: var(--font-body);
  transition: transform 0.15s, background 0.15s;
  border: none; cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-dark); color: var(--green-pale); }
.btn-primary:hover { background: var(--green-light); }
/* Sections */
.section { padding: 32px 0; }
.section-head { margin-bottom: 18px; }

.section-kicker {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green-light); margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15; color: var(--green-dark);
}

.section-text {
  margin-top: 10px; max-width: 68ch;
  font-size: 15px; color: var(--text-soft); line-height: 1.75;
}

/* Info Grid */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.info-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid rgba(39,80,10,0.08);
  padding: 22px;
}

.info-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--green-pale); color: var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 13px;
}

.info-card h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 7px; }
.info-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* Link cards (overview pages) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.link-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid rgba(39,80,10,0.08);
  padding: 26px; transition: transform 0.15s, box-shadow 0.15s;
}

.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.link-card .info-icon { font-size: 22px; }
.link-card h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.link-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; flex: 1; }

.link-card .card-arrow {
  margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--green-mid);
  display: inline-flex; align-items: center; gap: 6px;
}

.link-card:hover .card-arrow { color: var(--green-light); }

/* Calculator (donation) */
.calculator-shell {
  background: linear-gradient(180deg, #f6f9f1 0%, #eef2e8 100%);
  border-top: 1px solid rgba(39,80,10,0.06);
  border-bottom: 1px solid rgba(39,80,10,0.06);
}

.calculator-stage {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 22px; align-items: start;
}

.calculator-side { position: sticky; top: 88px; display: grid; gap: 14px; }

.side-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid rgba(39,80,10,0.08);
  padding: 18px;
}

.side-card h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 9px; }
.side-card p, .side-card li { font-size: 14px; color: var(--text-soft); line-height: 1.7; }
.side-card ul { padding-left: 17px; display: grid; gap: 5px; }

.side-highlight { background: linear-gradient(160deg, var(--green-dark), #1a3a06); }
.side-highlight h3 { color: var(--green-pale); }
.side-highlight p { color: #d5e6c4; }

.calculator-card {
  background: var(--bg-card); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(39,80,10,0.08);
}

.calculator-wrap { padding: 0 0 2.5rem; }

.calc-hero {
  text-align: center;
  background: linear-gradient(160deg, #2e5e0e 0%, #1a3a06 100%);
  padding: 2.2rem 2rem 2.5rem;
  position: relative; overflow: hidden;
}

.calc-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, #EAF3DE 0px, #EAF3DE 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-45deg, #EAF3DE 0px, #EAF3DE 1px, transparent 1px, transparent 14px);
}

.calc-hero-inner { position: relative; }

.calc-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12); color: #C0DD97;
  font-size: 11px; padding: 4px 14px; border-radius: 99px;
  margin-bottom: 12px; letter-spacing: 0.05em; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
}

.calc-title {
  font-family: var(--font-display);
  font-size: 28px; color: var(--green-pale); line-height: 1.2;
}

.calc-sub { font-size: 14px; color: #a8cc80; margin-top: 8px; line-height: 1.6; }

.calc-divider {
  width: 30px; height: 2px;
  background: var(--green-accent);
  margin: 14px auto 0; border-radius: 2px; opacity: 0.6;
}

.form-wrap {
  background: #fff; border-radius: 14px;
  padding: 1.5rem 1.25rem 0;
  margin: -22px 1rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  position: relative;
}

.steps { display: flex; flex-direction: column; }

.step-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}

.step-row:last-child { border-bottom: none; }

.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-mid);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 4px;
  border: 1.5px solid #C0DD97;
}

.step-body { flex: 1; min-width: 0; }
.step-label { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

input[type="number"],
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: #1a1a1a;
  font-size: 14px; font-family: var(--font-body);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea { min-height: 110px; padding: 11px 12px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(99,153,34,0.14);
}

.calc-btn {
  width: calc(100% - 2.5rem);
  margin: 1.4rem 1.25rem 0;
  height: 48px; background: var(--green-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: background 0.15s, transform 0.15s;
  user-select: none; border: none;
}

.calc-btn:hover { background: var(--green-light); }
.calc-btn:active { transform: scale(0.99); }

.calc-btn-text {
  font-size: 15px; font-weight: 700;
  font-family: var(--font-body); color: var(--green-pale);
}

.calc-btn-arrow {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(234,243,222,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-pale); font-size: 13px;
}

.error {
  font-size: 13px; color: #A32D2D;
  background: var(--red-soft); border: 1px solid var(--red-line);
  border-radius: 8px; padding: 8px 12px;
  margin: 10px 1.25rem 0; display: none;
}

.error.on { display: block; }

.results-label {
  font-size: 11px; font-weight: 700; color: var(--text-soft);
  letter-spacing: 0.07em; text-transform: uppercase;
  margin: 1.75rem 1.25rem 0.7rem; display: none;
}

.results-label.on { display: block; }

.results {
  display: none; flex-direction: column; gap: 10px;
  padding: 0 1.25rem;
}

.results.on { display: flex; }

/* Stufen */
.stufe-card { border-radius: 16px; border: 1px solid; overflow: hidden; background: #fff; }

.stufe-basis { border-color: var(--red-line); }
.stufe-basis .s-hd { background: var(--red-soft); }
.stufe-basis .s-badge { background: #F7C1C1; color: #791F1F; }
.stufe-basis .s-ha, .stufe-basis .s-total { color: #A32D2D; }

.stufe-empf { border-color: var(--orange-line); }
.stufe-empf .s-hd { background: var(--orange-soft); }
.stufe-empf .s-badge { background: #FAC775; color: #633806; }
.stufe-empf .s-ha, .stufe-empf .s-total { color: #854F0B; }

.stufe-unts { border-color: var(--green-mid); border-width: 2px; }
.stufe-unts .s-hd { background: var(--green-dark); padding: 1rem 1.25rem; }
.stufe-unts .s-badge { background: var(--green-pale); color: var(--green-dark); }
.stufe-unts .s-ha { color: var(--green-accent); }
.stufe-unts .s-total { color: var(--green-pale); font-size: 24px; }

.rec-pill {
  font-size: 10px; background: var(--green-light); color: var(--green-pale);
  padding: 2px 9px; border-radius: 99px; margin-left: 4px; font-weight: 700;
}

.s-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.25rem; gap: 12px;
}

.s-hd-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.s-ha { font-size: 12px; font-weight: 700; }
.s-total { font-size: 20px; font-weight: 800; white-space: nowrap; }

.s-body {
  background: #fff; padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr;
}

.pay-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.pay-row:first-child { padding-right: 16px; border-right: 1px solid var(--line); }
.pay-row:last-child { padding-left: 16px; }

.pay-icon {
  width: 27px; height: 27px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; margin-top: 1px;
}

.pay-icon.bar { background: var(--orange-soft); }
.pay-icon.bank { background: var(--blue-soft); }

.pay-name { font-size: 12px; font-weight: 700; color: var(--text-main); }
.pay-desc { font-size: 11px; color: var(--text-soft); margin-top: 2px; line-height: 1.5; }
.pay-amount { font-size: 16px; font-weight: 800; margin-top: 4px; }
.bar-color { color: #854F0B; }
.bank-color { color: var(--blue-strong); }

.bdown {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: 7px 1.25rem; display: flex; flex-direction: column; gap: 2px;
}

.bd { font-size: 11px; color: var(--text-soft); }

/* Flight-planning calculator */
.fcalc-stage {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 22px; align-items: start;
}

.fcalc-card {
  background: var(--bg-card); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(39,80,10,0.08);
}

.fcalc-body { padding: 1.6rem 1.5rem 1.8rem; }

.ffield { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ffield:first-child { padding-top: 0; }

.ffield-label {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}

.ffield-label .fl-name { font-size: 14px; font-weight: 700; color: var(--green-dark); }
.ffield-label .fl-value {
  font-size: 15px; font-weight: 800; color: var(--green-mid);
  background: var(--green-pale); padding: 3px 12px; border-radius: 99px;
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px;
  background: var(--line-strong); outline: none; cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-dark); border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-dark); border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); cursor: pointer;
}

.fl-minmax {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-soft); margin-top: 6px;
}

.fradio-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }

.fradio {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; min-height: 42px; padding: 6px 10px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; font-size: 13px; font-weight: 700; color: var(--text-main);
  cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.fradio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fradio:hover { border-color: var(--green-light); }
.fradio.checked { background: var(--green-dark); border-color: var(--green-dark); color: var(--green-pale); }

.fresults {
  margin-top: 1.4rem; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.fresult {
  background: linear-gradient(160deg, #2e5e0e 0%, #1a3a06 100%);
  color: var(--green-pale); border-radius: 16px; padding: 18px 20px;
}

.fresult.secondary {
  background: var(--green-pale); color: var(--green-dark);
  border: 1px solid var(--line-strong);
}

.fresult .fr-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; opacity: 0.85;
}

.fresult .fr-value {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; margin-top: 6px; line-height: 1.1;
}

.fresult .fr-unit { font-size: 16px; font-weight: 600; }

.fnote {
  margin-top: 1.2rem; font-size: 12px; color: var(--text-soft);
  line-height: 1.65; padding-top: 1rem; border-top: 1px dashed var(--line-strong);
}

/* FAQ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-list { display: grid; gap: 12px; }

details {
  background: var(--bg-card); border: 1px solid rgba(39,80,10,0.08);
  border-radius: 15px; box-shadow: var(--shadow-md); padding: 15px 18px;
}

summary {
  cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--green-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

summary::after {
  content: "+"; font-size: 18px; font-weight: 400;
  color: var(--green-light); flex-shrink: 0; transition: transform 0.2s;
}

details[open] summary::after { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }

details p { margin-top: 11px; color: var(--text-soft); font-size: 14px; line-height: 1.75; }

/* Kontakt */
.contact-wrap {
  background: linear-gradient(180deg, #fff 0%, #f8fbf4 100%);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(39,80,10,0.08); padding: 32px;
}

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }

.contact-points { display: grid; gap: 10px; margin-top: 18px; }

.contact-point {
  background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 13px 15px;
}

.contact-point strong { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: 13px; }
.contact-point span { display: block; color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.contact-point a { color: var(--green-mid); text-decoration: underline; text-underline-offset: 2px; }

.form-grid { display: grid; gap: 11px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-note { font-size: 12px; color: var(--text-soft); line-height: 1.6; }

/* Imprint */
.imprint-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(39,80,10,0.08);
  padding: 40px;
  max-width: 620px;
}

.imprint-card h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 28px;
}

.block { padding: 20px 0; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: none; padding-top: 0; }

.block h2 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green-mid); margin-bottom: 10px;
}

.block p { font-size: 15px; color: var(--text-main); line-height: 1.75; }
.block p + p { margin-top: 8px; }
.block a { color: var(--green-mid); text-decoration: underline; text-underline-offset: 2px; }

.note {
  margin-top: 28px; padding: 16px 18px;
  background: var(--bg-main); border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.note p { font-size: 13px; color: var(--text-soft); line-height: 1.75; }

/* Footer */
.site-footer { padding: 26px 0 40px; }

.footer-shell {
  background: var(--bg-card); border-radius: 20px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(39,80,10,0.08);
  padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}

.footer-copy { font-size: 13px; color: var(--text-soft); line-height: 1.7; }
.footer-copy a { color: var(--green-mid); }

.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--green-dark); font-weight: 700; transition: color 0.15s; }
.footer-links a:hover { color: var(--green-light); }

/* Responsive */
@media (max-width: 1080px) {
  .calculator-stage, .fcalc-stage, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .calculator-side { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 20px), var(--content-width)); }
  .nav { flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .hero-copy, .hero-panel { padding: 22px; }
  .info-grid, .form-row-2 { grid-template-columns: 1fr; }
  .calc-title { font-size: 24px; }
  .field-row, .s-body { grid-template-columns: 1fr; }
  .pay-row:first-child { padding-right: 0; border-right: none; border-bottom: 1px solid var(--line); }
  .pay-row:last-child { padding-left: 0; }
  .s-hd { flex-direction: column; align-items: flex-start; }
  .s-total { white-space: normal; }
  .form-wrap { margin: -18px 0.75rem 0; padding: 1.25rem 1rem 0; }
  .calc-btn { width: calc(100% - 1.5rem); margin-left: 0.75rem; margin-right: 0.75rem; }
  .results { padding: 0 0.75rem; }
  .imprint-card { padding: 24px; }
}

/* ============================================================
   Homepage (photo template)
   ============================================================ */

/* Transparent header over the photo, solid on scroll */
body.home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.home .site-header .logo-word { color: #fff; }
body.home .site-header .leaf { color: var(--sand); }
body.home .site-header .nav-links a { color: rgba(255,255,255,0.88); }
body.home .site-header .nav-links a:hover,
body.home .site-header .nav-links a.active { color: #fff; }

body.home.scrolled .site-header {
  background: rgba(247,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(39,80,10,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
body.home.scrolled .site-header .logo-word { color: var(--green-dark); }
body.home.scrolled .site-header .leaf { color: var(--green-light); }
body.home.scrolled .site-header .nav-links a { color: var(--text-soft); }
body.home.scrolled .site-header .nav-links a:hover,
body.home.scrolled .site-header .nav-links a.active { color: var(--green-dark); }

/* Serif logo */
.brand--logo { gap: 9px; align-items: center; }
.brand--logo .leaf { width: 24px; height: 24px; flex-shrink: 0; color: var(--green-light); }
.logo-word { font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: 0.01em; color: var(--green-dark); }
.logo-word .dot-accent { color: var(--sand-deep); }

.nav-cta--amber { background: var(--sand); color: #2a1c06 !important; }
.nav-cta--amber:hover { background: var(--sand-deep); }

/* Photo hero */
.photo-hero {
  position: relative;
  background: url("assets/hero-meadow.jpg") center 35% / cover no-repeat;
  padding: 150px 0 64px;
  overflow: hidden;
}
.photo-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,26,10,0.62) 0%, rgba(16,26,10,0.30) 44%, rgba(16,26,10,0.04) 72%),
    linear-gradient(180deg, rgba(16,26,10,0.42) 0%, rgba(16,26,10,0) 26%, rgba(16,26,10,0.18) 100%);
}
.photo-hero > * { position: relative; z-index: 1; }

.ph-inner { max-width: 680px; }

.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(4px);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.ph-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }

.ph-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.03; color: #fff; letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.28);
}
.ph-title .it { font-style: italic; color: var(--sand); }

.ph-lead {
  margin-top: 22px; max-width: 50ch;
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.32);
}

.ph-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-amber { background: var(--sand); color: #2a1c06; box-shadow: 0 12px 30px rgba(0,0,0,0.22); }
.btn-amber:hover { background: var(--sand-deep); }
.btn-ghost-light { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.55) !important; color: #fff; backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }

/* Embedded calculator cards */
.ph-cards {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px;
  margin-top: 50px; align-items: stretch;
}
.ph-card { border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,0.32); }
.ph-card-input { background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); }
.ph-card-plan {
  background: linear-gradient(165deg, #234d12, #14300a);
  color: var(--green-pale); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.ph-card-plan::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,184,119,0.22), transparent 70%);
}

.ph-card-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-light); }
.ph-card-kicker.amber { color: var(--sand); }
.ph-card-title { font-family: var(--font-display); font-size: 25px; color: var(--green-dark); margin-top: 6px; }
.ph-card-title.light { color: #fff; }

.ph-form { margin-top: 18px; display: grid; gap: 14px; }
.ph-form label { display: block; font-size: 12px; font-weight: 700; color: var(--text-soft); }
.ph-form input, .ph-form select { margin-top: 6px; }
.ph-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.plan-body { position: relative; z-index: 1; margin-top: 16px; flex: 1; display: flex; flex-direction: column; }
.plan-rec-label { font-size: 12px; color: #bcd3a4; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.plan-total { font-family: var(--font-display); font-size: 46px; line-height: 1; margin-top: 8px; color: #fff; }
.plan-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.plan-split > div { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 14px; }
.plan-split b { display: block; font-size: 18px; font-weight: 800; color: var(--sand); }
.plan-split small { display: block; font-size: 11px; color: #bcd3a4; margin-top: 3px; line-height: 1.4; }
.plan-link { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 700; color: var(--sand); }
.plan-link:hover { color: #fff; }

/* Closing CTA */
.home-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-dark), #16310a);
  border-radius: var(--radius-xl); padding: 44px; color: var(--green-pale);
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.home-cta::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,184,119,0.22), transparent 70%);
}
.home-cta-text { position: relative; z-index: 1; }
.home-cta h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: #fff; }
.home-cta p { margin-top: 8px; color: #cfe2bb; font-size: 15px; max-width: 46ch; }
.home-cta .ph-actions { position: relative; z-index: 1; margin-top: 0; }

@media (max-width: 1080px) {
  .ph-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .photo-hero { padding-top: 112px; }
  .ph-card { padding: 20px; }
  .home-cta { padding: 28px; }
}

/* ============================================================
   Shared elegant treatment (all pages)
   ============================================================ */

/* Subpage hero band */
.subhero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -25%, #2c5a16 0%, transparent 60%),
    linear-gradient(165deg, #234d12 0%, var(--hero-deep) 80%);
  color: var(--green-pale);
  padding: 56px 0 60px;
}
.subhero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 85%, rgba(227,184,119,0.10), transparent 42%);
  pointer-events: none;
}
.subhero > * { position: relative; z-index: 1; }

.subhero-back { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--sand); }
.subhero-back:hover { color: #fff; }

.subhero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(227,184,119,0.4); background: rgba(227,184,119,0.10);
  color: var(--sand); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.subhero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }

.subhero-title {
  margin-top: 18px; font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; color: #fff;
}
.subhero-title .it { font-style: italic; color: var(--sand); }

.subhero-lead { margin-top: 16px; max-width: 62ch; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.86); }
.subhero .ph-actions { margin-top: 26px; }

/* Numbered / icon tiles in the warmer palette */
.info-icon { background: var(--green-dark); color: var(--sand); }

/* Spendenstufen – elegante Palette (creme → sand → grün) */
.stufe-basis { border-color: #e6dcc8; }
.stufe-basis .s-hd { background: #f5efe3; }
.stufe-basis .s-badge { background: #e7dcc4; color: #6b5526; }
.stufe-basis .s-ha, .stufe-basis .s-total { color: #6b5526; }

.stufe-empf { border-color: var(--sand); }
.stufe-empf .s-hd { background: #faf0db; }
.stufe-empf .s-badge { background: var(--sand); color: #5b3f12; }
.stufe-empf .s-ha, .stufe-empf .s-total { color: #8a6418; }

.stufe-unts { border-color: var(--green-mid); border-width: 2px; }
.stufe-unts .s-hd { background: var(--green-dark); }
.stufe-unts .s-badge { background: var(--sand); color: #2a1c06; }
.stufe-unts .s-ha { color: var(--sand); }
.stufe-unts .s-total { color: #fff; }

.rec-pill { background: var(--sand); color: #2a1c06; }

.pay-icon.bar { background: #faf0db; }
.pay-icon.bank { background: var(--green-pale); }
.bar-color { color: #8a6418; }
.bank-color { color: var(--green-mid); }

/* Side highlight uses the same deep green as elsewhere */
.side-highlight { background: linear-gradient(165deg, #234d12, var(--hero-deep)); }
.side-highlight p { color: #cfe2bb; }

/* Calculator card hero -> consistent deep green */
.calc-hero { background: linear-gradient(165deg, #234d12 0%, var(--hero-deep) 80%); }
.calc-tag { color: var(--sand); border-color: rgba(227,184,119,0.3); background: rgba(227,184,119,0.12); }
.calc-title { color: #fff; }
.calc-divider { background: var(--sand); }

/* Flight-calc result accents -> sand */
.fresult { background: linear-gradient(165deg, #234d12 0%, var(--hero-deep) 80%); }
.fresult.secondary { background: #faf0db; border-color: var(--sand); color: #5b3f12; }
.ffield-label .fl-value { background: #faf0db; color: #8a6418; }
input[type="range"]::-webkit-slider-thumb { background: var(--green-dark); }
input[type="range"]::-moz-range-thumb { background: var(--green-dark); }
.fradio.checked { background: var(--green-dark); border-color: var(--green-dark); color: var(--sand); }

/* SVG icons replace emojis */
.info-icon svg { width: 24px; height: 24px; }
.pay-icon svg { width: 15px; height: 15px; }
.pay-icon.bar { color: #8a6418; }
.pay-icon.bank { color: var(--green-mid); }
