/* absperrking – Grundlage (UMBAU Abschnitt 3 und 4.1) */

:root {
	--ak-green: #27403A;
	--ak-green-dark: #1A2C28;
	--ak-yellow: #FFCD00;
	--ak-yellow-hover: #F2C200;
	--ak-ink: #1F2A2E;
	--ak-muted: #55656A;
	--ak-surface: #F4F5F2;
	--ak-border: #DCE0DC;
	--ak-cream: #FFF4C2;
	--ak-ok: #2E8B47;
	--ak-ok-text: #2E6B3A;
	--ak-kicker: #4E6A3A;
	--ak-font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ak-max: 1240px;
	--ak-rand: 24px;
	--ak-radius: 6px;
	--ak-radius-karte: 10px;
	--ak-stripe: repeating-linear-gradient(-45deg, var(--ak-yellow) 0 14px, var(--ak-ink) 14px 28px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-width: 320px;
	font-family: var(--ak-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-ink);
	background: #fff;
	overflow-x: hidden;
}
body.ak-gesperrt { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ak-green); }
a:hover { color: var(--ak-green-dark); }
:focus-visible { outline: 3px solid var(--ak-yellow); outline-offset: 2px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--ak-ink); }
h1 { font-size: 40px; margin: 0 0 20px; }
h2 { font-size: 32px; margin: 40px 0 14px; }
h3 { font-size: 22px; margin: 28px 0 10px; }
input::placeholder { color: #6B7A7F; }

.ak-wrap { max-width: var(--ak-max); margin: 0 auto; padding: 0 var(--ak-rand); }
.ak-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ak-gelb { color: var(--ak-yellow) !important; }
.ak-stripe { height: 6px; background: var(--ak-stripe); }
.ak-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ak-kicker); margin: 0 0 8px; }

.ak-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ak-yellow); color: var(--ak-ink); padding: 12px 16px; border-radius: var(--ak-radius); font-weight: 800; }
.ak-skip:focus { left: 8px; }

