/* ─────────────────────────── EB-PRO · Leistungs-Unterseiten ─────────────────────────── */
:root {
  --forest-900: #0E261C;
  --forest-800: #15392A;
  --forest:     #1F4E37;
  --forest-50:  #EAF1EC;
  --gold:       #D4A84A;
  --gold-50:    #FBF5E2;
  --paper:      #F6F2E8;
  --paper-2:    #EFE9DB;
  --surface:    #FFFFFF;
  --ink:        #1A1F1B;
  --ink-2:      #4A524C;
  --ink-3:      #7A8079;
  --line:       #E0D9C7;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px; color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.narrow    { max-width: 860px; margin: 0 auto; padding: 0 32px; }

/* ── Header ── */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 232, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: var(--font-serif); line-height: 1; }
.logo .name { font-size: 28px; font-weight: 600; color: var(--forest-800); letter-spacing: -0.01em; white-space: nowrap; }
.logo .tag  { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color 140ms; }
.nav-links a:hover { color: var(--forest); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 500;
  padding: 14px 26px; border-radius: var(--r-pill);
  cursor: pointer; border: 0; transition: all 180ms cubic-bezier(.22,.61,.36,1);
  font-size: 15px; white-space: nowrap;
}
.btn-forest { background: var(--forest); color: #FFF; }
.btn-forest:hover { background: var(--forest-800); }
.btn-gold { background: var(--gold); color: #1A1F1B; }
.btn-gold:hover { background: #E0B85A; }
.btn-header { padding: 12px 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Page hero ── */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 84px 0 64px; }

/* Hero with photo behind the heading */
.page-hero.has-img {
  position: relative; overflow: hidden;
  border-bottom: 0;
  background: var(--forest-900);
  padding: 132px 0 64px;
}
.page-hero.has-img .hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: right center;
}
.page-hero.has-img .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,24,18,0.94) 0%, rgba(10,24,18,0.80) 42%, rgba(14,38,28,0.30) 100%),
    linear-gradient(180deg, rgba(14,38,28,0.45) 0%, rgba(14,38,28,0.20) 40%, rgba(10,24,18,0.80) 100%);
}
.page-hero.has-img .narrow { position: relative; z-index: 1; }
.page-hero.has-img h1.page-title { color: #FFFFFF; max-width: 640px; text-shadow: 0 2px 24px rgba(10,24,18,0.55), 0 1px 3px rgba(10,24,18,0.5); }
.page-hero.has-img .page-sub { color: rgba(255,255,255,0.92); text-shadow: 0 1px 12px rgba(10,24,18,0.6); }
.page-hero.has-img .breadcrumb { color: var(--gold); }
.page-hero.has-img .breadcrumb a { color: rgba(255,255,255,0.62); }
.page-hero.has-img .breadcrumb a:hover { color: #FFFFFF; }
.page-hero.has-img .breadcrumb .sep { color: rgba(255,255,255,0.45); }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--ink-3); transition: color 140ms; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb .sep { color: var(--ink-3); opacity: 0.5; }
.eyebrow-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest);
  background: var(--forest-50); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 22px;
}
/* Obertitel: deutlich kräftiger (bold) als die Section-Überschriften */
h1.page-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.04; letter-spacing: -0.015em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
h1.page-title em { font-style: italic; color: var(--gold); font-weight: 700; }
.page-sub { font-family: var(--font-sans); font-size: 17px; color: var(--ink-2); margin: 20px 0 0; max-width: 640px; line-height: 1.6; }

/* ── Body ── */
main.service-body { padding: 72px 0 96px; }
.service-body section + section { margin-top: 48px; }
.service-body h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 30px; line-height: 1.18; letter-spacing: -0.008em;
  color: var(--forest-800); margin: 0 0 18px;
}
.service-body h3 {
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.04em; color: var(--ink); text-transform: uppercase;
  margin: 28px 0 12px;
}
.service-body p, .service-body li {
  font-family: var(--font-sans); font-size: 16.5px; line-height: 1.72; color: var(--ink-2);
}
.service-body p { margin: 0 0 16px; }
.service-body a.inline { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.service-body a.inline:hover { color: var(--forest-800); }

.lede {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.5; color: var(--ink);
  margin: 0 0 40px; padding: 22px 28px;
  background: var(--surface); border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* Check list */
ul.checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
ul.checks li {
  position: relative; padding-left: 38px; line-height: 1.55;
}
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--forest-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231F8A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Info cards (two-up) */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 16px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 24px;
}
.info-card h4 {
  font-family: var(--font-serif); font-weight: 600; font-size: 22px;
  color: var(--forest-800); margin: 0 0 8px;
}
.info-card p { font-size: 15px; margin: 0; }

/* Fact strip */
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 8px; }
.fact {
  flex: 1 1 160px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px;
}
.fact .n { font-family: var(--font-serif); font-size: 34px; font-weight: 600; color: var(--forest); line-height: 1; }
.fact .l { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }

