/* =========================================================
   it-marketing.net — style.css
   Nachbau des Enfold-Designs (Child-Theme) in reinem CSS.
   Schriften: Nunito (Überschriften), Open Sans (Fließtext) – lokal.
   ========================================================= */

/* ---------- Fonts (self-hosted, keine externen Requests) ---------- */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/opensans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/opensans-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue-dark: #0046a0;
  --blue: #1881f5;
  --text-blue: #375d97;
  --yellow: #ffa824;
  --yellow-text: #c97700;         /* Gelb für Text auf Weiß (Kontrast) */
  --navy: #00265a;
  --white: #ffffff;
  --line: #c9d6ec;
  --soft: #f3f7fd;
  --btn-text: #00265a;            /* Button-Beschriftung auf Gelb */
  --font-head: "Nunito", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --radius: 6px;
  --header-h: 76px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-blue); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; color: var(--text-blue); }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--radius); z-index: 200; font-weight: 600; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.lead { font-family: var(--font-head); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.55; font-weight: 400; }
.lead strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .8em 1.4em; border: 0; border-radius: var(--radius); background: var(--yellow); color: var(--btn-text); text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.btn:hover { background: #ffb94d; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--blue-dark); color: #fff; }
.header-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; padding: 10px 28px 10px 0; border-bottom: 4px solid var(--yellow); margin-right: 8px; }
.brand img { display: block; width: 168px; height: auto; }
.main-nav { display: flex; align-items: stretch; gap: 6px; margin-left: auto; }
.main-nav > a, .nav-dropdown-trigger { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: #fff; text-decoration: none; padding: 0 14px; border: 0; border-bottom: 4px solid rgba(255,255,255,.4); background: none; cursor: pointer; }
.main-nav > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger, .main-nav a[aria-current="page"], .nav-dropdown.is-current .nav-dropdown-trigger { border-bottom-color: var(--yellow); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown.open .chev { transform: rotate(180deg); }
.nav-dropdown { position: relative; display: flex; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--blue-dark); border-top: 4px solid var(--yellow); box-shadow: 0 14px 30px rgba(0,30,80,.35); padding: 8px 0; z-index: 5; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 9px 20px; color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.4; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: rgba(255,255,255,.12); color: var(--yellow); }
.nav-divider { height: 1px; background: rgba(255,255,255,.25); margin: 6px 20px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; font-size: .85rem; font-weight: 600; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; overflow: hidden; }
.lang-switch a { color: #fff; text-decoration: none; padding: 4px 11px; }
.lang-switch a[aria-current="true"] { background: var(--yellow); color: var(--navy); }
.lang-switch a:not([aria-current="true"]):hover { background: rgba(255,255,255,.15); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bars { display: block; width: 26px; }
.nav-toggle .bars span { display: block; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections & Wellen (Enfold „Waves Brush“, 50 px) ---------- */
.section { position: relative; padding: 76px 0; }
.section[data-wave] { padding-bottom: 126px; }
.section--white { background: #fff; }
.section--blue { background: var(--blue); color: #fff; }
.section--dark { background: var(--blue-dark); color: #fff; }
.section--blue h2, .section--dark h2 { color: var(--yellow); }
.section--blue h3, .section--dark h3 { color: var(--yellow); }
[data-wave]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; background-repeat: no-repeat; background-position: center bottom; background-size: 100% 100%; pointer-events: none; z-index: 2; }
.section-head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: .4em; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue-dark); color: #fff; padding: 56px 0 130px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/uploads/polygon-compressed.png") top left / 500px 500px repeat; opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--yellow); margin-bottom: .5em; }
.hero-sub { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .7vw, 1.65rem); line-height: 1.45; color: #fff; margin: 0 0 1.4em; font-weight: 400; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: 100%; max-width: 440px; height: auto; display: block; }
.breadcrumb { font-size: .85rem; margin: 0 0 22px; color: rgba(255,255,255,.85); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Kurz erklärt / Key Facts (GEO) ---------- */
.summary-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: var(--radius); background: var(--soft); margin: 0 auto 54px; max-width: 1040px; }
.summary-box > div { padding: 18px 24px; }
.summary-box > div + div { border-left: 1px solid var(--line); }
.summary-box dt { font-family: var(--font-head); font-weight: 700; color: var(--text-blue); margin-bottom: 4px; font-size: 1.02rem; }
.summary-box dd { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-blue); }
.summary-box-title { grid-column: 1 / -1; padding: 12px 24px 0 !important; border-left: 0 !important; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--yellow-text); letter-spacing: .02em; }

.summary-box--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead--light { color: #fff; }
.lead--wide { max-width: 960px; margin: 0 auto; }
.lead--gap { margin-bottom: 44px; }
.hub-h3 { margin-bottom: 28px; }
#scroll-sentinel { position: absolute; top: 700px; left: 0; width: 1px; height: 1px; pointer-events: none; }
body { position: relative; }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 28px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--text-blue); border-radius: var(--radius); padding: 26px 26px 14px; background: transparent; }
.card h3 { margin-bottom: .55em; }
.card p { font-size: .94rem; line-height: 1.65; }
.card-icon { width: 38px; height: 38px; color: var(--yellow-text); margin-bottom: 14px; }
.card-icon svg { width: 100%; height: 100%; display: block; }
.section--white .card h3 { color: var(--text-blue); }
.section--white .card--accent h3 { color: var(--yellow-text); }
.section--blue .card, .section--dark .card { border-color: rgba(255,255,255,.85); }
.section--blue .card p, .section--dark .card p { color: #fff; }
.section--blue .card-icon { color: var(--yellow); }
.cards--wide .card p { font-size: .97rem; }

/* ---------- Zwei Spalten Text ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 1040px; margin: 0 auto; font-size: .98rem; }
.section--blue .cols-2 p { color: #fff; }

/* ---------- Ergebnisse ---------- */
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 1040px; margin: 0 auto; }
.results h3 { color: var(--text-blue); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow) url("/uploads/check-white.svg") center / 10px no-repeat; }
.stat-list { list-style: none; padding: 0; margin: 0; }
.stat-list li { display: flex; align-items: baseline; gap: 14px; margin-bottom: .9em; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--yellow-text); min-width: 4.2ch; }
.stat-prefix { display: block; font-size: .8rem; font-family: var(--font-body); font-weight: 400; color: var(--text-blue); }

