/*
Theme Name: EasyTenders
Theme URI: https://easytenders.de
Author: EasyTenders
Author URI: https://easytenders.de
Description: Modernes SaaS-Landingpage-Theme für EasyTenders – Software, die Ausschreibungen automatisch ausfüllt. Erstellt für lokale WordPress-Installationen.
Version: 1.10.2
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easytenders
*/

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --brand:      #234E8E;
  --brand-600:  #1E4A88;
  --brand-700:  #163A6B;
  --brand-800:  #0F2A50;
  --brand-050:  #EAF0F9;
  --brand-100:  #D3E0F0;

  --ink:        #0F1B33;
  --ink-2:      #334063;
  --muted:      #667089;
  --line:       #E6EAF2;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8FC;
  --bg-dark:    #0C1730;

  --success:    #16A34A;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 2px rgba(15,27,51,.06), 0 1px 3px rgba(15,27,51,.08);
  --shadow-md:  0 10px 30px rgba(15,27,51,.10);
  --shadow-lg:  0 24px 60px rgba(20,59,133,.18);
  --maxw:       1160px;
  --font:       "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: normal; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--ink-2); }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand-600);
  color: #fff; box-shadow: 0 8px 22px rgba(22,58,107,.35);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,58,107,.45); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { color: #fff; background: rgba(255,255,255,.22); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
