/* ============================================================
   AwiTop-Consult — Stylesheet des statischen Nachbaus
   Nachbau von awitop.de (Stand 29.08.2026), ohne Elementor.
   Farben und Schriften entsprechen dem Original-Design:
   Primär #1C244B · Text #324A6D · Akzent #467FF7 · Flächen #F3F5F8
   ============================================================ */

/* ---------- Schriften (lokal, wie im Original via OMGF) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../schriften/poppins-normal-latin-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../schriften/poppins-normal-latin-ext-300.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../schriften/poppins-normal-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../schriften/poppins-normal-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../schriften/poppins-italic-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../schriften/poppins-italic-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../schriften/poppins-normal-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../schriften/poppins-normal-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../schriften/poppins-normal-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../schriften/poppins-normal-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }

/* Inter (nur fürs Menü, wie im Original) — Variable Font, deckt 100–900 ab */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../schriften/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../schriften/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }

/* ---------- Grundfarben und Basis ---------- */
:root {
  --primaer: #1C244B;      /* Überschriften, dunkle Flächen */
  --text: #3D4B91;         /* einheitliche Schriftfarbe für allen Text (30.08.2026) */
  --akzent: #467FF7;       /* Links, Akzente */
  --flaeche: #F3F5F8;      /* helle Fläche (Header) */
  --flaeche-hell: #F9FAFD; /* sehr helle Fläche */
  --rahmen: #C8D5DC;       /* Rahmenlinien */
  --dunkelblau: #3D4B91;   /* Footer-Leiste, Buttons */
  --inhalt-breite: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* Fließtext: 18px, Zeilenhöhe 1,5em = 27px (Kalles Vorgabe 30.08.2026,
     gilt einheitlich für alle Seiten), Indigo #3D4B91 */
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dunkelblau);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--akzent); text-decoration: none; }
a:hover { color: var(--primaer); }

h1, h2, h3, h4, h5, h6 {
  color: var(--primaer);
  font-weight: 600;
  line-height: 1.2;
}

.inhalt {
  max-width: var(--inhalt-breite);
  margin: 0 auto;
  padding: 0 20px;
}