/* ---------- Service-Zeilen ---------- */
.service-rows { display: grid; gap: 54px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { display: flex; justify-content: center; }
.service-media img { max-height: 280px; width: auto; max-width: 100%; display: block; }
.service-text h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); }
.service-text p { color: #fff; font-size: 1.02rem; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.testi-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 100%; scroll-snap-align: start; padding: 0 6px; margin: 0; }
.testi blockquote { margin: 0; padding: 0 0 0 64px; position: relative; font-size: 1.02rem; line-height: 1.7; }
.testi blockquote::before { content: "\201D"; position: absolute; left: 0; top: -8px; font-family: var(--font-head); font-weight: 700; font-size: 6rem; line-height: 1; color: var(--yellow); }
.testi figcaption { padding-left: 64px; font-size: .92rem; }
.testi figcaption strong { display: block; font-size: 1rem; }
.slider-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--text-blue); background: transparent; color: var(--text-blue); cursor: pointer; display: grid; place-items: center; }
.slider-btn:hover { background: var(--text-blue); color: #fff; }
.slider-btn svg { width: 18px; height: 18px; }

/* ---------- Kunden-Karussell (Marquee, wie geoxpress.de) ---------- */
.marquee { position: relative; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display: flex; gap: 3rem; align-items: center; width: max-content; animation: scroll-left 48s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.logo-slide { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 150px; padding: 0 1.5rem; opacity: .75; transition: opacity .2s; }
.logo-slide:hover { opacity: 1; }
.logo-slide img { height: 110px; width: auto; max-width: 240px; object-fit: contain; }
.section--blue .marquee-label { margin-bottom: 18px; }

/* ---------- Städte-Kacheln (Home & Hub) ---------- */
.dach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.dach-country { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.dach-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--blue-dark); padding: 14px 20px; border-bottom: 4px solid var(--yellow); }
.dach-head h3 { margin: 0; color: #fff; font-size: 1.25rem; }
.dach-head h3 a { text-decoration: none; }
.dach-head h3 a:hover { color: var(--yellow); }
.dach-count { color: rgba(255,255,255,.8); font-size: .82rem; }
.tiles { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile a { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: background-color .2s, border-color .2s; }
.tile-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.2; color: var(--text-blue); }
.tile-focus { display: block; font-size: .78rem; line-height: 1.35; margin-top: 3px; color: var(--text-blue); opacity: .85; }
.tile a:hover { background: var(--yellow); border-color: var(--yellow); }
.tile a:hover .tile-name, .tile a:hover .tile-focus { color: var(--navy); opacity: 1; }
.tile a[data-soon] { opacity: .55; }
.tile a[data-soon]:hover { background: #fff; border-color: var(--line); }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.hub-card { display: flex; flex-direction: column; border: 1px solid var(--text-blue); border-radius: var(--radius); padding: 26px; background: #fff; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.hub-card:hover { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow); }
.hub-card h3 { margin-bottom: .2em; font-size: 1.6rem; }
.hub-card .tile-focus { font-size: .85rem; margin: 0 0 12px; font-weight: 600; color: var(--yellow-text); opacity: 1; }
.hub-card p { font-size: .95rem; margin: 0; }
.hub-card a { text-decoration: none; }
.hub-card[data-soon] { opacity: .55; }

/* ---------- Key Facts (Stadtseiten) ---------- */
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: var(--radius); background: var(--soft); max-width: 1040px; margin: 0 auto 54px; }
.keyfacts > div { padding: 18px 22px; }
.keyfacts > div + div { border-left: 1px solid var(--line); }
.keyfacts dt { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--yellow-text); margin-bottom: 4px; }
.keyfacts dd { margin: 0; font-size: .95rem; line-height: 1.45; font-weight: 600; }
.keyfacts-title { grid-column: 1 / -1; padding: 12px 22px 0 !important; border-left: 0 !important; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--text-blue); }

