/* webnaro showcase — webnaro brand style.
   Palette taken from the live webnaro CSS: cyan/turquoise + yellow accent on
   white, dark-navy text. Font: Open Sans, self-hosted woff2 (NO Google CDN ->
   DSGVO-clean, no IP leak to a font provider). */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/open-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/open-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/open-sans-700.woff2") format("woff2");
}

:root {
  /* Hybrid-warm direction: warm off-white canvas, navy ink, cyan as a
     structural accent (links/icons/widget/section accents — never large
     surfaces), yellow only as a micro-accent. */
  --bg: #faf6f0;            /* warm off-white canvas */
  --bg-alt: #f5efe6;        /* warm alt section bg (large surfaces) */
  --tint: #eaf7fb;          /* light cyan — SMALL accent surfaces only (icons, chat, suggest) */
  --tint-2: #f4fbfd;
  --surface: #ffffff;
  --navy: #0c2039;          /* text / headings / dark sections */
  --muted: #5b6472;         /* muted warm-navy gray */
  --primary: #33bdd9;       /* brand cyan */
  --primary-2: #55c4da;
  --cyan-bright: #2fc1ff;
  --cyan-light: #72d7ed;
  --teal: #1a6c7a;          /* deep teal — links, accents, button hover */
  --teal-dark: #145763;
  --accent: #ffe22f;        /* brand yellow — kept only as a small accent (step badges) */
  --accent-strong: #f2d000;
  /* Primary call-to-action: cyan-filled with navy text (accessible, on-brand).
     Reversible via these three vars (e.g. navy-filled: --cta: var(--navy); --cta-text:#fff). */
  --cta: #33bdd9;
  --cta-hover: #28a8c4;
  --cta-text: #0c2039;
  --border: #e7ddcd;        /* warm border */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 32, 57, 0.08);
  --shadow-lg: 0 18px 44px rgba(12, 32, 57, 0.14);
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--navy); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.2; color: var(--navy); }
a { color: var(--teal); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* The [hidden] attribute must win over component display rules (flex/grid/etc.). */
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--cta); color: var(--cta-text); box-shadow: 0 6px 18px rgba(26, 108, 122, .28); }
.btn-accent:hover { background: var(--cta-hover); box-shadow: 0 10px 24px rgba(26, 108, 122, .36); }
.btn-ghost { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem;
}
.brand-name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; }
.site-nav a:hover { color: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; background: linear-gradient(160deg, #fffdf9 0%, var(--bg-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 48px; align-items: center; }
/* The static demo card is a secondary illustration, not the hero's focal point. */
.hero-demo { width: 100%; max-width: 360px; margin-left: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 700;
  color: var(--teal); margin: 0 0 12px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; letter-spacing: -.015em; }
.lead { font-size: 1.18rem; color: var(--navy); margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.trust-line { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Static demo card (non-interactive illustration) ---------- */
.demo-card {
  background: var(--surface); border: 1px solid var(--border);
  border-top-left-radius: 0; border-top-right-radius: 0;
  border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
}
.demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; }
.demo-head strong { display: block; font-size: 1.05rem; }
.demo-sub { font-size: .8rem; opacity: .9; }
.demo-avatar {
  flex: 0 0 auto; width: 44px; height: 44px;
  background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 2px 6px rgba(12, 32, 57, .18);
}
.demo-avatar img { width: 100%; height: 100%; display: block; }
.demo-flow { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.demo-step { position: relative; padding: 12px 14px 12px 16px; border-radius: 14px; border-left: 3px solid var(--border); background: #fff; }
.demo-step .demo-lab {
  display: block; text-transform: uppercase; letter-spacing: .06em;
  font-size: .68rem; font-weight: 700; color: var(--muted); margin-bottom: 4px;
}
.demo-step p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--navy); }
.demo-in { border-left-color: var(--muted); }
.demo-poldi { border-left-color: var(--primary); background: var(--tint); }
.demo-you { border-left-color: #67e0a6; }
.demo-note { margin: 0; padding: 0 18px 16px; font-size: .76rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 14px; max-width: 24ch; letter-spacing: -.01em; }
.section-intro { font-size: 1.1rem; color: var(--muted); max-width: 62ch; margin: 0 0 36px; }
.center { text-align: center; }
.center.section-title, .center.section-intro { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--teal); }
.card p { margin: 0; color: var(--navy); }

/* ---------- Icons ---------- */
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint); color: var(--teal); margin-bottom: 14px;
}
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--primary); color: #fff; transition: background .2s ease, color .2s ease; }

