/* ============================================================
   HotSh & Co. — Stylesheet
   Aesthetik: Swiss Corporate, heller Grund, Hairlines,
   Mono-Eyebrows, Gradient nur als Signatur-Akzent.
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* ---- Tokens ---- */
:root {
  /* ===== Aktive Palette: Warmes Papier (Default) =====
     Off-White-Grundton + abgestufte Neutraltöne + erhabene Karten = tonale Tiefe. */
  --bg:        #faf8f4;   /* Papier-Grundton (statt reinem Weiss) */
  --bg-alt:    #f1ede4;   /* tiefere Sektion für Rhythmus */
  --surface:   #fffdf9;   /* erhabene Flächen: Karten, Formular */
  --bg-dark:   #17130e;   /* warmes Tiefschwarz: Footer, CTA */
  --ink:       #1a1713;   /* warmes Near-Black */
  --ink-2:     #6c6358;   /* warmes Sekundärgrau */
  --ink-3:     #9c9485;
  --line:      #e8e1d4;   /* warme Hairline */
  --line-2:    #d8cfbe;
  --shadow-card: 0 1px 2px rgba(45,33,15,.04), 0 14px 32px -20px rgba(45,33,15,.18);

  /* ===== Alternative A — Kühler Stein (architektonisch, techy) =====
     --bg:#f6f7f9; --bg-alt:#eceef2; --surface:#ffffff; --bg-dark:#11141a;
     --ink:#161a21; --ink-2:#5c6470; --ink-3:#8b929e; --line:#e3e6ec; --line-2:#d2d7df;
     --shadow-card: 0 1px 2px rgba(20,30,50,.04), 0 14px 32px -20px rgba(20,30,50,.18);
  */
  /* ===== Alternative B — Neutrales Greige (dezent, sicher) =====
     --bg:#f7f6f3; --bg-alt:#efece6; --surface:#fffffd; --bg-dark:#15140f;
     --ink:#1b1a16; --ink-2:#67635a; --ink-3:#979289; --line:#e7e3db; --line-2:#d6d2c8;
     --shadow-card: 0 1px 2px rgba(40,35,20,.04), 0 14px 32px -20px rgba(40,35,20,.18);
  */

  --grad: linear-gradient(120deg, #ff2d9b 0%, #c026d3 50%, #4f46e5 100%);
  --pink: #ff2d9b;
  --indigo: #4f46e5;

  --font-display: 'Archivo', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---- Typo ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
p  { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }

/* Eyebrow — Mono-Label mit Gradient-Tick */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  display: inline-block;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; background-size: 160% 160%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(192,38,211,.55); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; }

/* Textlink mit Gradient-Underline */
.tlink {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding-bottom: 2px; background-image: var(--grad);
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s ease;
}
.tlink:hover { background-size: 100% 2px; }
.tlink svg { width: 14px; height: 14px; transition: transform .2s ease; }
.tlink:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Gescrollt: klarer heller Hintergrund, feine Linie + dezenter Schatten. */
.site-header.scrolled {
  background: rgba(250,248,244,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(20,22,27,.45);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 1.5rem;
  transition: height .3s ease;
}
/* Nur Desktop kompakter; Mobilmenue haengt an 74px (nicht antasten). */
@media (min-width: 901px) {
  .site-header.scrolled .nav { height: 62px; }
}
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -26px;
  width: 100%; height: 2px; background: var(--grad);
}
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav__burger span {
  position: absolute; left: 9px; width: 24px; height: 2px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
/* Hero als echte Zweiteilung: Text in der Content-Breite links,
   Bild als Full-Bleed-Flaeche rechts (Viewport-Mitte bis 100vw,
   ueber die gesamte Hero-Hoehe). overflow-hidden verhindert
   horizontales Scrollen durch die 50vw-Bildflaeche. */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(620px, 78vh, 760px);
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero > .wrap { width: 100%; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__body { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__meta {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.hero__meta .stat strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; display: block; }
.hero__meta .stat span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
/* Reservierte rechte Grid-Spalte haelt den Text links; das Bild liegt
   absolut darueber und reicht bis an den rechten Viewport-Rand. */
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 50vw; margin: 0; overflow: hidden;
  /* Reveal beim Laden: leicht von rechts einfahren + aufblenden. */
  animation: heroReveal .85s cubic-bezier(.22, .61, .36, 1) both;
}
.hero__media img {
  width: 100%;
  /* Etwas hoeher als der Rahmen, damit der Parallax-Versatz keine
     Kanten freilegt. Der vertikale Versatz wird per JS gesetzt. */
  height: calc(100% + 80px); margin-top: -40px;
  object-fit: cover; object-position: 50% 30%;
  border-radius: 0; aspect-ratio: auto; background: var(--bg-alt);
  will-change: transform;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none; }
  .hero__media img { transform: none !important; }
}

/* ---- Scroll-Indikator (nur Hero, dezent) ---- */
.hero__scroll {
  position: absolute; z-index: 2;
  bottom: clamp(1rem, 3vh, 2rem); left: 25vw; transform: translateX(-50%);
  color: var(--ink-3);
}
.hero__scroll-mouse {
  display: block; width: 24px; height: 38px;
  border: 2px solid currentColor; border-radius: 12px; opacity: .5;
  position: relative;
}
.hero__scroll-mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 4px; height: 7px; border-radius: 2px; background: currentColor;
  transform: translateX(-50%);
  animation: heroScrollDot 1.9s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  25%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 11px); }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll-mouse::after { animation: none; } }
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* ---- Trust Bar ---- */
.trust { border-block: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 1.4rem; }
.trust__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.trust__items { display: flex; gap: 2.2rem; flex-wrap: wrap; align-items: center; }
.trust__items span { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; display: inline-flex; align-items: center; gap: .5rem; }
.trust__items svg { width: 18px; height: 18px; color: var(--indigo); }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.shead { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead h2 { margin-bottom: 1rem; }

/* ---- Problem Grid ---- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prob {
  padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.prob__icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-alt); margin-bottom: 1.1rem; color: var(--ink);
}
.prob__icon svg { width: 22px; height: 22px; }
.prob h3 { margin-bottom: .5rem; }
.prob p { font-size: 0.95rem; }

/* ---- Pillars / Services ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar {
  padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.pillar:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 1px 2px rgba(45,33,15,.05), 0 22px 44px -22px rgba(45,33,15,.28); }
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .2s ease;
}
.pillar:hover::before { opacity: 1; }
.pillar__icon { width: 48px; height: 48px; color: var(--indigo); margin-bottom: 1.3rem; }
.pillar__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.pillar h3 { margin-bottom: .7rem; }
.pillar p { font-size: 0.96rem; margin-bottom: 1.3rem; }
.pillar ul { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.pillar li { font-size: 0.9rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: flex-start; }
.pillar li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .55rem; border-radius: 50%; background: var(--grad); }

/* ---- Split: Warum wir ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
/* Grossflaechige Split-Variante (nur Startseite). Bild bekommt mehr Praesenz
   und fuellt die Hoehe der Textspalte, statt wie eine kleine Karte zu wirken. */
.split--feature { align-items: stretch; }
.split__media--feature { display: flex; }
.split__media--feature img {
  aspect-ratio: auto; height: 100%;
  min-height: clamp(360px, 38vw, 540px);
  object-position: 50% 35%;
}
.split__body h2 { margin-bottom: 1.2rem; }
.split__body .lead { margin-bottom: 1.6rem; }
.split__list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.split__list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.split__list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--indigo); margin-top: 2px; }