/* ---------- Artikel-Text (Stadtseiten) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: .2em; }
.prose p { font-size: 1.02rem; }
.service-card-link { display: inline-block; margin: 0 0 1.1em; font-weight: 600; font-size: .92rem; color: var(--blue-dark); }
.section--white .recs { max-width: 820px; margin: 36px auto 0; padding: 26px 30px; border-left: 6px solid var(--yellow); background: var(--soft); border-radius: var(--radius); }
.recs h3 { color: var(--text-blue); }
.recs .check-list li { margin-bottom: .6em; }
.conclusion { max-width: 820px; margin: 0 auto; text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--text-blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; line-height: 26px; text-align: center; border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow-text); font-size: 1.2rem; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; background: var(--yellow); color: var(--navy); }
.faq-item p { padding: 0 44px 18px 4px; margin: 0; font-size: .98rem; }

/* ---------- Kontaktformular (Web3Forms) ---------- */
.contact-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.contact-head h2 { color: #fff; }
.contact-head p { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.form { max-width: 1040px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; margin-bottom: 5px; color: #fff; }
.field label .req { color: var(--yellow); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(0,25,70,.45); border: 1px solid rgba(255,255,255,.7); border-radius: 3px; padding: 11px 12px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; background: rgba(0,25,70,.7); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin: 6px 0 22px; color: #fff; }
.consent input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--yellow); flex: none; }
.consent a { color: #fff; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { display: none; max-width: 1040px; margin: 0 auto 24px; padding: 18px 22px; border-radius: var(--radius); background: #fff; color: var(--navy); }
.form-status.show { display: block; }
.form-status strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.form-status.err { border-left: 6px solid #d64545; }
.form-status.ok { border-left: 6px solid #2ca56b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 52px 0 26px; font-size: .9rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 36px; align-items: start; }
.footer-col h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5em; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: var(--yellow); }
.footer-brand { text-align: right; }
.footer-brand img { width: 190px; margin-left: auto; display: block; }
.footer-brand p { color: var(--yellow); font-size: .85rem; margin: 8px 0 12px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-size: .82rem; }
.footer-legal a { color: #fff; }
.social { display: flex; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.social a:hover { background: rgba(255,255,255,.18); }
.social svg { width: 24px; height: 24px; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--navy); cursor: pointer; display: none; place-items: center; z-index: 90; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.to-top.show { display: grid; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.3em; }
.legal p, .legal li { font-size: .98rem; }
.legal a { color: var(--blue-dark); }
.credit-list { padding-left: 1.1em; }
.hero--plain { padding: 40px 0 90px; }
.hero--plain h1 { margin: 0; }

/* ---------- Platzhalter für noch nicht gebaute Seiten (Phase 1) ---------- */
a[data-soon] { cursor: default; }
.main-nav a[data-soon], .nav-dropdown-menu a[data-soon], .footer-col a[data-soon] { opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand, .footer-legal, .social { text-align: left; justify-content: flex-start; }
  .footer-brand img { margin-left: 0; }
  .dach { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-inner { align-items: center; }
  .brand { border-bottom: 0; padding: 10px 0; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--blue-dark); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 0 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav > a, .nav-dropdown-trigger { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.2); width: 100%; justify-content: space-between; }
  .nav-dropdown { display: block; }
  .nav-dropdown-menu { position: static; box-shadow: none; border-top: 0; background: rgba(0,0,0,.18); padding: 4px 0; }
  .nav-dropdown-menu a { padding: 12px 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 260px; }
  .hero { padding-top: 36px; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .cols-2, .results { grid-template-columns: 1fr; gap: 24px; }
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts > div:nth-child(odd) { border-left: 0; }
  .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section { padding: 54px 0; }
  .section[data-wave] { padding-bottom: 110px; }
  .cards--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-switch a { padding: 4px 9px; }
  .logo-slide { height: 110px; padding: 0 1rem; }
  .logo-slide img { height: 80px; max-width: 170px; }
  .testi blockquote, .testi figcaption { padding-left: 0; }
  .testi blockquote { padding-top: 54px; }
  .testi blockquote::before { top: -10px; }
  .summary-box, .summary-box--2 { grid-template-columns: 1fr; }
  .summary-box > div + div, .keyfacts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .keyfacts { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }

  /* ---------- Silbentrennung (Browser-basiert) auf Mobilgeräten ---------- */
  html { -webkit-hyphens: auto; hyphens: auto; }
  body { overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 3; hyphenate-limit-chars: 7 4 3; }
  h1, h2, h3, h4, p, li, dd, summary, blockquote { -webkit-hyphens: auto; hyphens: auto; }
  .btn, .lang-switch, .tile-name, .brand, .stat-num { -webkit-hyphens: manual; hyphens: manual; }
}
@media (min-width: 768px) {
  html { -webkit-hyphens: manual; hyphens: manual; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================
   v2 – Überarbeitung nach Feedback
   ========================================================= */
body { font-size: 18px; line-height: 30px; }
.container--wide { max-width: 1380px; }
:root { --yellow-small: #b86e00; }

/* Header: keine Unterstreichungen, aktive/Hover-Einträge werden gelb */
.brand { border-bottom: 0; margin-right: 0; padding: 10px 0; }
.main-nav > a, .nav-dropdown-trigger { border-bottom: 0; transition: color .2s; }
.main-nav > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger,
.main-nav > a[aria-current="page"], .nav-dropdown.is-current .nav-dropdown-trigger { color: var(--yellow); }

/* Hero kompakter */
.hero { padding: 30px 0 92px; }
.hero-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 36px; }
.hero h1 { font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.25rem); margin-bottom: .4em; line-height: 1.22; }
.hero-sub { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.5; margin-bottom: 1.1em; }
.hero-visual img { max-width: 300px; }
.hero--plain { padding: 30px 0 80px; }
.breadcrumb { margin-bottom: 14px; }

/* Fließtext 18/30 */
.card p, .cols-2, .cols-2 p, .prose p, .service-text p, .faq-item p, .legal p, .legal li, .cards--wide .card p, .why-list p { font-size: 18px; line-height: 30px; }
.service-text p { font-size: 18px; }
.keyfacts dd { font-size: 1rem; line-height: 1.5; }

/* Karten: Zentrierung, gelbe Icons und Überschriften (#ffa824) */
.card-icon { color: var(--yellow); }
.card--center { text-align: center; }
.card--center .card-icon { width: 52px; height: 52px; margin: 0 auto 16px; }
.card--center h3, .section--white .card--center h3, .section--white .card--accent h3 { color: var(--yellow); }
.section--blue .card h3 { color: var(--yellow); }
.card { padding: 30px 28px 16px; }
.service-card-link { color: var(--yellow-small); }
.keyfacts dt { color: var(--yellow-small); }
.summary-box-title { color: var(--yellow-small); }

/* Ergebnis-Zahlen: gelb, animiert */
.stat-num { color: var(--yellow); min-width: 5.2ch; font-size: 2.6rem; }
.stat-prefix { color: var(--text-blue); }
.stat-list li { align-items: center; }

/* Sektion mit Polygon-Hintergrund (wie Hero) */
.section--poly { overflow: hidden; }
.section--poly::before { content: ""; position: absolute; inset: 0; background: url("/uploads/polygon-compressed.png") top left / 500px 500px repeat; opacity: .5; pointer-events: none; }
.section--poly > .container { position: relative; z-index: 1; }
.service-rows { gap: 110px; }
.service-row { gap: 72px; }

/* Testimonials */
.testi blockquote { font-size: 21px; line-height: 34px; }
.testi figcaption { font-size: 1rem; }
.testi-wrap { max-width: 1020px; }

/* Kunden-Logos größer */
.logo-slide { height: 220px; padding: 0 1.2rem; }
.logo-slide img { height: 180px; max-width: 340px; }

/* Wellen: Schutz gegen Überdeckung + Strichstärke */
[data-wave]::after { height: 50px; }

/* ---------- Städte-Karte ---------- */
.dach-wrap { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; }
.dach-map { position: relative; background: var(--blue-dark); border-radius: 14px; overflow: hidden; padding: 18px; box-shadow: 0 18px 40px rgba(0, 38, 90, .25); }
.dach-map::before { content: ""; position: absolute; inset: 0; background: url("/uploads/polygon-compressed.png") top left / 500px 500px repeat; opacity: .5; pointer-events: none; }
.dach-map svg { position: relative; display: block; width: 100%; height: auto; }
.dach-map path { fill: rgba(255, 255, 255, .13); stroke: rgba(255, 255, 255, .55); stroke-width: 1; stroke-linejoin: round; transition: fill .3s; }
.dach-map .c-at { fill: rgba(255, 255, 255, .2); }
.dach-map .c-ch { fill: rgba(255, 255, 255, .27); }
[data-active="de"] .dach-map .c-de, [data-active="at"] .dach-map .c-at, [data-active="ch"] .dach-map .c-ch { fill: rgba(255, 168, 36, .42); }
.pin { cursor: pointer; outline: none; }
.pin-dot { fill: var(--yellow); stroke: #fff; stroke-width: 1.5; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.pin-pulse { fill: var(--yellow); opacity: .55; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
.pin-label { fill: #fff; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; paint-order: stroke; stroke: rgba(0, 38, 90, .85); stroke-width: 3px; stroke-linejoin: round; transition: font-size .2s, fill .2s; }
.pin.is-hot .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.5); }
.pin.is-hot .pin-label, .pin:focus-visible .pin-label { fill: var(--yellow); font-size: 14px; }
.pin.is-dim { opacity: .22; }
.pin.is-dim .pin-pulse { animation: none; }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes pinIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
html.js .dach-map:not(.in) .pin { opacity: 0; }
html.js .dach-map.in .pin { animation: pinIn .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.pins > g:nth-child(1) .pin { animation-delay: .05s; } .pins > g:nth-child(2) .pin { animation-delay: .12s; } .pins > g:nth-child(3) .pin { animation-delay: .19s; }
.pins > g:nth-child(4) .pin { animation-delay: .26s; } .pins > g:nth-child(5) .pin { animation-delay: .33s; } .pins > g:nth-child(6) .pin { animation-delay: .40s; }
.pins > g:nth-child(7) .pin { animation-delay: .47s; } .pins > g:nth-child(8) .pin { animation-delay: .54s; } .pins > g:nth-child(9) .pin { animation-delay: .61s; }
.pins > g:nth-child(10) .pin { animation-delay: .68s; } .pins > g:nth-child(11) .pin { animation-delay: .75s; } .pins > g:nth-child(12) .pin { animation-delay: .82s; }
.pins > g:nth-child(13) .pin { animation-delay: .89s; } .pins > g:nth-child(14) .pin { animation-delay: .96s; }
.dach-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dach-tab { font: inherit; font-size: .95rem; font-weight: 600; line-height: 1; padding: 11px 20px; border: 2px solid var(--text-blue); border-radius: 999px; background: transparent; color: var(--text-blue); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.dach-tab:hover { border-color: var(--yellow); }
.dach-tab[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.dach-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { display: flex; flex-direction: column; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s, opacity .2s; }
.chip-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--text-blue); }
.chip-focus { font-size: .78rem; line-height: 1.3; color: var(--text-blue); opacity: .8; }
.chip:hover, .chip.is-hot, .chip:focus-visible { background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(255, 168, 36, .35); }
.chip:hover .chip-name, .chip.is-hot .chip-name, .chip:hover .chip-focus, .chip.is-hot .chip-focus { color: var(--navy); opacity: 1; }
.chip.is-dim { opacity: .3; }
.dach-info { border-left: 6px solid var(--yellow); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 24px; min-height: 140px; }
.dach-info-name { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; color: var(--text-blue); margin-bottom: 4px; }
.dach-info-text { display: block; font-size: 1rem; line-height: 1.6; margin-bottom: 10px; }
.dach-info-link { padding: .6em 1.1em; font-size: .95rem; }
.dach-info-link[hidden] { display: none; }

/* ---------- Über IT-Marketing ---------- */
.about-why { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1180px; margin: 0 auto; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.about-photo figcaption { font-size: .85rem; line-height: 1.4; margin-top: 8px; text-align: center; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { position: relative; padding: 0 0 0 54px; margin-bottom: 28px; }
.why-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow) url("/uploads/check-white.svg") center / 18px no-repeat; }
.why-list h3 { margin-bottom: .3em; }
.why-list p { margin: 0; }
.quote-block { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; margin: 0 auto; max-width: 1100px; }
.quote-block img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.quote-block blockquote { margin: 0; position: relative; padding-left: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); line-height: 1.5; color: #fff; }
.quote-block blockquote::before { content: "\201D"; display: block; font-size: 5rem; line-height: .8; color: var(--yellow); margin-bottom: 8px; }
.quote-block blockquote p { margin: 0 0 .8em; }
.quote-block footer { font-family: var(--font-body); font-size: 1rem; color: var(--yellow); }

@media (max-width: 980px) {
  .main-nav > a, .nav-dropdown-trigger { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .hero-visual img { max-width: 200px; }
  .service-rows { gap: 64px; }
  .dach-wrap, .about-why, .quote-block { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { position: static; max-width: 300px; margin: 0 auto; }
  .logo-slide { height: 150px; }
  .logo-slide img { height: 120px; max-width: 230px; }
}
@media (max-width: 767px) {
  .testi blockquote { font-size: 19px; line-height: 31px; }
}


/* =========================================================
   v3
   ========================================================= */
/* Polygon-Muster fest eingebacken (identisch in Hero, Poly-Sektionen und Wellen) */
.hero, .section--poly, .dach-map { background: #0046a0 url("/uploads/polygon-blue.png") top left / 500px 500px repeat; }
.hero::before, .section--poly::before, .dach-map::before { content: none; }

/* Wellen: Form per Maske, Füllung = Farbe/Muster der Folge-Sektion, Pinselstriche getrennt (unterbrochen) */
[data-wave]::after, [data-wave]::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 51px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
[data-wave]::after { z-index: 2; -webkit-mask: url("/uploads/wave-shape.svg") 0 0 / 100% 100% no-repeat; mask: url("/uploads/wave-shape.svg") 0 0 / 100% 100% no-repeat; }
[data-wave]::before { z-index: 3; }
[data-wave="white"]::after { background: #fff; }
[data-wave="blue"]::after { background: #1881f5; }
[data-wave="dark"]::after { background: #0046a0; }
[data-wave="poly"]::after { background: url("/uploads/polygon-blue.png") 0 -450px / 500px 500px repeat; }
[data-wave="white"]::before { background-image: url("/uploads/wave-streaks-white.svg"); }
[data-wave="blue"]::before { background-image: url("/uploads/wave-streaks-blue.svg"); }
[data-wave="dark"]::before, [data-wave="poly"]::before { background-image: url("/uploads/wave-streaks-dark.svg"); }

/* FAQ auf farbigem Hintergrund */
.section--blue .faq-item { border-bottom-color: rgba(255, 255, 255, .38); }
.section--blue .faq-item summary { color: #fff; }
.section--blue .faq-item summary::after { border-color: var(--yellow); color: var(--yellow); }
.section--blue .faq-item[open] summary::after { background: var(--yellow); color: var(--navy); }
.section--blue .faq-item p { color: #fff; }

/* Kundenstimmen etwas kleiner */
.testi blockquote { font-size: 19px; line-height: 31px; }

/* Hero-Bild größer (Seiten mit Berg-Grafik) */
.hero--wide .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hero--wide .hero-visual img { max-width: 540px; }

/* Über IT-Marketing: 1 Foto + 2 Punkte, darunter 3 Punkte */
.about-why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; }
.about-photo { grid-column: 1; grid-row: 1; position: static; }
.why-list { display: contents; }
.why-list li.why-item { padding: 0; margin: 0; }
.why-list li.why-item::before { content: none; }
.why-item:nth-child(1) { grid-column: 2; grid-row: 1; }
.why-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.why-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.why-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.why-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.why-item h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 1.2rem; }
.why-check { flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--yellow) url("/uploads/check-white.svg") center / 16px no-repeat; }
.why-item p { margin: 0; }

/* Bewertungs-Logos über die volle Breite */

/* Rechtstexte als Overlay (wie geoxpress.de) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 30, 70, .78); display: flex; align-items: flex-start; justify-content: center; padding: 60px 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; z-index: 300; overflow-y: auto; }
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-box { background: #fff; color: var(--text-blue); border-radius: 10px; max-width: 780px; width: 100%; padding: 40px; position: relative; max-height: 84vh; overflow-y: auto; }
.modal-box h2 { font-size: 1.7rem; }
.modal-box h3 { font-size: 1.05rem; margin-top: 1.7em; }
.modal-box p, .modal-box li { font-size: .95rem; line-height: 1.65; }
.modal-box a { color: var(--blue-dark); overflow-wrap: anywhere; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--text-blue); cursor: pointer; font-size: 1rem; }
.modal-close:hover { background: var(--yellow); color: var(--navy); }
.footer-legal button, .link-btn { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.footer-legal button { font-size: .82rem; }
.footer-seo { margin: 30px auto 0; max-width: 980px; text-align: center; font-size: .92rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.footer-seo a { color: #fff; text-decoration: underline; }

@media (max-width: 980px) {
  .hero--wide .hero-visual img { max-width: 300px; }
  .about-why { grid-template-columns: 1fr; }
  .about-photo, .why-item:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 767px) {
  .testi blockquote { font-size: 17px; line-height: 28px; }
  .modal-box { padding: 28px 22px; }
}


/* =========================================================
   v4
   ========================================================= */
/* Wellen-Pseudoelemente immer am unteren Rand (top:auto überschreibt „inset:0“ von Hero/Poly) */
[data-wave]::after, [data-wave]::before { top: auto; }

/* Kundenstimmen: Ein-/Ausblenden mit Wischeffekt + Fortschrittsbalken */
.testi-track { display: grid; overflow: visible; scroll-snap-type: none; }
.testi { grid-area: 1 / 1; flex: none; opacity: 0; visibility: hidden; transform: translateX(80px); transition: opacity .8s ease, transform .8s ease, visibility 0s linear .8s; }
.testi.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s ease, transform .8s ease, visibility 0s; }
.testi.out-left { transform: translateX(-80px); }
.testi.pre-prev { transform: translateX(-80px); }
.testi.no-anim { transition: none; }
.testi-progress { height: 4px; margin-top: 28px; border-radius: 2px; background: rgba(55, 93, 151, .18); overflow: hidden; }
.testi-progress i { display: block; width: 0; height: 100%; background: var(--yellow); }
.slider-nav { align-items: center; justify-content: space-between; margin-top: 16px; }
.dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--text-blue); background: transparent; cursor: pointer; }
.dot[aria-current="true"] { background: var(--yellow); border-color: var(--yellow); }

/* Footer */
.footer-brand .footer-claim { max-width: 340px; margin: 12px 0 0 auto; font-size: .8rem; line-height: 1.55; color: rgba(255, 255, 255, .92); text-align: right; }
.footer-brand .social { margin-top: 14px; }
.footer-bottom { align-items: center; }
.footer-bottom .footer-legal { display: flex; gap: 18px; }
@media (max-width: 1100px) { .footer-brand .footer-claim { margin-left: 0; text-align: left; } }


/* =========================================================
   v5
   ========================================================= */
/* Zwischenüberschriften (Lead-Texte) als <h3>, Hero-Unterzeile als <h2> – optisch unverändert */
h3.lead { font-family: var(--font-head); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.55; font-weight: 400; margin: 0 0 1.1em; color: inherit; }
.section-head h3.lead { margin-bottom: 0; }
h3.lead.lead--wide { margin-left: auto; margin-right: auto; }
.contact-head h3.contact-sub { font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; line-height: 1.55; color: #fff; margin: 0; }
.hero h2.hero-sub { font-weight: 400; }

/* Kontaktformular: weniger dunkle Eingabefelder */
.field input, .field textarea { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .75); }
.field input:focus, .field textarea:focus { background: rgba(255, 255, 255, .22); }

/* Länder-Hub: ganze Kachel klickbar, <h4> gelb, Link unter dem Text */
.hub-card { position: relative; text-decoration: none; }
.hub-card h4.hub-focus { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--yellow); margin: 0 0 .7em; }
.hub-card p { margin: 0 0 1em; }
.hub-link { margin-top: auto; font-weight: 600; color: var(--blue-dark); text-decoration: none; }
.hub-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hub-card:hover .hub-link, .hub-link:focus-visible { text-decoration: underline; }
.hub-card:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow); }

/* Stadt-Seiten: Service-Links gelb */
.service-card-link { color: var(--yellow); }


/* =========================================================
   v6
   ========================================================= */
/* Menü: transparent über dem Hero, Hintergrund erst nach dem Scrollen */
.site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled, .nav-open .site-header { background: var(--blue-dark); box-shadow: 0 4px 18px rgba(0, 30, 80, .28); }
.hero, .hero--plain { padding-top: calc(var(--header-h) + 28px); }
@media (max-width: 980px) { .hero, .hero--plain { padding-top: calc(var(--header-h) + 18px); } }

/* Kundenstimmen: nur Pfeile (keine Punkte) */
.slider-nav { justify-content: flex-end; gap: 8px; }

/* v7: drei Textspalten (Stadt-Seiten) */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1180px; margin: 0 auto; }
.cols-3 p { font-size: 18px; line-height: 30px; margin: 0; }
.section--blue .cols-3 p { color: #fff; }
@media (max-width: 980px) { .cols-3 { grid-template-columns: 1fr; gap: 20px; } }

/* v8: seitlich verschobene (ausgeblendete) Kundenstimmen dürfen die Seite nicht verbreitern */
.testi-wrap { overflow-x: clip; }
@supports not (overflow: clip) { .testi-wrap { overflow: hidden; padding-top: 16px; } }

/* =========================================================
   v9: Hero – Text immer links, Bild rechts; nur auf Handys gestapelt
   Reihenfolge Handy: H1, H2, Hero-Bild, Button, danach der Rest
   ========================================================= */
@media (min-width: 768px) and (max-width: 980px) {
  .hero-grid, .hero--wide .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .hero-visual { order: 0; margin-top: 0; }
  .hero-visual img, .hero--wide .hero-visual img { max-width: 260px; }
  .hero h1 { font-size: clamp(1.5rem, 1rem + 2vw, 2rem); }
  .hero-sub { font-size: 1.05rem; }
}
@media (max-width: 767px) {
  .hero-grid, .hero--wide .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-text { display: contents; }
  .hero-text h1 { order: 1; margin-bottom: .45em; }
  .hero-text .hero-sub { order: 2; margin-bottom: 1.1em; }
  .hero-visual { order: 3; margin: 0 0 1.4em; justify-content: center; }
  .hero-visual img, .hero--wide .hero-visual img { width: 100%; max-width: 300px; }
  .hero-text .btn { order: 4; align-self: flex-start; }
}

/* v10: Silbentrennung im Footer-Claim immer aktiv (Desktop und Mobil) */
.footer-brand .footer-claim { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; hyphenate-limit-chars: 6 3 3; }

/* Anspruch / Quick-Check-Ablauf */
.promise { max-width: 820px; margin: 28px auto 0; padding: 16px 22px; border-left: 6px solid var(--yellow); border-radius: var(--radius); background: var(--soft); color: var(--text-blue); font-family: var(--font-head); font-size: 1.1rem; line-height: 1.5; }
.promise strong { color: var(--yellow-text); }
.steps { max-width: 1040px; margin: 0 auto 44px; }
.section--dark .steps-title { text-align: center; font-size: 1.3rem; margin-bottom: 30px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.step { position: relative; border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius); padding: 30px 22px 10px; }
.step-num { position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h4 { color: var(--yellow); font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 .2em; }
.step p { color: #fff; font-size: .94rem; line-height: 1.65; margin: 0 0 1em; }
.step .step-tag { color: var(--yellow); font-weight: 600; font-size: .85rem; margin-bottom: .6em; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -26px; width: 14px; height: 14px; border-top: 3px solid var(--yellow); border-right: 3px solid var(--yellow); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 767px) {
  .steps-list { grid-template-columns: 1fr; gap: 44px; }
  .step:not(:last-child)::after { top: auto; bottom: -30px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
}

/* Wellen höher (Amplitude skaliert mit der Höhe, da Maske auf 100 % × 100 % gestreckt wird) */
[data-wave]::after, [data-wave]::before { height: 80px; }
.section[data-wave] { padding-bottom: 155px; }
@media (max-width: 767px) {
  [data-wave]::after, [data-wave]::before { height: 58px; }
  .section[data-wave] { padding-bottom: 118px; }
}
