/* =========================================================
   Küchenstudio-Terminwerk – Landingpage
   Schriften: Poppins (Überschriften), Raleway (Text)
   Lokal gehostet – kein Google-Fonts-CDN (DSGVO)
   ========================================================= */

/* ---------- Lokale Schriften ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/raleway-var.woff2') format('woff2');
}

:root {
  /* Farbpalette */
  --pistazie:  #93c572;
  --orange:    #FF7F00;
  --gelb:      #fff000;
  --ultramarin:#4166f5;
  --blau:      #0071A1;   /* Standardfarbe Überschriften */

  --ink:       #1f2a30;   /* Fließtext */
  --muted:     #5c6b73;   /* gedämpfter Text */
  --line:      #e4eaed;   /* Rahmen / Linien */
  --bg:        #ffffff;
  --bg-alt:    #f4f8fa;   /* helle Sektion */
  --bg-dark:   #073447;   /* dunkler Akzent (aus Blau abgeleitet) */

  --shadow:    0 10px 30px rgba(7, 52, 71, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 52, 71, 0.14);
  --radius:    16px;
  --radius-sm: 10px;

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Raleway', system-ui, sans-serif;

  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blau);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--ultramarin); text-decoration: none; }
strong { color: var(--ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin: 0 0 48px; }
.section-intro { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; }
.section-head.center, .cta-final .container { margin-left: auto; margin-right: auto; }

.kicker, .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 36px; font-size: 1.1rem; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,127,0,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,127,0,.36); color: #fff; }

.btn-ghost { background: transparent; color: var(--blau); border-color: var(--blau); }
.btn-ghost:hover { background: var(--blau); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blau);
}
.logo span { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .98rem; }
.main-nav a:hover { color: var(--blau); }
.main-nav a.btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--blau); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(147,197,114,.20), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(65,102,245,.10), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }

.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 0;
  margin: 26px 0 30px;
}
.pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blau);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pistazie);
  color: #fff;
  font-size: .85rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(145deg, var(--blau), var(--pistazie)) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---------- Platzhalter / Bilder ---------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--pistazie), var(--blau));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.placeholder small { font-weight: 400; opacity: .85; }
.placeholder-portrait { aspect-ratio: 4 / 5; width: 100%; }
.portrait-img { width: 100%; height: auto; display: block; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  --accent: var(--orange);
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}

/* Benefit / nummerierte Karten */
.benefit h3 { display: flex; align-items: baseline; gap: 10px; }
.benefit-no {
  font-size: .95rem;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-head);
}

/* ---------- Ablauf ---------- */
.ablauf-blocks { margin-bottom: 44px; }

.flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 56px;
}
.flow-step {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blau);
  box-shadow: var(--shadow);
}
.flow-no {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ultramarin);
  color: #fff;
  font-size: .9rem;
  flex: none;
}
.flow-step-final { background: var(--pistazie); color: #fff; border-color: transparent; }
.flow-step-final .flow-no { background: #fff; color: var(--pistazie); }
.flow-arrow { align-self: center; color: var(--ultramarin); font-size: 1.4rem; font-weight: 700; }
.abfolge-img { width: 100%; height: auto; display: block; margin: 8px 0 56px; border-radius: var(--radius); }

.prose { max-width: 800px; }
.prose h3 { margin-top: 8px; }
.prose p { color: var(--muted); }

/* ---------- Warum-Highlight ---------- */
.why-highlight {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--ultramarin);
  padding: 28px 32px;
  margin: 28px 0;
}
.why-highlight h4 {
  font-size: 1.1rem;
  color: var(--blau);
  margin: 6px 0 14px;
}
.why-highlight p { color: var(--muted); margin-bottom: 0; }
.why-highlight p + p { margin-top: 12px; }

/* ---------- Vergleichsraster ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.compare-card {
  border-radius: var(--radius);
  padding: 26px 28px;
  border: 1px solid var(--line);
}
.compare-card--good {
  background: color-mix(in srgb, var(--pistazie) 10%, #fff);
  border-color: var(--pistazie);
}
.compare-card--bad {
  background: color-mix(in srgb, var(--orange) 8%, #fff);
  border-color: #ffd4a8;
}
.compare-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blau);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-card ul li {
  color: var(--muted);
  font-size: .95rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.compare-card--good ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pistazie);
  font-weight: 700;
}
.compare-card--bad ul li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Steps (Vorgehen) ---------- */
.step { position: relative; padding-top: 34px; }
.step-no {
  position: absolute;
  top: -22px; left: 28px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--blau);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; text-align: center; }