/* Sprunglink für Screenreader/Tastatur (unsichtbar bis fokussiert) */
.springen {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primaer);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
}
.springen:focus { left: 0; color: #fff; }

/* ---------- Kopfbereich / Navigation ---------- */
.kopf {
  background: var(--flaeche-hell);
  border-bottom: 1px solid #e6e9f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.kopf nav { max-width: var(--inhalt-breite); margin: 0 auto; padding: 0 20px; }

.hauptmenue {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hauptmenue > li { position: relative; }

/* Menü-Schrift wie im Original: Inter 21px/500, Farbe #3D4B91 */
.hauptmenue a,
.hauptmenue .trenner {
  display: block;
  padding: 20px 28px;
  color: var(--dunkelblau);
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.hauptmenue .trenner { padding: 20px 8px; cursor: default; }

.hauptmenue a:hover { color: var(--akzent); }

.hauptmenue .pfeil { font-size: 12px; margin-left: 6px; }

/* Klappmenü „Leistungen" — heller Grund, Trennlinien zwischen den Einträgen */
.untermenue {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--flaeche-hell);
  box-shadow: 0 6px 18px rgba(28, 36, 75, 0.12);
  display: none;
}

.untermenue li:not(:last-child) { border-bottom: 1px solid var(--dunkelblau); }

.untermenue a {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
}

li.hat-untermenue:hover .untermenue,
li.hat-untermenue:focus-within .untermenue { display: block; }

/* Mobil-Menü-Knopf */
.menue-knopf {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primaer);
  padding: 14px 0;
  cursor: pointer;
}

/* ---------- Hero (auf jeder Seite) ---------- */
.hero { text-align: center; padding: 55px 20px 0; }

.hero h1 {
  font-size: 50px;
  letter-spacing: 0.5px;
}

.hero .untertitel {
  color: var(--akzent);
  font-size: 19px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.hero.links { text-align: left; padding-left: 0; padding-right: 0; }

/* Umrandete Einleitungsbox („Profitieren Sie …") */
.infobox {
  border: 1px solid var(--rahmen);
  background: #fff;
  text-align: center;
  font-size: 18px;
  padding: 22px 24px;
  margin: 48px auto 0;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 34px 0; }
.abschnitt.eng { padding: 14px 0; }

/* Gestrichelte Titelbox (Themenseiten) — sitzt jetzt in derselben
   Sektion wie der Folgeinhalt, braucht also eigenen Abstand nach unten */
.titelbox {
  border: 1px dashed var(--primaer);
  padding: 10px 18px;
  margin: 26px 0 26px;
}
.titelbox h2 { font-size: 26px; }

/* Gepunktete Kundenstimmen-Box (dotted, Radius 15px) —
   Text seit 30.08.2026 in 18px wie der übrige Fließtext */
.zitatbox {
  border: 2px dotted var(--dunkelblau);
  border-radius: 15px;
  padding: 20px;
  margin: 22px 0;
  font-size: 18px;
  color: var(--dunkelblau);
}

/* Kundenstimmen-Seite: deutlich engerer Rhythmus zwischen den Boxen */
.kundenstimmen .abschnitt { padding: 6px 0; }
.kundenstimmen .zitatbox { margin: 8px 0; }

/* Gestrichelte Trennlinie */
hr.trenner-linie {
  border: none;
  border-top: 1px dashed var(--primaer);
  margin: 40px 0 24px;
}

/* Zwei- und mehrspaltige Zeilen */
.zeile { display: flex; gap: 30px; align-items: flex-start; }
.zeile > .spalte { flex: 1; min-width: 0; }
.zeile > .spalte.schmal { flex: 0 0 32%; }

/* Bild + Text nebeneinander (Themenseiten) */
.bild-text { display: flex; gap: 26px; align-items: flex-start; margin: 18px 0; }
.bild-text .bild { flex: 0 0 32%; }
.bild-text .text { flex: 1; min-width: 0; }

/* ---------- Typografie im Fließtext ---------- */

/* Zeilenhöhe 1,5em gilt seit 30.08.2026 seitenweit (siehe body) —
   die früheren Sonderregeln für .startseite/.kompakt sind entfallen */
.textblock p { margin: 0 0 14px; }
.textblock p:last-child { margin-bottom: 0; }

.textblock ul, .textblock ol { margin: 0 0 14px 1.4em; }
.textblock ul ul, .textblock ol ol { margin-bottom: 0; }
.textblock li { margin-bottom: 4px; }

.textblock h2 { font-size: 26px; margin: 26px 0 12px; }

/* Überschrift direkt im Inhaltsbereich (z.B. „Was Sie von uns erwarten
   können:") — moderater Abstand zum folgenden Textblock */
.inhalt > h2 { margin: 6px 0 16px; }

/* Absatz mit extra Luft nach oben (z.B. „Sie möchten mehr erfahren?") */
.textblock p.abstand-oben { margin-top: 34px; }

/* Knöpfe im Fließtext mit Luft über sich (CTA Startseite,
   „zurück zur Startseite…" auf den Themenseiten) —
   Kachel-Knöpfe bleiben eng bei ihrem Text */
.knopf-zeile { margin-top: 36px; }
.kachel .knopf-zeile { margin-top: 0; }
.textblock h3 { font-size: 20px; margin: 20px 0 10px; }

/* Fettes erbt die Textfarbe — keine eigene Farbe (einheitliches Schriftbild) */

/* ---------- Buttons ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  background: var(--dunkelblau);
  color: #fff;
  /* Knopf-Schrift 18px wie der Fließtext (Kalles Wunsch 30.08.2026) */
  font-size: 18px;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid var(--dunkelblau);
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.knopf:hover { background: var(--primaer); border-color: var(--primaer); color: #fff; }

.knopf.hell {
  background: #fff;
  color: var(--dunkelblau);
}
.knopf.hell:hover { background: var(--rahmen); color: var(--text); border-color: var(--dunkelblau); }

.knopf .pfeil-icon { margin-right: 8px; }

/* ---------- Kachel-Grid Startseite ---------- */
.kacheln {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 44px;
}

.kachel .kachel-bild { border: 1px solid var(--rahmen); }

/* Bild verlinkt + Grow-Animation bei Mouseover (wie elementor-animation-grow) */
.kachel-bild-link { display: block; }
.kachel .kachel-bild { transition: transform 0.3s ease; }
.kachel-bild-link:hover .kachel-bild,
.kachel-bild-link:focus .kachel-bild { transform: scale(1.1); }

.kachel h3 { font-size: 17px; margin: 18px 0 8px; }
.kachel h3 a { color: var(--primaer); }
.kachel h3 a:hover { color: var(--akzent); }

/* Kachel-Text in 18px wie der übrige Fließtext (Kalles Wunsch 30.08.2026) */
.kachel p { margin-bottom: 14px; font-size: 18px; line-height: 1.5; }

/* ---------- Kontaktformular ---------- */
.formular-zeile { display: flex; gap: 40px; align-items: flex-start; }
.formular-zeile .formular-spalte { flex: 1 1 58%; min-width: 0; }
.formular-zeile .bild-spalte { flex: 1 1 38%; }

/* Formular-Schrift auf 18px wie der übrige Fließtext (30.08.2026) */
.formular label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--primaer);
  margin: 18px 0 6px;
}

.formular .pflicht { color: #d63637; }

.formular input[type="text"],
.formular input[type="tel"],
.formular input[type="email"],
.formular select,
.formular textarea {
  width: 100%;
  max-width: 420px;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 18px;
  color: var(--text);
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
}

.formular textarea { max-width: 100%; min-height: 110px; resize: vertical; }

.formular .name-felder { display: flex; gap: 14px; max-width: 420px; }
.formular .name-felder > div { flex: 1; }

.formular .feld-hinweis { font-size: 14px; color: #7a8aa0; margin-top: 4px; }

.formular .auswahl label {
  font-weight: 400;
  color: var(--text);
  margin: 6px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 18px;
}

.formular .auswahl input[type="checkbox"] { margin-top: 4px; }

.formular button[type="submit"] {
  margin-top: 22px;
  background: var(--dunkelblau);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  border: none;
  border-radius: 3px;
  padding: 11px 28px;
  cursor: pointer;
}
.formular button[type="submit"]:hover { background: var(--primaer); }

/* Rückmeldung nach dem Absenden */
.formular-meldung { padding: 14px 18px; margin: 18px 0; border-radius: 3px; }
.formular-meldung.ok { background: #e7f5e9; border: 1px solid #7bc47f; color: #205723; }
.formular-meldung.fehler { background: #fdecec; border: 1px solid #e08a8a; color: #8a2424; }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.rechtsseite h2 { font-size: 32px; margin: 14px 0 6px; }

/* Anbieter-/Verantwortlichen-Karte im gepunkteten Stil der Kundenstimmen */
.anbieter-karte {
  border: 2px dotted var(--dunkelblau);
  border-radius: 15px;
  background: #fff;
  padding: 28px 32px;
  margin: 26px 0;
}
.anbieter-karte .kicker {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a8aa0;
  margin-bottom: 10px;
}
.anbieter-karte .name {
  font-size: 22px;
  font-weight: 600;
  color: var(--primaer);
  margin-bottom: 4px;
}
.anbieter-karte .zusatz { font-size: 14px; color: #7a8aa0; margin-top: 14px; }
.kontakt-zeilen {
  list-style: none;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.kontakt-zeilen a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dunkelblau);
  font-weight: 500;
}
.kontakt-zeilen a:hover { color: var(--akzent); }
.kontakt-zeilen svg { width: 15px; height: 15px; fill: var(--akzent); flex: none; }

/* Themen-Karten */
.karte {
  background: #fff;
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 22px 0;
}
.karte.hervor { background: var(--flaeche-hell); }
.karte h3 {
  font-size: 19px;
  margin: 0 0 14px;
}
.karte p { margin: 0 0 12px; }
.karte p:last-child { margin-bottom: 0; }

/* Zwei kurze Karten nebeneinander */
.karten-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 22px 0;
}
.karten-raster .karte { margin: 0; }

/* Häkchen-Liste */
.rechtsseite .merkliste {
  list-style: none;
  margin: 0;
}
.merkliste li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}
.merkliste svg {
  width: 19px;
  height: 19px;
  fill: var(--akzent);
  flex: none;
  margin-top: 4px;
}

.stand-hinweis { color: #7a8aa0; font-size: 14px; margin-top: 28px; }

@media (max-width: 900px) {
  .karten-raster { grid-template-columns: 1fr; }
  .anbieter-karte { padding: 22px; }
}

/* ---------- Fußbereich ---------- */
.fuss {
  border-top: 1px solid #e6e9f0;
  margin-top: 60px;
  padding: 44px 0 64px;
}

.fuss .fuss-zeile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.fuss .fuss-spalte { flex: 1; }

.fuss .fuss-logo { max-width: 200px; margin-bottom: 26px; }

/* Footer-Schrift wie der übrige Fließtext (Kalles Wunsch 30.08.2026) */
.fuss .telefon { color: var(--text); font-size: 18px; }

.fuss h6 {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.fuss ul { list-style: none; }

.fuss ul li { margin-bottom: 9px; }

.fuss ul a {
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fuss ul a:hover { color: var(--akzent); }

.fuss ul a svg { width: 16px; height: 16px; fill: var(--primaer); flex: none; }

/* Blauer Abschluss-Balken — mit Luft nach unten (Kalles Wunsch 30.08.2026) */
.fuss-leiste {
  background: var(--dunkelblau);
  color: #fff;
  font-size: 15px;
  padding: 12px 0;
  margin-bottom: 32px;
}

.fuss-leiste .inhalt { text-align: left; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }

  .kacheln { grid-template-columns: 1fr; }

  .zeile, .bild-text, .formular-zeile { flex-direction: column; }
  .bild-text .bild, .zeile > .spalte.schmal { flex: none; width: 100%; }
  .bild-text .bild img { margin: 0 auto; }
  .formular-zeile .bild-spalte { display: none; }

  .menue-knopf { display: block; }

  .hauptmenue {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 10px;
  }
  .hauptmenue.offen { display: flex; }
  .hauptmenue a { padding: 12px 6px; font-size: 18px; }
  .hauptmenue .trenner { display: none; }
  .untermenue {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    padding-left: 18px;
    min-width: 0;
  }
  .untermenue li:not(:last-child) { border-bottom: none; }

  .fuss .fuss-zeile { flex-direction: column; }
}