/* Kopfzeile breiter: Logo weiter nach links, "Demo buchen" weiter nach rechts */
.site-header .container { max-width: 1360px; padding: 0 10px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img, .brand svg { height: 40px; width: auto; }
.brand .brand-name { letter-spacing: -0.02em; }
.brand .brand-name b { color: var(--brand-600); }

.nav-menu { display: flex; align-items: center; gap: 42px; list-style: none; }
.nav-menu a { color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav-menu a:hover { color: var(--brand-600); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Sprachumschalter DE / EN */
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.lang-switch a { color: var(--muted); letter-spacing: .02em; }
.lang-switch a:hover { color: var(--brand-600); }
.lang-switch a.is-active { color: var(--ink); font-weight: 700; }
.lang-switch span { color: var(--line); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Mega-Menü: Branchen-Flyout, klappt beim Hover/Fokus über "Nutzer" auf */
.nav-mega { position: relative; }
.nav-mega__trigger { display: inline-flex; align-items: center; gap: 7px; }
.nav-mega__trigger::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease; opacity: .55;
}
.nav-mega:hover .nav-mega__trigger::after,
.nav-mega:focus-within .nav-mega__trigger::after { transform: rotate(-135deg); margin-top: 2px; opacity: 1; }

.mega {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 200;
  width: min(880px, calc(100vw - 44px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* Hover-Brücke über die Lücke */
.nav-mega:hover .mega,
.nav-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; padding: 26px 30px; }
.mega__group { min-width: 0; }
.mega__title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; font-weight: 800; font-size: .95rem; color: var(--ink); }
.mega__num { color: var(--brand-600); font-size: .82rem; font-variant-numeric: tabular-nums; }
.mega__list { list-style: none; margin: 0; display: grid; gap: 6px; }
.mega__list li { position: relative; padding-left: 15px; font-size: .9rem; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.mega__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5; }

/* Kompaktes Produkt-Dropdown (schmaler als das Nutzer-Mega) */
.mega--product { width: min(620px, calc(100vw - 44px)); }

/* ============================================================
   Consent-Banner (Auswahl beim ersten Seitenaufruf)
   ============================================================ */
.consent { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; justify-content: center; padding: 20px; }
.consent[hidden] { display: none; }
.consent__backdrop { position: absolute; inset: 0; background: rgba(12,23,48,.45); }
.consent__box {
  position: relative; width: min(680px, 100%);
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px 28px 22px;
}
.consent__title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.consent__text { margin: 0 0 18px; font-size: .94rem; line-height: 1.55; color: var(--ink-2); }
.consent__text a { color: var(--brand-600); text-decoration: underline; }

.consent__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.consent__list li { display: flex; align-items: flex-start; gap: 13px; }
.consent__list b { display: block; font-size: .92rem; color: var(--ink); }
.consent__list span { font-size: .86rem; color: var(--muted); line-height: 1.45; }

/* Schalter */
.consent__switch { position: relative; flex: 0 0 auto; width: 40px; height: 23px; margin-top: 2px; cursor: pointer; }
.consent__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent__switch > span,
.consent__switch--fixed {
  display: block; width: 40px; height: 23px; border-radius: 999px;
  background: #CBD3E2; transition: background .2s ease;
}
.consent__switch > span::after,
.consent__switch--fixed::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.consent__switch--fixed { position: relative; background: var(--brand-600); opacity: .55; }
.consent__switch--fixed::after { transform: translateX(17px); }
.consent__switch input:checked + span { background: var(--brand-600); }
.consent__switch input:checked + span::after { transform: translateX(17px); }
.consent__switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.consent__actions .btn { padding: 12px 20px; font-size: .95rem; }

@media (max-width: 560px) {
  .consent { padding: 12px; }
  .consent__box { padding: 22px 18px 18px; }
  .consent__actions { flex-direction: column-reverse; }
  .consent__actions .btn { width: 100%; }
}

/* ============================================================
   Support-Modal (Beschwerde-/Support-Formular)
   ============================================================ */
.support-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(12, 23, 48, .55);
  backdrop-filter: saturate(140%) blur(4px);
  opacity: 0; transition: opacity .2s ease;
}
.support-overlay[hidden] { display: none; }
.support-overlay.is-open { opacity: 1; }

.support-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px;
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
}
.support-overlay.is-open .support-dialog { transform: translateY(0) scale(1); }

.support-dialog__close {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  background: var(--bg-soft); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; transition: all .18s ease;
}
.support-dialog__close:hover { color: var(--ink); border-color: var(--brand); box-shadow: var(--shadow-sm); }

.support-dialog__title { margin: 0 40px 6px 0; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.support-dialog__lead { margin: 0 0 20px; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }

.support-form__row { display: grid; gap: 6px; margin-bottom: 14px; }
.support-form__row label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.support-form__row input,
.support-form__row select,
.support-form__row textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 11px 13px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.support-form__row textarea { resize: vertical; min-height: 110px; }
.support-form__row input:focus,
.support-form__row select:focus,
.support-form__row textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-050);
}

.support-form__note {
  margin: 0 0 14px; padding: 11px 14px;
  background: rgba(22,163,74,.10); border: 1px solid rgba(22,163,74,.30);
  border-radius: var(--radius-sm); color: #157f3c; font-size: .9rem; font-weight: 600;
}

.support-form__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.support-form__actions .btn { padding: 12px 22px; }

@media (max-width: 520px) {
  .support-dialog { padding: 26px 20px 22px; }
  .support-form__actions { flex-direction: column-reverse; }
  .support-form__actions .btn { width: 100%; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 110px;
  background: #0A1930;
  /* Bild füllt den Bildschirm bis knapp über den unteren Rand: Header (74px + 1px Linie) +
     Logo-Streifen (84px) abziehen, damit der Streifen beim Laden unten sichtbar bleibt. */
  display: flex; align-items: center;
  min-height: calc(100vh - 159px);
  min-height: calc(100svh - 159px);
}
.hero > .container { width: 100%; }
/* Hintergrund-Diashow (Tag/Nacht) mit Swipe von rechts nach links */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: transparent;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hero .hero-note { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.8), 0 1px 2px rgba(0,0,0,.6); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  color: #6E9BE8; -webkit-text-fill-color: #6E9BE8;
}
.hero .lead { font-size: 1.25rem; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
.hero-note svg { color: var(--success); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; margin-bottom: 22px;
  background: var(--brand-050); border: 1px solid var(--brand-100); color: var(--brand-700);
  border-radius: 999px; font-weight: 700; font-size: .85rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(46,111,224,.2); }

/* Hero mock card */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dce6; display: block; }
.mock-bar i:nth-child(1){ background:#ff5f57 } .mock-bar i:nth-child(2){ background:#febc2e } .mock-bar i:nth-child(3){ background:#28c840 }
.mock-bar span { margin-left: 10px; font-size: .8rem; color: var(--muted); }
.mock-body { padding: 22px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-label { flex: 1; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.mock-value { flex: 1; height: 12px; border-radius: 6px; background: var(--brand-100); }
.mock-check {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--success); color: #fff; display: grid; place-items: center; font-size: 14px;
  animation: pop .5s ease both;
}
.mock-row:nth-child(2) .mock-check { animation-delay:.15s } .mock-row:nth-child(3) .mock-check { animation-delay:.3s }
.mock-row:nth-child(4) .mock-check { animation-delay:.45s } .mock-row:nth-child(5) .mock-check { animation-delay:.6s }
@keyframes pop { from { transform: scale(0); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.mock-float {
  position: absolute; right: -14px; bottom: -18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
}
.mock-float b { font-size: 1.5rem; color: var(--brand-700); line-height: 1; }
.mock-float small { color: var(--muted); font-size: .78rem; }

/* ============================================================
   Logos / trust strip
   ============================================================ */
.trust { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust p { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; opacity: .7; }
.trust-row span { font-weight: 800; font-size: 1.15rem; color: var(--muted); letter-spacing: -.02em; }

/* ============================================================
   Stats
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--brand-700); letter-spacing: normal; }
.stat span { color: var(--muted); font-weight: 600; }

/* ============================================================
   Features grid
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-050); color: var(--brand-700);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .98rem; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-600); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .98rem; }

/* ============================================================
   Split feature (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .checklist { list-style: none; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; color: var(--ink-2); }
.checklist li svg { flex: none; margin-top: 3px; color: var(--success); }
.panel {
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: 20px; padding: 30px; box-shadow: var(--shadow-md);
}

/* ============================================================
   Pricing
   ============================================================ */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  display: flex; flex-direction: column;
}
.price.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .05em; }
.price h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price .amount { font-size: 2.4rem; font-weight: 700; color: var(--ink); letter-spacing: normal; margin: 10px 0 2px; }
.price .amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price .desc { color: var(--muted); font-size: .95rem; min-height: 42px; }
.price ul { list-style: none; margin: 20px 0 26px; }
.price li { display: flex; gap: 10px; padding: 8px 0; font-size: .95rem; color: var(--ink-2); }
.price li svg { flex: none; color: var(--success); }
.price .btn { margin-top: auto; }

/* ============================================================
   Testimonials
   ============================================================ */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.quote p { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { color: var(--muted); font-size: .85rem; }
.quote blockquote { margin: 0; border: 0; padding: 0; }
/* Anführungszeichen als dezente Marke über dem Zitat */
.quote blockquote::before {
  content: "\201C"; display: block; font-size: 3.2rem; line-height: .8;
  color: var(--brand); opacity: .28; margin-bottom: 6px;
}
/* Firmenlogo statt Initialen im Profilkreis */
.quote .avatar--logo { background: #fff; border: 1px solid var(--line); padding: 5px; }
.quote .avatar--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Raster für mehrere Partnerstimmen – eine Karte bleibt lesbar schmal */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 30px; }
.quotes .quote:only-child { max-width: 760px; }

/* ============================================================
   Ablauf-Skizze: Bild mit unsichtbaren Klickflaechen
   ============================================================ */
/* Anzeigebreite der Grafik. ablauf.svg ist ein Vektorbild und bleibt
   in jeder Groesse scharf – der Wert ist frei waehlbar. */
.sketch { position: relative; max-width: 880px; margin: 0 auto; }
/* Bezugsrahmen der Klickflaechen – genau so gross wie das Bild */
.sketch__stage { position: relative; }
.sketch__img { width: 100%; height: auto; display: block; }

/* Nur fuer Screenreader */
.et-sr {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Unsichtbare Klickflaechen ueber den Beschriftungen im Bild.
   Die Prozentwerte entsprechen den Pillen in ablauf.png (545 x 527 px). */
.sketch__hot {
  position: absolute; z-index: 2;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 999px;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.sketch__hot--1 { left: 23.12%; top: 1.33%;  width: 32.11%; height: 7.97%; }
.sketch__hot--2 { left: 66.42%; top: 28.46%; width: 33.39%; height: 11.20%; }
.sketch__hot--3 { left: 2.94%;  top: 67.55%; width: 31.93%; height: 10.82%; }
/* Beim Draufzeigen kurz sichtbar, damit man merkt, dass da was klickbar ist */
.sketch__hot:hover { background: rgba(35,78,142,.10); box-shadow: 0 0 0 2px rgba(35,78,142,.45); }
.sketch__hot:focus-visible { outline: none; background: rgba(35,78,142,.10); box-shadow: 0 0 0 3px var(--brand); }
.sketch__hot[aria-expanded="true"] { background: rgba(35,78,142,.12); box-shadow: 0 0 0 2px var(--brand); }

/* Aufgeklappter Text – liegt ueber dem Bild, damit nichts verrutscht */
.sketch__note {
  position: absolute; z-index: 3; width: 300px;
  background: #fff; border: 2px solid #111; border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 14px 34px rgba(15,27,51,.14);
}
.sketch__note[hidden] { display: none; }
.sketch__note h3 { font-size: 1rem; margin: 0 0 6px; }
.sketch__note p { margin: 0; color: #333; font-size: .92rem; line-height: 1.55; }
/* Platzierung neben der jeweiligen Beschriftung, ohne die Zeichnung zu verdecken */
.sketch__note--1 { left: 56%;  top: 1%; }
.sketch__note--2 { right: 0;   top: 41%; }
.sketch__note--3 { left: 1.3%; bottom: 36%; }

/* 80/20-Balken */
.sketch__meter { margin-top: 14px; }
.sketch__meter-bar { height: 13px; border: 2px solid #111; border-radius: 999px; background: #fff; overflow: hidden; }
.sketch__meter-bar span { display: block; height: 100%; background: #111; }
.sketch__meter-legend { display: flex; justify-content: space-between; margin-top: 7px; font-size: .8rem; }
.sketch__meter-legend b { color: #111; }
.sketch__meter-legend span { color: #777; }

/* Schmale Schirme: Text unter das Bild statt darueber */
@media (max-width: 720px) {
  .sketch { max-width: 460px; }
  .sketch__note {
    position: static; width: auto; margin-top: 16px;
    box-shadow: none;
  }
  .sketch__note--1, .sketch__note--2, .sketch__note--3 { inset: auto; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--brand-700);
  border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0; background: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; position: relative; font-size: 1.1rem; }
.cta-band .btn { position: relative; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23334063' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,111,224,.15); }
/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.et-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Fehlerzustand der Rückmeldungen */
#et-form-note.is-error { color: #B42318 !important; }
.support-form__note.is-error { background: rgba(180,35,24,.08); border-color: rgba(180,35,24,.3); color: #B42318; }
.field--consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .86rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.field--consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; padding: 0; accent-color: var(--brand-600); cursor: pointer; }
.field--consent a { color: var(--brand-600); text-decoration: underline; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700); }
.contact-info b { display: block; }
.contact-info span { color: var(--muted); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-dark); color: #C6D0E4; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: #C6D0E4; display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-brand img, .footer-brand svg { height: 36px; filter: brightness(0) invert(1); }
.footer-brand.no-invert img { filter: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8FA0C0; }
.footer-bottom a { display: inline; color: #8FA0C0; }

/* ============================================================
   Logo-Streifen – im Stil der PROBIS-Website
   (monochrom grau, heller Streifen; Bewegung scroll-gesteuert via main.js)
   ============================================================ */
.logos { background: #ECEEF4; overflow: hidden; }
/* Schmaler Streifen: 84px hoch (64px Inhalt + 10px Innenabstand), größere Logos
   (Porsche, 1P) ragen in den Innenabstand hinein – ihre Größe bleibt unverändert.
   Der Innenabstand sitzt am Track, damit dessen Hintergrund für "multiply" überall da ist. */
.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos__track { display: flex; align-items: center; gap: 92px; box-sizing: border-box; height: 84px; padding: 10px 0; width: max-content; will-change: transform; background: #ECEEF4; }
.logos__item { display: flex; align-items: center; }
/* Platzhalter als dunkelgraue Wortmarke */
.logos__name { font-size: 1.7rem; font-weight: 700; letter-spacing: .01em; color: #1F2632; white-space: nowrap; opacity: 1; }
/* Echte Logos: monochrom dunkelgrau, bei Hover in Farbe */
.logos__logo { height: 42px; width: auto; display: block; filter: grayscale(1) brightness(.45); opacity: 1; transition: filter .25s ease, opacity .25s ease; }
.logos__item:hover .logos__logo { filter: none; }
/* PROBIS: Bild-Hintergrund = Streifenfarbe. Kontrast statt Abdunkeln macht die Schrift
   dunkelgrau und den Hintergrund weiß, "multiply" lässt ihn im Streifen verschwinden. */
.logos__logo[alt="PROBIS"] { height: 60px; filter: grayscale(1) contrast(2.2); mix-blend-mode: multiply; }
.logos__item:hover .logos__logo[alt="PROBIS"] { filter: none; mix-blend-mode: normal; }
/* 1P-Logo (transparent) etwas größer */
.logos__logo[alt="1P"] { height: 50px; }
/* Schriftzug neben dem 1P-Logo: "Prozess" klein, "Pionier" groß darunter */
.logos__claim { display: flex; flex-direction: column; margin-left: 10px; line-height: 1.05; color: #1F2632; white-space: nowrap; }
.logos__claim-top { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.logos__claim-main { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 720px) {
  .logos__track { gap: 60px; }
  .logos__name { font-size: 1.35rem; }
  .logos__logo { height: 36px; }
  .logos__logo[alt="PROBIS"] { height: 48px; }
  .logos__logo[alt="1P"] { height: 40px; }
  .logos__claim-top { font-size: .72rem; }
  .logos__claim-main { font-size: 1.15rem; }
}

/* ============================================================
   Generic page/post content (page.php, index.php)
   ============================================================ */
.page-hero { padding: 60px 0 0; }
.entry { max-width: 780px; margin: 0 auto; padding: 40px 0 90px; }
.entry h1 { margin-bottom: 24px; }
.entry img { border-radius: var(--radius-sm); margin: 20px 0; }
.entry ul, .entry ol { padding-left: 22px; margin: 0 0 1rem; }
.entry li { margin-bottom: 6px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Branchen / Nutzer (Akkordeon)
   ============================================================ */
.branches { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.branch {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.branch:hover { border-color: var(--brand-100); }
.branch[open] { border-color: var(--brand-100); box-shadow: var(--shadow-md); }
.branch__head {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); -webkit-user-select: none; user-select: none;
}
.branch__head::-webkit-details-marker { display: none; }
.branch__head::marker { content: ""; }
.branch__head:focus-visible { outline: 2px solid var(--brand-600); outline-offset: -2px; }
.branch__num { color: var(--brand-600); font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
.branch__title { flex: 1 1 auto; font-size: 1.1rem; }
.branch__chev { color: var(--muted); flex: none; transition: transform .25s ease; }
.branch[open] .branch__head { color: var(--brand-700); }
.branch[open] .branch__chev { transform: rotate(180deg); color: var(--brand-600); }
.branch__list {
  list-style: none; margin: 0;
  padding: 4px 22px 20px 58px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px;
}
.branch__list li { position: relative; padding-left: 20px; color: var(--ink-2); font-weight: 500; }
.branch__list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); opacity: .55;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps, .prices { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
}
/* Tablet: Menü enger, damit Logo, Menü und "Demo buchen" in eine Zeile passen */
@media (max-width: 1024px) and (min-width: 721px) {
  .nav-menu { gap: 20px; }
  .nav-menu a { font-size: .92rem; }
  .nav-actions .btn--primary { padding: 10px 16px; font-size: .9rem; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav { gap: 10px; }
  .nav-menu, .nav-actions .btn--ghost { display: none; }
  .brand .brand-name { display: none; }
  .nav-actions .btn--primary { padding: 10px 16px; font-size: .9rem; }
  .nav-toggle { display: block; }
  .nav.open .nav-menu {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 22px; gap: 6px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav-menu a { padding: 10px 0; width: 100%; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .branch__head { padding: 16px 16px; gap: 12px; }
  .branch__title { font-size: 1.02rem; }
  .branch__list { grid-template-columns: 1fr; padding: 2px 18px 18px 46px; gap: 9px; }
  /* Auf Mobil kein Hover-Flyout: "Nutzer" verlinkt auf die Sektion */
  .nav-mega .mega { display: none; }
  .nav-mega__trigger::after { display: none; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