.price-tag {
  align-self: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blau);
  background: var(--bg-alt);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.price-tag-featured { background: var(--gelb); color: #5a4a00; }
.price-card h3 { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--orange);
  margin: 6px 0 18px;
}
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.price-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.price-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 9px;
  color: var(--pistazie);
  font-weight: 700;
}
.price-featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-summary {
  text-align: center;
  max-width: 680px;
  margin: 40px auto 30px;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- Über ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-media {
  max-width: 360px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(145deg, var(--blau), var(--pistazie)) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.about-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}
.about-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--pistazie);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
}
.faq-q h3 { margin: 0; font-size: 1.08rem; color: var(--blau); }
.faq-icon {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--orange);
  border-radius: 2px;
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after  { width: 2.5px; height: 14px; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Abschluss-CTA ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--blau), var(--bg-dark));
  color: #fff;
}
.cta-final h2 { color: #fff; }
.cta-final .lead { color: rgba(255,255,255,.88); max-width: 56ch; margin: 0 auto 30px; }
.cta-note { margin-top: 16px; color: var(--gelb); font-family: var(--font-head); font-weight: 600; }

/* ---------- Impressum / Datenschutz ---------- */
.legal-content { padding: 72px 0 100px; max-width: 760px; }
.legal-content h1 { margin-bottom: 48px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 44px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 6px; color: var(--ink); }
.legal-content p { color: var(--muted); }
.legal-content ul { padding-left: 22px; color: var(--muted); }
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { color: var(--ultramarin); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blau); font-weight: 600; font-family: var(--font-head); font-size: .95rem; }
.back-link:hover { text-decoration: underline; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-dark);
  border-top: 3px solid var(--orange);
  padding: 18px 24px;
}
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}
.cookie-text strong { color: #fff; }
.cookie-link {
  color: var(--gelb);
  text-decoration: underline;
  margin-left: 6px;
  white-space: nowrap;
}
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn-ghost {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.35);
}
.cookie-banner .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-direction: column; }
}

/* ---------- Cookie-Modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,52,71,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.cookie-modal-title {
  font-size: 1.25rem;
  color: var(--blau);
  margin: 0 0 10px;
}
.cookie-modal-intro {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 24px;
}
.cookie-category {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-cat-text strong {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.cookie-cat-text p {
  color: var(--muted);
  font-size: .88rem;
  margin: 4px 0 0;
  line-height: 1.45;
}
.cookie-always {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--pistazie);
  white-space: nowrap;
  flex: none;
}

/* Toggle-Schalter */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: none;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: #ccd5da;
  border-radius: 26px;
  transition: background .2s;
}
.cookie-toggle-track::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--orange); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(20px); }
.cookie-toggle input:focus-visible + .cookie-toggle-track { outline: 2px solid var(--ultramarin); outline-offset: 2px; }

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .cookie-modal-box { padding: 24px 18px 20px; }
  .cookie-modal-actions { flex-direction: column-reverse; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.8); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: .95rem; }
.footer-links a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { max-width: 320px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price-featured { transform: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 8px 0; }
  .main-nav a.btn { margin-top: 8px; }

  .flow { flex-direction: column; align-items: stretch; }
  .flow-arrow { transform: rotate(90deg); }
  .compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { font-size: 17px; }
  .container { padding: 0 18px; }
}