/* ---------- Proof section (Poldi as the live example) ---------- */
.proof { text-align: center; }
.proof .section-title, .proof .section-intro { margin-left: auto; margin-right: auto; }
.proof-poldi {
  width: 120px; height: 120px; border-radius: 50%; display: block; margin: 0 auto 18px;
  background: #fff; box-shadow: 0 8px 24px rgba(12, 32, 57, .12);
}

/* ---------- Use-case illustration ---------- */
.usecase-illu { text-align: center; margin: 0 0 32px; }
.usecase-illu img { width: 100%; max-width: 420px; height: auto; }

/* ---------- Use-case grid ---------- */
.usecases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.usecase {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.usecase .icon { margin: 0 auto 12px; }
.usecase h3 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); }
.usecase p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--navy); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 8px; font-size: 1.18rem; }
.steps p { margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { text-align: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  font-weight: 700; font-size: 1.5rem; color: #fff;
}
.avatar-1 { background: var(--primary); } .avatar-2 { background: var(--teal); } .avatar-3 { background: var(--cyan-bright); }

/* ---------- Pricing ---------- */
.pricing .price-card { display: flex; flex-direction: column; position: relative; }
.price-sub { font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.price-lines { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--border); }
.price-lines li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.price-lines strong { color: var(--teal); font-size: 1.05rem; }
.ideal { margin-top: auto; font-size: .92rem; color: var(--muted); }
.price-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: 14px; right: -2px; background: var(--teal); color: #fff; font-size: .76rem; font-weight: 700; padding: 5px 14px; border-radius: 999px 0 0 999px; }
.ribbon-intro { background: var(--accent-strong); color: var(--navy); }
/* Cards carrying a ribbon get extra top room so it never overlaps the title. */
.pricing .price-card:has(.ribbon) { padding-top: 46px; }
.transparency {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: 10px; padding: 18px 20px; margin: 28px 0 16px; font-size: .96rem;
}
.cost-box {
  background: var(--tint-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; margin-top: 24px;
}
.cost-box h3 { margin: 0 0 10px; color: var(--teal); }
.cost-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.cost-figure { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.cost-figure strong { display: block; font-size: 1.3rem; color: var(--navy); }
.cost-figure span { font-size: .88rem; color: var(--muted); }
.todo {
  display: inline-block; background: var(--accent); color: var(--navy); font-size: .72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle;
}

/* ---------- Badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { background: var(--teal); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: .85rem; font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--navy); color: #fff; }
.cta-final .section-title, .cta-final .section-intro { color: #fff; }
.cta-final .section-intro { opacity: .85; }
.cta-final .muted { color: rgba(255,255,255,.8); margin-top: 18px; }
.cta-final a:not(.btn) { color: var(--cyan-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d2e0; padding: 40px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: #8ea2b8; margin: 6px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-nav a, .linklike { color: #c4d2e0; text-decoration: none; }
.footer-nav a:hover, .linklike:hover { color: #fff; text-decoration: underline; }
.linklike { background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }
.footer-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid #24344b; font-size: .85rem; }
.footer-legal .muted, .site-footer .footer-legal { color: #8ea2b8; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(12,32,57,.1);
  padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: .9rem; max-width: 70ch; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0; }
.legal h1 { font-size: 2rem; margin: 0 0 24px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--teal); }
.legal p, .legal li { color: var(--navy); }
.back-link { display: inline-block; margin-bottom: 24px; }

/* ---------- Hero positioning subline ---------- */
.hero-einordnung {
  font-size: .92rem; color: var(--muted); margin: 14px 0 0; max-width: 52ch;
  border-left: 3px solid var(--primary); padding-left: 12px;
}

/* ---------- Demo label (positioning: illustration, not a customer chatbot) ---------- */
.demo-label {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--teal); color: #fff; border-radius: 12px 12px 0 0;
  padding: 11px 16px; font-size: .82rem; line-height: 1.4;
}
.demo-label .pill {
  flex: 0 0 auto; background: var(--accent); color: var(--navy); font-weight: 700;
  font-size: .72rem; padding: 2px 9px; border-radius: 999px; letter-spacing: .03em;
}

/* ---------- "Agent, kein Chatbot" section ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 24px; }
.contrast-card { border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.contrast-bot { background: var(--surface); }
.contrast-bot h3 { color: var(--muted); }
.contrast-poldi { background: var(--navy); color: #fff; border-color: var(--navy); }
.contrast-poldi h3 { color: #fff; }
.contrast-poldi p { color: rgba(255,255,255,.85); }
.contrast-card h3 { margin: 0 0 8px; font-size: 1.12rem; display: flex; align-items: center; gap: 9px; }
.contrast-card .ci { width: 22px; height: 22px; flex: 0 0 auto; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.point { padding-left: 14px; border-left: 3px solid var(--primary); }
.point strong { display: block; margin-bottom: 4px; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }
.note-line {
  background: var(--tint); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-top: 24px; font-size: .96rem; color: var(--navy);
}
.note-line strong { color: var(--teal); }

/* ---------- Section 6: scenes (3 steps, control-focused) ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 0 20px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.scene:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scene-illu {
  position: relative; height: 92px; background: var(--tint);
  display: grid; place-items: center; border-bottom: 1px solid var(--border);
}
.scene-illu .sit { width: 40px; height: 40px; color: var(--navy); }
.scene-poldi {
  position: absolute; right: 12px; bottom: -16px; width: 40px; height: 40px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(12,32,57,.18);
}
.scene-body { padding: 26px 22px 0; }
.scene h3 { margin: 0 0 14px; font-size: 1.08rem; }
.scene-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scene-steps li { padding-left: 16px; border-left: 3px solid var(--border); }
.scene-steps .lab {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  font-weight: 700; color: var(--muted); margin-bottom: 2px;
}
.scene-steps p { margin: 0; font-size: .92rem; }
.scene-steps .ss-3 { border-left-color: var(--primary); }
.scene-steps .ss-3 .lab { color: var(--teal); }
.scenes-close {
  text-align: center; max-width: 64ch; margin: 32px auto 0; font-size: 1.05rem;
}
.scenes-close strong { color: var(--teal); }

/* ---------- Scroll reveal + micro-interactions ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, .7, .3, 1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .usecases { grid-template-columns: repeat(3, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-demo { max-width: 440px; margin: 0 auto; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .steps, .team-grid, .scenes, .contrast, .points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav a:not(.btn) { display: none; }
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .cost-figures { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .section { padding: 48px 0; }
  .footer-inner { flex-direction: column; }
}

/* ---------- Reduced motion ----------
   Respect the user's preference for less motion, but keep a gentle opacity
   fade so the page still feels alive (no movement, no looping animation). */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .5s ease; }
  .btn:hover, .card:hover, .usecase:hover, .steps li:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* "Andere Zeit anfragen" inline form (final CTA) */
.alt-form {
  max-width: 440px;
  margin: 14px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.alt-form input,
.alt-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink, #1a2238);
  background: #fff;
  border: 1px solid var(--border, #e6ddd1);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.alt-form input:focus,
.alt-form textarea:focus {
  border-color: var(--accent, #0d9aa8);
  box-shadow: 0 0 0 3px rgba(13, 154, 168, .15);
}
.alt-form textarea { resize: vertical; }
.alt-form .btn { align-self: center; }
.alt-ok {
  text-align: center;
  font-weight: 600;
  color: var(--accent, #0d9aa8);
  margin: 4px 0 0;
}