/* ---- Pricing ---- */
.price-wrap { display: flex; justify-content: center; }
.price {
  max-width: 460px; width: 100%; border: 1px solid var(--line-2); border-radius: 18px;
  padding: 2.6rem; background: var(--surface); position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(45,33,15,.05), 0 30px 60px -28px rgba(45,33,15,.32);
}
.price::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.price__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.price__amount { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .4rem; }
.price__amount strong { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.price__amount span { color: var(--ink-2); font-size: 1rem; }
.price__sub { color: var(--ink-2); margin-bottom: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.price ul { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.price li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.price li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--indigo); margin-top: 1px; }
.price .btn { width: 100%; justify-content: center; }

/* ---- Process ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); position: relative; background: var(--surface); box-shadow: var(--shadow-card); }
.step__num { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); margin-bottom: 1.2rem; letter-spacing: .1em; }
.step__num b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.5rem; font-weight: 600; }
.step h3 { margin-bottom: .6rem; }
.step p { font-size: .95rem; }

/* ---- Testimonial ---- */
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 2rem; }
.quote__by { display: inline-flex; align-items: center; gap: 1rem; }
.quote__by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--bg-alt); }
.quote__by div { text-align: left; }
.quote__by strong { display: block; font-size: .95rem; }
.quote__by span { font-size: .85rem; color: var(--ink-2); }

