/* Lokalform — Design System
   Palette: Tiefes Grün #2F6F5E · Gold #D9A441 · Off-White #F7F5F0 · Ink #1F2933
   Typo: Manrope (Headlines) · Source Sans 3 (Body)
   Ruhig, viel Weissraum, dezente Animationen. */

:root {
  --green: #2F6F5E;
  --green-deep: #1E4A3E;
  --green-ink: #14201C;
  --gold: #D9A441;
  --gold-soft: #E7C67E;
  --cream: #F7F5F0;
  --cream-2: #EFEBE2;
  --ink: #1F2933;
  --ink-soft: #45535E;
  --line: #E2DDD2;
  --white: #FFFFFF;

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20,32,28,.06), 0 8px 24px rgba(20,32,28,.05);
  --shadow-md: 0 2px 6px rgba(20,32,28,.08), 0 24px 60px rgba(20,32,28,.10);
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff-head: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;
  --ff-body: "Source Sans 3", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--green); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.center .eyebrow { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  min-height: 52px; line-height: 1;
}
.btn--primary { background: var(--green); color: var(--cream); box-shadow: 0 10px 24px rgba(47,111,94,.28); }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,111,94,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-ink); box-shadow: 0 10px 24px rgba(217,164,65,.32); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #08351b; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn--wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; min-height: 58px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.82); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20,32,28,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--ff-head); font-weight: 500; font-size: .97rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--green); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; width: 44px; height: 44px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__toggle { display: block; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--1 { background: radial-gradient(circle, rgba(47,111,94,.28), transparent 70%); top: -220px; right: -120px; }
.hero__glow--2 { background: radial-gradient(circle, rgba(217,164,65,.22), transparent 70%); bottom: -260px; left: -160px; }
.hero .container { position: relative; z-index: 1; }
.hero__inner { padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 8vw, 104px); max-width: 800px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--green); }
.hero__sub { font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--ink-soft); max-width: 620px; margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 2.4rem; color: var(--ink-soft); font-size: .96rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero__meta svg { color: var(--green); flex: none; }

.price-badge {
  display: inline-flex; align-items: baseline; gap: .35em;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-family: var(--ff-head); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem;
}
.price-badge b { font-size: 1.15rem; color: var(--green); font-weight: 800; }
.price-badge small { color: var(--ink-soft); font-weight: 500; }

/* Sections tint */
.tint-cream2 { background: var(--cream-2); }
.tint-white { background: var(--white); }
.dark { background: var(--green-ink); color: var(--cream); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.dark p, .dark .muted { color: rgba(247,245,240,.72); }
.dark .eyebrow { color: var(--gold-soft); }

/* Grid & cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D5CFC0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(47,111,94,.1);
  display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: 1rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.step__num {
  font-family: var(--ff-head); font-weight: 800; font-size: 1.05rem; color: var(--green);
  width: 44px; height: 44px; border-radius: 50%; background: var(--cream);
  border: 1.5px solid var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { margin-bottom: .3em; }
.step p { margin-bottom: 0; font-size: 1rem; }
.step__time { display: inline-block; margin-top: 14px; font-family: var(--ff-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--gold); background: rgba(217,164,65,.12); padding: 5px 12px; border-radius: 999px; }

/* Feature list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.checklist svg { flex: none; margin-top: 3px; color: var(--green); }
.dark .checklist li { color: rgba(247,245,240,.9); }
.dark .checklist svg { color: var(--gold-soft); }

/* Pricing */
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 44px;
  box-shadow: var(--shadow-md); max-width: 560px; margin: 0 auto; position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.price-card__amount { font-family: var(--ff-head); font-weight: 800; font-size: clamp(3rem, 8vw, 4.4rem); color: var(--ink); line-height: 1; }
.price-card__amount span { font-size: 1.4rem; color: var(--green); vertical-align: super; }
.price-card__note { color: var(--ink-soft); font-family: var(--ff-head); font-weight: 600; }

/* Portfolio / demo cards */
.demo-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.demo-card__shot { aspect-ratio: 16/11; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.demo-card__shot span.tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(20,32,28,.82); color: var(--cream); font-family: var(--ff-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.demo-card__body { padding: 24px 26px 28px; }
.demo-card__body h3 { margin-bottom: .25em; }
.demo-card__body p { margin-bottom: 14px; font-size: .98rem; }
.demo-card__body .link { font-family: var(--ff-head); font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .4em; }
.demo-card:hover .link { gap: .7em; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--ff-head); font-weight: 600; font-size: 1.1rem; padding: 20px 40px 20px 0; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--green); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.22), transparent 70%); filter: blur(80px); top: -180px; right: -80px; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--ink-soft); }

/* Contact info tiles */
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-tile:last-child { border-bottom: 0; }
.contact-tile .ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(47,111,94,.1); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-tile h4 { font-family: var(--ff-head); margin: 0 0 3px; font-size: 1.02rem; }
.contact-tile p { margin: 0; font-size: .97rem; }

/* Placeholder marker */
.placeholder { background: rgba(217,164,65,.16); border-bottom: 1px dashed var(--gold); padding: 0 3px; border-radius: 3px; font-style: normal; }
.note-placeholder { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-family: var(--ff-head); font-weight: 600; color: #9a7420; background: rgba(217,164,65,.14); border: 1px dashed var(--gold); border-radius: 999px; padding: 5px 12px; }

/* Footer */
.site-footer { background: var(--green-ink); color: rgba(247,245,240,.72); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer img { height: 32px; margin-bottom: 18px; }
.site-footer h5 { font-family: var(--ff-head); color: var(--cream); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(247,245,240,.72); font-size: .97rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(247,245,240,.12); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }
.footer-desc { max-width: 320px; font-size: .97rem; line-height: 1.6; }

/* Reveal animation — ohne JS sichtbar (progressive enhancement) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 120px) 0 clamp(40px, 5vw, 64px); background: var(--cream); }
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,94,.16), transparent 70%); filter: blur(80px); top: -220px; right: -140px; }
.page-hero .container { position: relative; z-index: 1; max-width: 780px; }
.page-hero p { font-size: clamp(1.08rem, 2vw, 1.28rem); }

.big-num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--green); line-height: 1; }
.stat { text-align: center; }
.stat p { margin: 6px 0 0; font-size: .95rem; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
