/*
Theme Name: Autohaus Kiefer
Theme URI: https://kiefer-automobile.de
Author: Autohaus Kiefer
Description: Eigenes, schlankes Theme für Autohaus Kiefer in Weinheim. Schwarz und Gelb, große Überschriften, Kacheln mit Info-Boxen.
Version: 1.0.17
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: kiefer
*/

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a:hover { color: #fff36b; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }
h1, h2, h3, h4, p, ul { margin: 0; }
.wp-block-post-content { overflow: clip; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:focus-visible { outline: 3px solid #FFE600; outline-offset: 3px; }

/* ---------- Raster & Abstände ---------- */
.ak-inner { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ak-wide { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.ak-section { padding-top: 120px; }
.ak-section-b { padding-bottom: 120px; }
.ak-center { text-align: center; }

/* ---------- Typografie ---------- */
.ak-h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; max-width: 900px; }
.ak-h1-xl { font-size: clamp(56px, 10vw, 136px); line-height: .92; font-weight: 800; letter-spacing: -0.05em; }
.ak-h2 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.ak-h2-m { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; }
.ak-sub { margin-top: 24px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.38; color: #d2d2d7; max-width: 640px; font-weight: 500; }
.ak-center .ak-sub { margin-left: auto; margin-right: auto; }
.ak-text { margin-top: 20px; font-size: 19px; line-height: 1.5; color: #a1a1a6; max-width: 560px; }
.ak-more { margin-top: 24px; font-size: 17px; font-weight: 600; }
.ak-mt { margin-top: 64px; }

/* ---------- Knöpfe ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.wp-block-button__link { min-height: 52px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.wp-block-button.is-style-ak-gelb .wp-block-button__link { background: #FFE600; color: #000; }
.wp-block-button.is-style-ak-gelb .wp-block-button__link:hover { background: #fff36b; color: #000; }
.wp-block-button.is-style-ak-rahmen .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.wp-block-button.is-style-ak-rahmen .wp-block-button__link:hover { border-color: #fff; color: #fff; }
.wp-block-button.is-style-ak-dunkel .wp-block-button__link { background: #2a2a2a; color: #fff; }
.ak-light .wp-block-button.is-style-ak-dunkel .wp-block-button__link { background: #000; }

/* ---------- Startbereich (Hero) ---------- */
.ak-hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; background: #111; overflow: hidden; }
.ak-hero > .ak-bg { position: absolute; inset: 0; }
.ak-hero > .ak-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ak-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.92) 100%); pointer-events: none; }
.ak-hero > .ak-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 140px 24px 96px; box-sizing: border-box; }

/* ---------- Kacheln ---------- */
.ak-tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.ak-tiles > * { min-width: 0; }
.ak-w2 { flex: 2 1 640px; }
.ak-w1 { flex: 1 1 320px; }
.ak-w15 { flex: 1 1 380px; }
.ak-w52 { flex: 1 1 520px; }
.ak-full { flex: 1 1 100%; }
.ak-tile { position: relative; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #111; padding: 40px; box-sizing: border-box; min-height: 480px; }
.ak-h620 { min-height: 620px; } .ak-h560 { min-height: 560px; } .ak-h540 { min-height: 540px; } .ak-h460 { min-height: 460px; } .ak-h420 { min-height: 420px; } .ak-h360 { min-height: 360px; }
.ak-tile > .ak-bg { position: absolute; inset: 0; z-index: 0; }
.ak-tile > .ak-bg img { width: 100%; height: 100%; object-fit: cover; }
.ak-tile.ak-foto::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.86) 100%); pointer-events: none; }
.ak-tile.ak-foto.ak-seitlich { justify-content: center; }
.ak-tile.ak-foto.ak-seitlich::after { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.1) 100%); }
.ak-tile.ak-foto.ak-abgedunkelt::after { background: rgba(0,0,0,.6); }
.ak-tile > :not(.ak-bg) { position: relative; z-index: 2; }
.ak-tile.ak-gelb { background: #FFE600; color: #000; justify-content: space-between; }
.ak-tile.ak-dunkel { background: #141414; justify-content: space-between; }
.ak-tile.ak-mitte { align-items: center; justify-content: center; text-align: center; }
.ak-tile-h { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.ak-tile-h-s { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.ak-tile-xl { font-size: clamp(56px, 9vw, 120px); line-height: .9; font-weight: 800; letter-spacing: -0.045em; }
.ak-tile-l { font-size: clamp(48px, 6vw, 88px); line-height: .9; font-weight: 800; letter-spacing: -0.045em; }
.ak-mega { font-size: clamp(96px, 10.5vw, 150px); line-height: .85; font-weight: 800; letter-spacing: -0.06em; white-space: nowrap; }
.ak-tile-text { margin-top: 18px; font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.ak-tile .ak-more { margin-top: 12px; font-size: 18px; color: #FFE600; }
.ak-tile.ak-gelb .ak-more { color: #000; }
.ak-wortliste { list-style: none; padding: 0; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.ak-wortliste li + li { margin-top: 6px; }
.ak-wortliste.ak-gross { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }

/* Bildausschnitte */
.ak-pos-35 img { object-position: center 35% !important; }
.ak-pos-40 img { object-position: center 40% !important; }
.ak-pos-58 img { object-position: center 58% !important; }
.ak-pos-60 img { object-position: center 60% !important; }
.ak-pos-x30 img { object-position: 30% center !important; }
.ak-pos-rechts img { object-position: right center !important; }
.ak-npe-teaser { background: #050505; }
.ak-spacer-16 { height: 16px; }

/* Ganze Kachel klickbar (Verlinkung über den ersten Link in der Kachel) */
.ak-link { cursor: pointer; }
.ak-link:hover .ak-bg img { transform: scale(1.03); }
.ak-bg img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }

/* Modell-Karten (Bild oben, Text unten) */
.ak-karte { border-radius: 28px; overflow: hidden; background: #141414; display: flex; flex-direction: column; }
.ak-karte > .wp-block-image img { width: 100%; height: 380px; object-fit: cover; }
.ak-karte > .ak-karte-text { padding: 40px; }
.ak-karte .ak-tile-text { font-size: 21px; font-weight: 500; color: #d2d2d7; margin-top: 14px; }

/* ---------- Info-Boxen ---------- */
.ak-has-info { position: relative; display: flex; }
.ak-has-info > .ak-tile, .ak-has-info > .ak-karte { flex: 1 1 auto; width: 100%; }
.ak-info { display: none; }
.ak-plus { position: absolute; right: 24px; top: 24px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font: 400 28px/1 Inter, sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s; }
.ak-plus:hover { transform: scale(1.08); }
.ak-has-info.ak-plus-dunkel .ak-plus { background: rgba(0,0,0,.12); color: #000; }
.ak-has-info .ak-tile, .ak-has-info .ak-karte { cursor: pointer; }

.ak-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; animation: akfade .2s ease-out; }
.ak-modal[hidden] { display: none; }
.ak-modal-card { position: relative; background: #141414; color: #f5f5f7; border-radius: 28px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; animation: akup .28s cubic-bezier(.2,.8,.2,1); }
.ak-modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #2a2a2a; color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.ak-modal .ak-info { display: flex; flex-direction: column; gap: 18px; padding: 48px 44px 44px; }
.ak-info-big { font-size: clamp(56px, 9vw, 104px); line-height: .88; font-weight: 800; letter-spacing: -0.05em; color: #FFE600; padding-right: 48px; }
.ak-info h3 { margin-top: 8px; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.ak-info p { font-size: 19px; line-height: 1.5; color: #d2d2d7; }
.ak-info .ak-info-big { color: #FFE600; font-size: clamp(56px, 9vw, 104px); line-height: .88; }
.ak-info .ak-info-note { font-size: 13px; color: #8e8e93; }
.ak-info .wp-block-buttons { margin-top: 16px; }
.ak-check { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.ak-check li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.45; }
.ak-check li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: #FFE600; color: #000; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@keyframes akfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes akup { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Bildreihe zum Wischen ---------- */
.ak-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 8px; scrollbar-width: none; }
.ak-strip::-webkit-scrollbar { display: none; }
.ak-strip > .wp-block-image { flex: 0 0 auto; width: min(78vw, 520px); scroll-snap-align: start; }
.ak-strip > .wp-block-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; }

/* ---------- Bänder & Abschnitte ---------- */
.ak-light { background: #f5f5f7; color: #1d1d1f; }
.ak-light .ak-text, .ak-light .ak-sub { color: #424245; }
.ak-band-gelb { background: #FFE600; color: #000; }
.ak-band-gelb .ak-woerter { display: flex; flex-wrap: wrap; gap: 48px 32px; padding-top: 120px; padding-bottom: 120px; }
.ak-band-gelb .ak-woerter > p { flex: 1 1 300px; font-size: clamp(44px, 5.5vw, 72px); line-height: .95; font-weight: 800; letter-spacing: -0.045em; }
.ak-statement { padding: 160px 24px; text-align: center; }
.ak-statement .ak-h1-xl { font-size: clamp(48px, 8vw, 112px); line-height: .95; }
.ak-statement .ak-sub { margin: 28px auto 0; opacity: .72; color: inherit; }
.ak-glow { background: radial-gradient(ellipse 60% 70% at 50% 100%, #2a2a2a 0%, #000 70%); overflow: hidden; }
.ak-glow-rechts { background: radial-gradient(ellipse 55% 75% at 72% 100%, #2c2c2c 0%, #000 70%); overflow: hidden; }
.ak-teamfoto img { width: 100%; max-width: 1200px; margin: 64px auto 0; }
.ak-quote { padding: 140px 24px; text-align: center; max-width: 900px; margin: 0 auto; }
.ak-quote .ak-zitat { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; color: inherit; }
.ak-quote .ak-quelle { margin-top: 24px; font-size: 17px; color: #6e6e73; }
.ak-presse { color: #FFE600; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.ak-tile .ak-zitat { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; max-width: 820px; }
.ak-tile .ak-quelle { margin-top: 18px; font-size: 17px; color: #d2d2d7; }

/* Zwei Spalten: Text + Bild */
.ak-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ak-split > * { flex: 1 1 380px; min-width: 0; }
.ak-split.ak-unten { align-items: flex-end; gap: 24px 48px; }
.ak-chefkarte { height: 520px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 100%, #2a2a2a 0%, #141414 55%, #0b0b0b 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.ak-chefkarte img { height: 94%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; }
.ak-chefkarte figure { height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.ak-chef-hero img { max-width: 460px; width: 100%; margin-left: auto; }
.ak-split.ak-unten > .ak-split-text { padding-bottom: 120px; flex: 1 1 480px; }

/* Zahlen */
.ak-zahlen { display: flex; flex-wrap: wrap; gap: 48px 32px; margin-top: 64px; }
.ak-zahl { flex: 1 1 220px; min-width: 0; }
.ak-zahl .ak-zahl-wert { font-size: clamp(56px, 6.5vw, 88px); line-height: .9; font-weight: 800; letter-spacing: -0.05em; color: #FFE600; }
.ak-zahl .ak-zahl-text { margin-top: 14px; font-size: 19px; font-weight: 600; color: #d2d2d7; }
.ak-fussnote { margin-top: 56px; font-size: 13px; color: #8e8e93; }
.ak-farben { display: flex; gap: 12px; margin-top: 56px; }
.ak-farben span { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* Vertrauensleiste */
.ak-trust { display: flex; flex-wrap: wrap; gap: 1px; background: #262626; border-radius: 20px; overflow: hidden; }
.ak-trust > * { flex: 1 1 220px; background: #0b0b0b; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.ak-trust .ak-trust-wert { font-size: 22px; font-weight: 700; color: #FFE600; }
.ak-trust .ak-trust-text { font-size: 16px; font-weight: 600; color: #f5f5f7; }

/* Bildpaar */
.ak-bildpaar { display: flex; flex-wrap: wrap; gap: 16px; }
.ak-bildpaar > .wp-block-image { flex: 1 1 520px; min-width: 0; }
.ak-bildpaar > .wp-block-image img { width: 100%; height: 440px; object-fit: cover; border-radius: 28px; }

/* Handy-Darstellung der App */
.ak-split > .ak-phone { flex: 0 0 300px; }
.ak-phone { width: 300px; max-width: 300px; height: 612px; border-radius: 54px; background: #111; padding: 12px; box-sizing: border-box; box-shadow: 0 40px 80px rgba(0,0,0,.28), inset 0 0 0 2px #2b2b2b; margin: 0 auto; }
.ak-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #FFE600; display: flex; flex-direction: column; align-items: center; }
.ak-phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; }
.ak-phone-logo { width: 150px; height: 150px; margin-top: 70px; }
.ak-phone-name { margin-top: 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #000; }
.ak-phone-grid { margin-top: auto; margin-bottom: 34px; width: 100%; padding: 0 22px; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
.ak-phone-grid div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #000; }
.ak-store { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ak-store a { background: #000; color: #fff; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 12px; min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; }
.ak-store a:hover { color: #FFE600; }

/* ---------- Kopfzeile ---------- */
.ak-header { position: sticky; top: 0; z-index: 100; background: rgba(0,0,0,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid #1f1f1f; }
.admin-bar .ak-header { top: 32px; }
.ak-nav { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.ak-logo { display: flex; align-items: center; flex-grow: 1; }
.ak-logo img { height: 20px; width: auto; display: block; }
.ak-menu { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; font-weight: 500; }
.ak-menu a { color: #d2d2d7; }
.ak-menu a:hover, .ak-menu a[aria-current="page"] { color: #fff; }
.ak-menu a[aria-current="page"] { font-weight: 600; }
.ak-termin { background: #FFE600; color: #000 !important; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.ak-menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.ak-menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }

/* ---------- Kontakt & Fußzeile ---------- */
.ak-kontakt { background: #0b0b0b; border-top: 1px solid #1f1f1f; }
.ak-kontakt-inner { max-width: 1200px; margin: 0 auto; padding: 110px 24px; display: flex; flex-wrap: wrap; gap: 56px; }
.ak-kontakt-inner > div { flex: 1 1 380px; min-width: 0; }
.ak-kontakt h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; }
.ak-kontakt address { margin-top: 20px; font-style: normal; font-size: 19px; line-height: 1.6; color: #d2d2d7; }
.ak-kontakt .ak-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ak-knopf { font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px; min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; }
.ak-knopf-gelb { background: #FFE600; color: #000 !important; }
.ak-knopf-rahmen { color: #fff !important; border: 1.5px solid rgba(255,255,255,.5); }
.ak-zeiten h3 { margin-bottom: 18px; font-size: 22px; font-weight: 700; }
.ak-zeiten dl { margin: 0; border-top: 1px solid #262626; }
.ak-zeiten dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid #262626; font-size: 17px; }
.ak-zeiten dt { font-weight: 600; }
.ak-zeiten dd { margin: 0; color: #d2d2d7; }
.ak-footer { border-top: 1px solid #1f1f1f; }
.ak-footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 13px; color: #8e8e93; }
.ak-footer-inner img { height: 14px; width: auto; display: block; }
.ak-footer-inner .ak-copy { flex-grow: 1; }
.ak-footer-inner a { color: #a1a1a6; }
.ak-footer-inner a:hover { color: #fff; }

/* Rechtstexte (Impressum, Datenschutz) */
.ak-rechtstext { max-width: 760px; margin: 0 auto; padding: 120px 24px; font-size: 17px; line-height: 1.65; color: #d2d2d7; }
.ak-rechtstext h1 { font-size: clamp(40px, 5vw, 64px); color: #f5f5f7; margin-bottom: 40px; }
.ak-rechtstext h2 { font-size: 26px; color: #f5f5f7; margin: 48px 0 12px; letter-spacing: -0.02em; }
.ak-rechtstext h3 { font-size: 20px; color: #f5f5f7; margin: 32px 0 8px; }
.ak-rechtstext p, .ak-rechtstext ul { margin: 0 0 16px; }

/* Fahrzeugseiten */
.ak-hero.ak-ohne-bild { min-height: 520px; background: radial-gradient(ellipse 60% 80% at 70% 100%, #2a2a2a 0%, #000 70%); }
.ak-hero.ak-ohne-bild::after { display: none; }
.ak-daten { margin-top: 48px; border-top: 1px solid #262626; }
.ak-daten-zeile { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid #262626; }
.ak-daten-k { flex: 0 0 240px; font-weight: 700; color: #f5f5f7; font-size: 19px; }
.ak-daten-v { flex: 1 1 320px; color: #d2d2d7; font-size: 19px; }
.ak-tile.ak-besonders { min-height: 0; padding: 56px 48px; justify-content: flex-start; }
.ak-zeitleiste { list-style: none; padding: 0; margin-top: 48px; border-left: 2px solid #FFE600; }
.ak-zeitleiste li { padding: 0 0 32px 28px; font-size: 19px; line-height: 1.5; color: #d2d2d7; }
.ak-zeitleiste li strong { display: block; color: #f5f5f7; font-size: 21px; margin-bottom: 4px; }
.ak-strip > .wp-block-image { position: relative; }
.ak-strip > .wp-block-image a { display: block; border-radius: 24px; overflow: hidden; }
.ak-strip > .wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px 24px 22px; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8)); color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-align: left; pointer-events: none; }
.ak-strip > .wp-block-image a:hover img { transform: scale(1.03); }
.ak-strip > .wp-block-image img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ak-rechtstext a { color: #FFE600; }
.ak-rechtstext strong { color: #f5f5f7; }

/* Google-Sterne (Teilfüllung über --wert) */
.ak-sterne { --wert: 5; position: relative; display: inline-block; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.ak-sterne::before { content: "★★★★★"; background: linear-gradient(90deg, #FFE600 calc(var(--wert) / 5 * 100%), #3a3a3a calc(var(--wert) / 5 * 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ak-trust-google .ak-trust-text a { color: #f5f5f7; }
.ak-trust-google .ak-trust-text a:hover { color: #FFE600; }
.ak-trust-google { display: flex; flex-direction: column; gap: 6px; }

/* Bilder-Slider in der Info-Box (weiße Fläche, Fahrzeuge wirken freigestellt) */
.ak-slider { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; background: #fff; border-radius: 20px; scrollbar-width: none; margin-top: 8px; }
.ak-slider::-webkit-scrollbar { display: none; }
.ak-slider > .wp-block-image { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; padding: 8px 8px 18px; box-sizing: border-box; }
.ak-slider > .wp-block-image img { width: 100%; max-width: 520px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.ak-slider figcaption { margin: 0; color: #1d1d1f; font-size: 17px; font-weight: 700; text-align: center; }
.ak-slider-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: -4px; }
.ak-slider-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #2a2a2a; color: #fff; font-size: 20px; cursor: pointer; }
.ak-slider-nav button:hover { background: #FFE600; color: #000; }
.ak-slider-nav span { font-size: 14px; color: #a1a1a6; min-width: 48px; text-align: center; }

/* Platzhalter für noch fehlende Angaben */
.ak-platzhalter { border: 2px dashed #FFE600; border-radius: 14px; padding: 16px 20px; color: #f5f5f7 !important; background: rgba(255,230,0,.06); }
.ak-luecke { display: inline-block; background: #FFE600; color: #000; font-weight: 700; font-size: .85em; padding: 1px 8px; border-radius: 6px; }

/* Fahrzeugseiten im Kachel-Design */
.ak-kennzahl { font-size: clamp(44px, 4.6vw, 68px); line-height: .9; font-weight: 800; letter-spacing: -0.045em; white-space: nowrap; }
.ak-tile.ak-dunkel .ak-kennzahl { color: #FFE600; }
.ak-technik { justify-content: flex-start; gap: 4px; }
.ak-technik .ak-tile-h-s { margin-bottom: 16px; }
.ak-technik .ak-daten-zeile { display: block; padding: 14px 0; border-bottom: 1px solid #262626; }
.ak-technik .ak-daten-zeile:last-child { border-bottom: 0; }
.ak-technik .ak-daten-k { font-size: 17px; font-weight: 700; color: #f5f5f7; }
.ak-technik .ak-daten-v { font-size: 17px; color: #a1a1a6; margin-top: 2px; }
.ak-mit-kleinbild { justify-content: space-between; }
.ak-foto-klein { display: flex; justify-content: center; align-items: center; flex: 1 1 auto; }
.ak-foto-klein img { width: auto; max-width: 100%; height: auto; max-height: 300px; border-radius: 16px; }
.ak-strip img[src$="-Klein.jpeg"] { object-fit: contain; background: #141414; }

/* ---------- Handy ---------- */
@media (max-width: 782px) {
	.admin-bar .ak-header { top: 46px; }
}
@media (max-width: 760px) {
	.ak-section { padding-top: 88px; }
	.ak-section-b { padding-bottom: 88px; }
	.ak-hero { min-height: 640px; }
	.ak-hero > .ak-hero-inner { padding: 120px 20px 64px; }
	.ak-tile { padding: 28px; min-height: 380px; }
	.ak-h620, .ak-h560, .ak-h540 { min-height: 440px; }
	.ak-h460, .ak-h420 { min-height: 380px; }
	.ak-h360 { min-height: 300px; }
	.ak-statement { padding: 110px 20px; }
	.ak-quote { padding: 100px 20px; }
	.ak-karte > .wp-block-image img { height: 260px; }
	.ak-karte > .ak-karte-text { padding: 28px; }
	.ak-strip > .wp-block-image img { height: 280px; }
	.ak-daten-k { flex-basis: 100%; }
	.ak-npe-teaser > .ak-bg img { object-fit: contain; object-position: center 30%; }
	.ak-npe-teaser.ak-h620 { min-height: 360px; }
	.ak-tile.ak-besonders { padding: 36px 28px; }
	.ak-bildpaar > .wp-block-image img { height: 300px; }
	.ak-chefkarte { height: 420px; }
	.ak-split.ak-unten > .ak-split-text { padding-bottom: 24px; }
	.ak-kontakt-inner { padding: 88px 20px; }
	.ak-band-gelb .ak-woerter { padding-top: 88px; padding-bottom: 88px; }
	.ak-menu-btn { display: block; order: 3; }
	.ak-termin { order: 2; }
	.ak-menu { order: 4; display: none; width: 100%; flex-direction: column; gap: 0; font-size: 20px; font-weight: 600; padding: 8px 0 12px; }
	.ak-menu a { padding: 12px 0; border-bottom: 1px solid #1f1f1f; color: #f5f5f7; }
	.ak-header.is-open .ak-menu { display: flex; }
	.ak-header.is-open .ak-menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.ak-header.is-open .ak-menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
	.ak-modal { align-items: flex-end; padding: 0; }
	.ak-modal-card { border-radius: 28px 28px 0 0; max-height: 88vh; }
	.ak-modal .ak-info { padding: 40px 24px 32px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ak-modal, .ak-modal-card { animation: none; }
	.ak-bg img { transition: none; }
}

/* Über uns: Info-Box zu Arnd Kiefer */
.ak-chef-wrap { justify-content: flex-end; }
.ak-chef-wrap > .ak-karte { flex: 0 1 460px; margin-left: auto; }
.ak-chef-wrap .ak-plus { background: #FFE600; color: #000; top: auto; bottom: 32px; right: 24px; width: 52px; height: 52px; font-size: 32px; }
.ak-info .ak-info-kicker { font-size: 15px; font-weight: 600; color: #FFE600; margin: 0; }
.ak-info-person h3 { margin-top: 0; }
.ak-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ak-mini-grid.ak-mini-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ak-mini { background: #232323; border-radius: 20px; padding: 20px 20px 22px; }
.ak-info .ak-mini p { margin: 0; }
.ak-info .ak-mini .ak-mini-jahr { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #FFE600; }
.ak-info .ak-mini .ak-mini-text { font-size: 16px; line-height: 1.4; color: #d2d2d7; margin-top: 10px; }
.ak-mini.ak-mini-gelb { background: #FFE600; }
.ak-info .ak-mini.ak-mini-gelb p { color: #000; }
@media (max-width: 600px) {
	.ak-mini { padding: 16px 14px 18px; }
	.ak-info .ak-mini .ak-mini-text { font-size: 14px; }
	.ak-mini-grid.ak-mini-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.ak-mini-3 .ak-mini { padding: 14px 12px; }
	.ak-info .ak-mini-3 .ak-mini-jahr { font-size: 22px; }
	.ak-info .ak-mini-3 .ak-mini-text { font-size: 13px; }
}

.ak-kontakt .ak-mail { margin: 4px 0 0; font-size: 19px; color: #d2d2d7; }
.ak-kontakt .ak-mail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