/* ---- FAQ Teaser / Accordion ---- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; color: var(--ink); position: relative; letter-spacing: -.01em;
}
.faq-q::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px;
  transform: translateY(-50%); transition: transform .3s ease;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 1.5rem; max-width: 64ch; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h3 { margin-bottom: 1rem; font-size: 1rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }

/* ---- CTA Band ---- */
.cta-band { background: var(--bg-dark); color: #fff; border-radius: 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.6); margin-top: .6rem; }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 800px; margin-inline: auto; }
.member { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--bg-alt); }
.member__body { padding: 1.6rem; }
.member__role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: .5rem; }
.member h3 { margin-bottom: .6rem; }
.member p { font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.value__icon { width: 40px; height: 40px; color: var(--indigo); margin-bottom: 1rem; }
.value h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.value p { font-size: .95rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info .eyebrow { margin-top: 2.2rem; }
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-channels { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.channel { display: flex; gap: 1rem; align-items: flex-start; }
.channel__icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink); }
.channel__icon svg { width: 20px; height: 20px; }
.channel strong { display: block; font-size: .95rem; }
.channel a, .channel span { color: var(--ink-2); font-size: .95rem; }
.channel a:hover { color: var(--indigo); }

.form { border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--surface); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: .8rem; color: var(--ink-3); margin-top: 1rem; text-align: center; }
.form__alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: .92rem; }
.form__alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form__alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   PAGE HEADER (Unterseiten)
   ============================================================ */
.page-head { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.page-head .lead { max-width: 52ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; margin-bottom: 1rem; }
.footer-brand .wordmark .h { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand p { font-size: .92rem; max-width: 30ch; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-size: .78rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.6); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Hero gestapelt: Bild unter dem Text, volle Breite, kein Full-Bleed. */
  .hero { display: block; min-height: 0; padding-block: clamp(2.5rem, 7vw, 4rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { position: static; width: auto; margin-top: 2rem; order: 2; }
  .hero__media img {
    height: clamp(320px, 56vw, 460px); margin-top: 0; aspect-ratio: auto;
    object-position: 50% 30%; border-radius: var(--radius);
  }
  .prob-grid, .pillars, .steps, .values { grid-template-columns: 1fr; }
  .split, .split--rev .split__media, .contact-grid { grid-template-columns: 1fr; }
  .split--feature { align-items: stretch; }
  .split__media--feature img { min-height: clamp(300px, 60vw, 440px); height: auto; }
  .split--rev .split__media { order: -1; }
  .team { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 2rem; transform: translateY(-120%); transition: transform .35s ease;
    height: calc(100vh - 74px);
  }
  body.menu-open .nav__links { transform: none; }
  .nav__links a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a.active::after { display: none; }
  .nav__cta .btn { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .hero__meta { gap: 1.5rem; }
}

/* ============================================================
   LOESUNGEN / DIENSTLEISTUNGEN — additive, scoped Klassen
   Genutzt von index.html und dienstleistungen.html. Aendert KEINE
   Basisklassen (.pillar etc.), damit services.js unberuehrt bleibt.
   ============================================================ */
/* Loesungs-Saeulen: gleich hohe Karten, CTA buendig unten */
.solutions .pillar { display: flex; flex-direction: column; }
.pillar__cta { margin-top: auto; }

/* Add-on-Badge auf einer Saeule */
.pillar__badge {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--indigo);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: .2rem .6rem; margin-bottom: .7rem;
}

/* Highlight-Callout (z. B. M365-Backup) — hebt einen Baustein hervor */
.callout {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .85rem 1.1rem; margin-bottom: 1.6rem;
  border: 1px solid var(--line-2); border-left: 3px solid var(--indigo);
  border-radius: 12px; background: var(--surface);
  font-size: .92rem; color: var(--ink);
}
.callout svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--indigo); margin-top: 1px; }
.callout strong { font-weight: 600; }

/* Auffangblock "Individuelle Anliegen" */
.catch {
  max-width: 720px; margin-inline: auto; text-align: center;
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-card);
}
.catch .eyebrow { justify-content: center; }
.catch h2 { margin-bottom: 1rem; }
.catch .lead { margin-inline: auto; margin-bottom: 1.8rem; }

/* ============================================================
   BILD-KOMPONENTE (ServiceImage)
   Zeigt ein echtes Bild oder — falls die Datei fehlt — einen
   Platzhalter mit exakt dem Dateinamen in der Mitte.
   Rein additiv, nutzt bestehende Tokens. Beide Zustaende sind
   exakt gleich gross (kein Layout-Sprung).
   ============================================================ */
