/* uVision | 3D Visualisierung – Stylesheet
   Farben aus dem Logo (Verlauf Hellblau -> Blau), Schriften lokal (fonts/), sonst Systemschrift. */

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat"), url("../fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: local("Source Sans 3"), url("../fonts/SourceSans3-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #16191d;
  --ink-2: #2b3138;
  --muted: #5d6773;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-dark: #0f1418;
  --brand: #00a9e6;
  --brand-deep: #0058a6;
  --brand-grad: linear-gradient(135deg, #00b4eb 0%, #0058a6 100%);
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 10px 30px rgba(15, 20, 24, .08);
  --shadow-l: 0 24px 60px rgba(15, 20, 24, .16);
  --max: 1200px;
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .8rem; border-radius: var(--radius-s);
  font-family: var(--font-head); font-size: .92rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}
.main-nav a:hover { color: var(--brand-deep); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--brand-deep); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .35em; opacity: .6; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow); padding: .4rem !important;
  display: none !important; flex-direction: column; align-items: stretch !important;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex !important; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
/* border-box: Verlauf auch unter dem transparenten Rand, sonst wiederholt er sich dort (Kanten links/rechts) */
.btn-primary { background: var(--brand-grad) border-box; color: #fff; box-shadow: 0 8px 22px rgba(0, 120, 200, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(0, 120, 200, .36); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { color: var(--brand-deep); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { color: #fff; background: rgba(255,255,255,.12); }
.btn-small { padding: .55rem 1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--bg-dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,18,.82) 0%, rgba(10,14,18,.55) 42%, rgba(10,14,18,.05) 75%),
    linear-gradient(0deg, rgba(10,14,18,.55) 0%, rgba(10,14,18,0) 45%);
}
.hero-content { position: relative; z-index: 1; padding: 8rem 0 5rem; max-width: 640px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem;
}
.hero .eyebrow { color: #7fd6ff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.hero-rating { margin-top: 2rem; display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.stars { color: #ffc940; letter-spacing: 2px; }

.page-hero { background: var(--bg-soft); padding: 5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; }

.trust {
  border-bottom: 1px solid var(--line); padding: 1.4rem 0;
  font-family: var(--font-head); font-size: .85rem; color: var(--muted);
}
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; }
.trust strong { color: var(--ink-2); font-weight: 600; }
.trust .label { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-grad);
  display: grid; place-items: center; margin-bottom: 1.2rem; color: #fff;
}
.card .icon svg { width: 24px; height: 24px; }
.card-link { display: inline-flex; gap: .4rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }

.area-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.area-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.area-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.area-card:hover .media img { transform: scale(1.04); }
.area-card .body { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.area-card .body .card-link { margin-top: auto; padding-top: 1rem; }
.tag-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-list li { font-size: .8rem; background: var(--bg-soft); border-radius: 999px; padding: .2rem .7rem; color: var(--muted); }

/* Platzhalter, bis echte Bilder geliefert werden */
.placeholder {
  width: 100%; height: 100%; min-height: 200px;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,180,235,.18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(0,88,166,.18), transparent 50%),
    #e9eef3;
  color: #6f7c89; font-family: var(--font-head); font-size: .85rem; font-weight: 500;
}
.placeholder::before { content: "◇"; display: block; font-size: 1.8rem; color: var(--brand); margin-bottom: .3rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.check-list li::after {
  content: ""; position: absolute; left: .38rem; top: .56em; width: .38rem; height: .62rem;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.section-dark .check-list li { color: rgba(255,255,255,.85); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 500;
}
.g-wide { grid-column: span 4; grid-row: span 2; }
.g-tall { grid-column: span 2; grid-row: span 2; }
.g-std { grid-column: span 2; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step::after { content: ""; position: absolute; top: 1.2rem; left: 4.2rem; right: -1rem; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.section-dark .step::after { background: rgba(255,255,255,.15); }

/* ---------- Testimonials ---------- */
.quotes { columns: 3 320px; column-gap: 1.5rem; }
.quote {
  break-inside: avoid; margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
}
.quote blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--ink-2); }
.quote blockquote::before {
  content: "“"; display: block; font-family: Georgia, serif; font-size: 3.2rem; line-height: .6;
  margin-bottom: .6rem; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

/* ---------- KI ---------- */
.ki-visual {
  position: relative; border-radius: var(--radius); padding: 2rem; min-height: 340px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,180,235,.35), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(0,88,166,.45), transparent 55%),
    #121a21;
  border: 1px solid rgba(255,255,255,.08); overflow: hidden;
}
.ki-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; position: relative; z-index: 1; }
.ki-flow li {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  color: #fff; font-family: var(--font-head); font-size: .92rem; font-weight: 500;
}
.ki-flow li span {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-grad); font-size: .8rem; font-weight: 700;
}
.ki-flow li small { display: block; color: rgba(255,255,255,.6); font-family: var(--font-body); font-weight: 400; font-size: .82rem; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.78); }
.section-dark .card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.stat strong {
  display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; line-height: 1.1;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Price tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-soft); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.price-table td small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.price-todo { color: #b06d00; background: #fff4df; border-radius: 6px; padding: .1rem .5rem; font-size: .85rem; }
.price-block + .price-block { margin-top: 3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-list .icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-grad); display: grid; place-items: center; color: #fff; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list a { font-size: 1.1rem; text-decoration: none; color: var(--ink); }

.cta-band {
  background: var(--brand-grad); color: #fff; border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 52ch; }
.cta-band .btn-white { background: #fff; color: var(--brand-deep); }
.cta-band .btn-white:hover { color: var(--brand-deep); box-shadow: 0 10px 26px rgba(0,0,0,.2); }

/* ---------- Prose (Rechtstexte) ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: #fff4df; border-left: 4px solid #f0a020; padding: 1rem 1.2rem; border-radius: 6px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.65); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.2rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* ---------- Reveal ---------- */
/* nur mit JavaScript ausblenden – ohne JS bleibt alles sichtbar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  /* backdrop-filter würde das fixierte Menü an den Header binden */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; padding: 1.5rem 1.25rem;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s; overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .25s; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; display: flex !important; border: 0; box-shadow: none; padding: 0 0 0 1rem !important; }
  .has-sub > a::after { display: none; }
  .main-nav .btn { margin-top: 1.2rem; border-bottom: 0; border-radius: 999px; padding: .9rem 1.4rem; color: #fff; justify-content: center; }
  .header-cta { display: none; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2, .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; grid-row: span 2; }
  .g-tall, .g-std { grid-column: span 1; grid-row: span 1; }
}
@media (min-width: 901px) { .mobile-only { display: none !important; } }
@media (max-width: 560px) {
  .grid-4, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 6rem 0 3.5rem; }
  .price-table th, .price-table td { padding: .8rem 1rem; }
  .card { padding: 1.5rem; }
}