/* Buttons */
.ak-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--ak-radius); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.ak-btn--y { background: var(--ak-yellow); color: var(--ak-ink); }
.ak-btn--y:hover { background: var(--ak-yellow-hover); color: var(--ak-ink); }
.ak-btn--g { background: var(--ak-green); color: #fff; }
.ak-btn--g:hover { background: var(--ak-green-dark); color: #fff; }
.ak-btn--o { border: 2px solid #fff; color: #fff; background: transparent; }
.ak-btn--o:hover { background: rgba(255,255,255,.1); color: #fff; }
.ak-btn--l { background: #fff; color: var(--ak-green); border: 2px solid var(--ak-green); }
.ak-btn--l:hover { background: #EEF3F0; }

/* Karten */
.ak-karte { background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-karte); }
.ak-karte:hover { border-color: var(--ak-green); box-shadow: 0 6px 20px rgba(31,42,46,.08); }

/* ---------- Topbar ---------- */
.ak-topbar { background: var(--ak-green-dark); color: #E8EEEA; font-size: 13px; }
.ak-topbar__in { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.ak-topbar__schake { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ak-topbar__schake svg { stroke-width: 2.4; }
.ak-topbar__mehr { display: inline-flex; flex-wrap: wrap; gap: 4px 24px; }
.ak-topbar__mehr a { color: var(--ak-yellow); font-weight: 700; text-decoration: none; }

/* ---------- Header ---------- */
.ak-header { background: var(--ak-green); position: relative; z-index: 50; }
.ak-hrow { display: flex; align-items: center; gap: 16px 28px; padding-top: 16px; padding-bottom: 16px; }
.ak-logo { flex: 0 0 auto; display: block; }
.ak-logo img { height: 50px; width: auto; display: block; }

.ak-burger { display: none; width: 48px; height: 48px; flex: 0 0 auto; border: 0; border-radius: var(--ak-radius); background: var(--ak-yellow); color: var(--ak-ink); align-items: center; justify-content: center; cursor: pointer; }
.ak-burger svg { stroke-width: 2.6; }

.ak-search { flex: 1 1 360px; display: flex; min-width: 0; }
.ak-search input { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: var(--ak-radius) 0 0 var(--ak-radius); padding: 0 16px; font-size: 15px; color: var(--ak-ink); background: #fff; }
.ak-search button { width: 56px; height: 48px; flex: 0 0 auto; border: 0; border-radius: 0 var(--ak-radius) var(--ak-radius) 0; background: var(--ak-yellow); color: var(--ak-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ak-search button:hover { background: var(--ak-yellow-hover); }
.ak-search button svg { stroke-width: 2.4; }
.ak-search--mobil { display: none; }
.ak-search--hell input { border: 1px solid #C9CFCA; border-right: 0; }

.ak-hact { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.ak-hact a { color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; gap: 4px; min-width: 44px; min-height: 44px; font-weight: 600; white-space: nowrap; }
.ak-hact a:hover { color: var(--ak-yellow); }
.ak-korb { position: relative; display: block; line-height: 0; }
.ak-anzahl { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ak-yellow); color: var(--ak-ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.ak-anzahl[hidden] { display: none; }

/* ---------- Navigation (nie horizontal scrollen) ---------- */
.ak-nav { border-top: 1px solid rgba(255,255,255,.12); }
.ak-navrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; }
.ak-navlinks { display: flex; align-items: center; gap: 24px; min-width: 0; }
.ak-navlinks a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 0; white-space: nowrap; }
.ak-navlinks a:hover { color: var(--ak-yellow); }
.ak-sort { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 16px; margin: 4px 0; border: 0; border-radius: var(--ak-radius); background: var(--ak-yellow); color: var(--ak-ink); font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.ak-sort:hover { background: var(--ak-yellow-hover); }
.ak-sort__pfeil { transition: transform .15s; }
.ak-sort[aria-expanded="true"] .ak-sort__pfeil { transform: rotate(180deg); }
.ak-angebot { color: var(--ak-yellow); font-weight: 800; text-decoration: none; font-size: 15px; white-space: nowrap; padding: 14px 0; flex: 0 0 auto; }
.ak-angebot:hover { color: #fff; }

/* Einträge nach Breite ausblenden (Reihenfolge: hinten zuerst) */
@media (max-width: 1179px) { .ak-nav__p4, .ak-nav__p5 { display: none; } }
@media (max-width: 1099px) { .ak-nav__p3 { display: none; } }
@media (max-width: 939px) { .ak-nav__p2 { display: none; } }

/* ---------- Mega-Menü ---------- */
.ak-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 6px solid var(--ak-yellow); box-shadow: 0 18px 40px rgba(31,42,46,.18); }
.ak-mega[hidden] { display: none; }
.ak-mega__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding: 28px 0 22px; }
@media (max-width: 1179px) { .ak-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* F1: Stadtdesign und Vector hervorgehoben (André 28.11.2026). */
.ak-dir--hervor { background: var(--ak-cream); border-radius: var(--ak-radius-karte); padding: 14px 16px 12px; margin: -14px -4px 0; }
.ak-dir--hervor h3 { border-bottom-color: var(--ak-green); }
.ak-mega .ak-dir h3 { font-size: 16px; }
.ak-dir h3 { margin: 0 0 10px; font-size: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--ak-yellow); display: inline-block; max-width: 100%; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.ak-dir h3 a { color: var(--ak-ink); text-decoration: none; }
.ak-dir h3 a:hover { color: var(--ak-green); }
.ak-dir > a { display: block; color: #3C4B50; text-decoration: none; padding: 5px 0; font-size: 15px; }
.ak-dir > a:hover { color: var(--ak-green); text-decoration: underline; }
.ak-dir > a.ak-dir__alle { color: var(--ak-green); font-weight: 700; margin-top: 4px; }
.ak-mega__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 0 24px; border-top: 1px solid var(--ak-border); font-size: 15px; }
.ak-mega__label { font-weight: 800; }
.ak-mega__fuss a { color: var(--ak-green); font-weight: 600; text-decoration: none; }
.ak-mega__fuss a:hover { text-decoration: underline; }

/* ---------- Mobil-Menü ---------- */
.ak-mobil { position: fixed; inset: 0; z-index: 1000; background: var(--ak-green); color: #fff; display: flex; flex-direction: column; }
.ak-mobil[hidden] { display: none; }
.ak-mobil__kopf { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ak-mobil__kopf .ak-burger { display: flex; width: 44px; height: 44px; }
.ak-mobil__kopf .ak-logo img { height: 38px; }
.ak-mobil__scroll { flex: 1; overflow-y: auto; padding-bottom: 12px; }
.ak-search--panel { padding: 14px; }
.ak-search--panel input, .ak-search--panel button { height: 44px; }
.ak-mobil__label { padding: 16px 20px 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ak-yellow); }
.ak-mi { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 20px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ak-mi:hover { color: var(--ak-yellow); background: rgba(255,255,255,.04); }
.ak-mi--hervor { color: var(--ak-yellow); box-shadow: inset 4px 0 0 var(--ak-yellow); }
.ak-mobil__fuss { padding: 16px; background: var(--ak-green-dark); display: flex; flex-direction: column; gap: 10px; }
.ak-mobil__fuss .ak-btn { font-weight: 800; }
.ak-mobil__fuss .ak-btn--o { min-height: 44px; }

/* ---------- Inhalt ---------- */
.ak-main { display: block; }
.ak-inhalt { padding-top: 48px; padding-bottom: 72px; }
.ak-text { font-size: 17px; line-height: 1.7; max-width: 820px; }
.ak-shop .ak-text, .ak-shop { max-width: var(--ak-max); }
.ak-eintrag + .ak-eintrag { margin-top: 40px; }

/* ---------- Footer ---------- */
.ak-foot { background: var(--ak-ink); color: #D6DED9; padding: 56px 0 28px; font-size: 14px; }
.ak-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.ak-foot__marke img { height: 48px; width: auto; display: block; margin-bottom: 16px; }
.ak-foot__marke p { margin: 0 0 12px; line-height: 1.6; }
.ak-foot a { color: #D6DED9; text-decoration: none; }
.ak-foot a:hover { color: var(--ak-yellow); }
.ak-foot__spalte { display: flex; flex-direction: column; gap: 2px; }
.ak-foot__spalte strong { color: #fff; font-size: 15px; margin-bottom: 6px; }
.ak-foot__spalte a { display: flex; align-items: center; min-height: 32px; }
.ak-foot__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #AEBBB5; }
.ak-foot__unten a { text-decoration: underline; color: inherit; }

/* ---------- unter 860 px: Burger, Suche unter dem Logo ---------- */
@media (max-width: 859px) {
	h1 { font-size: 30px; }
	h2 { font-size: 26px; }
	.ak-topbar { font-size: 12px; }
	.ak-topbar__in { justify-content: center; }
	.ak-topbar__mehr { display: none; }
	.ak-hrow { gap: 10px; padding: 10px 14px; }
	.ak-burger { display: flex; width: 44px; height: 44px; }
	.ak-logo img { height: 38px; }
	.ak-hrow .ak-search, .ak-nav, .ak-hact .ak-hact__weg { display: none; }
	.ak-hact a > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ak-search--mobil { display: flex; padding: 0 14px 12px; }
	.ak-search--mobil input, .ak-search--mobil button { height: 44px; }
	.ak-inhalt { padding-top: 28px; padding-bottom: 48px; }
	.ak-foot { padding-top: 40px; }
}
@media (min-width: 860px) {
	.ak-mobil { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* P9 Chat 5: „Ihr Bedarf“ (angemeldete Gewerbekunden) und Kontobereich */
.ak-bedarf { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ak-yellow); color: var(--ak-ink); font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.ak-nav--bedarf { box-shadow: inset 0 -3px 0 var(--ak-yellow); }
.ak-einsatz__kachel > .ak-bedarf { position: absolute; left: 18px; top: 18px; margin: 0; z-index: 1; }
.ak-mi > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.ak-konto { margin-top: 24px; }
.ak-konto h2 { font-size: 26px; margin: 32px 0 8px; }
.ak-konto h3 { font-size: 19px; margin: 28px 0 8px; }
.ak-konto table { width: 100%; border-collapse: collapse; }
.ak-konto th, .ak-konto td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ak-border); vertical-align: top; }
.ak-konto__daten th { width: 38%; color: var(--ak-muted); font-weight: 600; }
.ak-konto__links { padding-left: 20px; }
.ak-konto__links li { margin: 6px 0; }