.simg {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: var(--ratio, 4 / 3);
}
.simg > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.simg__ph {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: .55rem;
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.simg.is-missing > img { display: none; }
.simg.is-missing .simg__ph { display: flex; }
.simg__name {
  font-family: var(--font-mono);
  font-size: clamp(.78rem, 1.4vw, .95rem);
  font-weight: 500;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.45;
}
.simg__hint {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* ============================================================
   ADMIN — nutzt bestehende Tokens, gleiche Karten-/Hairline-Logik
   ============================================================ */
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.admin-stat {
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.admin-stat strong {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  line-height: 1; display: block; letter-spacing: -.02em; color: var(--ink);
}
.admin-stat span {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: .55rem; display: block;
}
.admin-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.admin-panel {
  margin-top: 2.5rem; padding: 1.8rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card);
}
.admin-panel h3 { margin-bottom: 1rem; }
.admin-panel ul { display: flex; flex-direction: column; gap: .6rem; }
.admin-panel li { font-size: .95rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: baseline; }
.admin-panel code {
  font-family: var(--font-mono); font-size: .85rem; color: var(--ink);
  background: var(--bg-alt); padding: .15rem .45rem; border-radius: 6px;
}
@media (max-width: 900px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .admin-grid { grid-template-columns: 1fr; } }

/* Admin-Tabelle */
.admin-table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th {
  text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  padding: .85rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--bg-alt); }
.admin-table .t-title { color: var(--ink); font-weight: 600; }
.admin-table .t-slug { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); }
.admin-badge {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap;
}
.admin-badge--published { color: var(--indigo); border-color: var(--indigo); }
.admin-badge--draft { color: var(--ink-3); }
.admin-badge--hidden { color: var(--ink-2); background: var(--bg-alt); }
.admin-yes { color: var(--indigo); font-weight: 600; }
.admin-no { color: var(--ink-3); }
.admin-row-actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.admin-row-actions a, .admin-row-actions button {
  font-family: var(--font-mono); font-size: .76rem; padding: .35rem .7rem; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none; transition: border-color .15s ease;
}
.admin-row-actions a:hover, .admin-row-actions button:hover { border-color: var(--ink); }
@media (max-width: 700px) { .admin-table { min-width: 720px; } }

/* ---- Admin-Layout (ruhig, konsistent) ---- */
.admin-main { padding-block: clamp(1.8rem, 3.5vw, 2.8rem); }
.admin-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.admin-head .eyebrow { margin-bottom: .55rem; }
.admin-head h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.admin-cols .admin-panel { margin-top: 0; height: 100%; }
@media (max-width: 760px) { .admin-cols { grid-template-columns: 1fr; } }

/* ---- Admin-Formular ---- */
.form--wide { max-width: 940px; }
.form-section { padding-top: 1.7rem; margin-top: 1.7rem; border-top: 1px solid var(--line); }
.form-section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.form-section > h3 {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.1rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }
.field__hint { font-size: .78rem; color: var(--ink-3); margin-top: .35rem; }
.field .err { color: #b91c1c; font-size: .8rem; margin-top: .35rem; display: none; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: #dc2626; }
.field.has-err .err { display: block; }
.field--check { display: flex; align-items: center; gap: .6rem; }
.field--check input { width: auto; }
.field--check label { margin-bottom: 0; }
.form-preview { margin-top: .4rem; max-width: 300px; }
.form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Admin: Navigation auf Mobile (kein Burger noetig) ---- */
@media (max-width: 900px) {
  /* Admin-Nav bleibt sichtbar und in der Flussrichtung, statt als ausgeblendeter Drawer */
  .nav__links[aria-label="Admin-Navigation"] {
    position: static; inset: auto; height: auto; transform: none;
    flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: .15rem 1.1rem; background: none; border-bottom: 0; padding: 0;
  }
  .nav__links[aria-label="Admin-Navigation"] a {
    width: auto; padding: .35rem 0; border-bottom: 0; font-size: .95rem;
  }
  /* Logout im Admin ist ein Form-Button (anders als der oeffentliche CTA-Link) — sichtbar lassen */
  .nav__cta form .btn { display: inline-flex; }
}
@media (max-width: 560px) {
  /* Admin-Header darf bei sehr schmalen Screens umbrechen.
     height: auto noetig, sonst sprengen die umgebrochenen Zeilen die
     feste 74px-Hoehe und ueberlappen den Seiteninhalt darunter. */
  .wrap.nav { flex-wrap: wrap; row-gap: .6rem; height: auto; padding-block: .8rem; }
}