/* Source note */
.source-note {
  margin-top: 14px; font-size: 13px; color: var(--ink-3);
}
.source-note a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }

/* CTA box */
.cta-box {
  margin-top: 64px;
  background: var(--forest-800); color: #FFFFFF;
  border-radius: var(--r-lg); padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-box h3 { font-family: var(--font-serif); font-weight: 600; font-size: 30px; margin: 0 0 8px; color: #FFFFFF; }
.cta-box p { margin: 0; color: rgba(255,255,255,0.8); font-size: 16px; max-width: 460px; }
.cta-box .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 56px; font-weight: 600; font-size: 14px;
  color: var(--forest); letter-spacing: 0.02em;
}
.back-link:hover { color: var(--forest-800); }

/* ── Footer ── */
footer.site { background: #0A1812; color: rgba(255,255,255,0.55); padding: 36px 0; font-size: 13.5px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand .name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: #FFFFFF; letter-spacing: -0.005em; }
.foot-brand .meta { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a:hover { color: #FFFFFF; }
.foot-rights { text-align: right; }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px;
  z-index: 300; max-width: 560px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(14,38,28,0.22), 0 2px 8px rgba(14,38,28,0.08);
  padding: 26px 28px 24px; font-family: var(--font-sans);
  opacity: 0; transform: translateY(20px);
  transition: opacity 320ms ease, transform 320ms ease; pointer-events: none;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner h3 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; margin: 0 0 10px; color: var(--forest-800); }
.cookie-banner p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 0 18px; }
.cookie-banner p a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.cookie-options { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; padding: 0;
  border-top: 1px solid transparent; border-bottom: 1px solid transparent; max-height: 0; overflow: hidden;
  transition: max-height 320ms ease, padding 320ms ease; }
.cookie-banner.show-options .cookie-options { max-height: 400px; padding: 14px 0; border-top-color: var(--line); border-bottom-color: var(--line); }
.cookie-option { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.cookie-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--forest); margin-top: 2px; flex-shrink: 0; }
.cookie-option input[disabled] { opacity: 0.6; cursor: not-allowed; }
.cookie-option strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 12px 20px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.cookie-actions .btn-text { background: transparent; color: var(--ink-2); padding: 12px 14px; }
.cookie-actions .btn-text:hover { color: var(--forest); background: rgba(0,0,0,0.03); }
.cookie-actions .btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.cookie-actions .btn-ghost:hover { background: var(--forest-50); }
.cookie-actions .accept-all { flex: 1 1 auto; min-width: 160px; }

/* ── Mobile nav toggle ── */
.nav { position: relative; }
.nav-toggle {
  display: none; width: 46px; height: 46px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-md); color: var(--forest-800); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-links .nav-cta-mobile { display: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .btn-header { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { gap: 14px; }
  .nav-links {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: 0 22px 48px rgba(14,38,28,0.18);
    padding: 8px 18px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 14px; padding: 15px 22px; color: #FFF; border-bottom: 0; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .page-hero { padding: 64px 0 48px; }
  .page-hero.has-img { padding: 108px 0 52px; }
  main.service-body { padding: 56px 0 72px; }
  .service-body section + section { margin-top: 40px; }
  .cta-box { margin-top: 48px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-rights { text-align: left; }
}
@media (max-width: 640px) {
  h1.page-title { font-size: 36px; }
  .page-sub { font-size: 16px; }
  .lede { font-size: 19px; padding: 18px 20px; }
  .service-body h2 { font-size: 25px; }
  .info-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 24px; }
  .cta-box h3 { font-size: 25px; }
  .cta-box .cta-actions { width: 100%; }
  .cta-box .cta-actions .btn { flex: 1 1 auto; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 22px 20px 20px; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  h1.page-title { font-size: 31px; }
  .logo .name { font-size: 23px; }
}
