/* autobatterie-bielefeld.de – Designlinie „modern-hell": viel Weiß, Varta-Blau, warmes Gelb für CTAs, Karten statt Tabellen */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #0a3d91;
  --blue-dark: #072c6b;
  --blue-light: #e8eefb;
  --yellow: #ffc627;
  --yellow-dark: #e6ae0f;
  --text: #1c2431;
  --muted: #5b6474;
  --line: #e4e8ef;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(10, 61, 145, 0.08);
  --shadow-hover: 0 12px 32px rgba(10, 61, 145, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Skip-Link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: #1c1400;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 198, 39, 0.35);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--yellow-dark); color: #000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 198, 39, 0.45); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(10, 61, 145, 0.3); }
.btn-blue:hover, .btn-blue:focus-visible { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--blue-light); color: var(--blue-dark); }
.btn-small { padding: .55rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--text); }
.brand img { width: 120px; height: auto; }
.brand-text { font-size: 1.05rem; line-height: 1.1; color: var(--muted); }
.brand-text strong { color: var(--blue); display: block; font-size: 1.15rem; }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-burger span { display: block; height: 3px; background: var(--blue); border-radius: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; }
.site-nav a { display: block; padding: .5rem .8rem; text-decoration: none; color: var(--text); font-weight: 600; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--blue-light); color: var(--blue); }
.nav-cta a { background: var(--blue); color: #fff; border-radius: 999px; padding: .55rem 1rem; }
.nav-cta a:hover { background: var(--blue-dark); color: #fff; }
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .site-nav { display: none; width: 100%; padding-bottom: .8rem; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .nav-cta { margin-top: .4rem; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #1c5bc4 100%); color: #fff; padding: 3rem 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #dbe5fb; }
.hero-badge { display: inline-block; background: var(--yellow); color: #1c1400; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; font-size: .9rem; margin-bottom: 1rem; }
.hero-img { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.hero-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .4rem; }
.hero-list li { padding-left: 1.7rem; position: relative; }
.hero-list li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 800; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { order: -1; } }

/* Sektionen */
.section { padding: 3.5rem 0; }
.section-white { background: var(--white); }
.section-blue { background: var(--blue-light); }
.section-head { max-width: 70ch; margin-bottom: 2rem; }

/* USP-Karten */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.usp-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .3rem; }
.card p:last-child { margin-bottom: 0; }

/* Reihen-Übersicht */
.range-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.range-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.range-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text); }
.range-card img { width: 140px; height: 140px; margin: 0 auto .8rem; }
.range-card h3 { color: var(--blue); }
.range-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.range-card .range-more { margin-top: auto; padding-top: .8rem; color: var(--blue); font-weight: 700; }

/* Reihe mit Preis-Kacheln */
.range-block { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.range-block .range-visual { position: sticky; top: 90px; text-align: center; }
.range-block .range-visual img { width: 220px; height: 220px; margin: 0 auto 1rem; }
.range-tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .6rem; }
@media (max-width: 800px) { .range-block { grid-template-columns: 1fr; } .range-block .range-visual { position: static; } }

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1rem; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .3rem; transition: transform .15s, box-shadow .15s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.price-ah { font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.price-ah span { font-size: 1rem; font-weight: 600; margin-left: .15rem; color: var(--muted); }
.price-name { font-size: .85rem; color: var(--muted); }
.price-value { font-size: 1.5rem; font-weight: 800; margin: .3rem 0 .5rem; }
.price-value sup { font-size: .7rem; color: var(--muted); }
.price-card .btn { margin-top: auto; }
.pfand { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* Info-Boxen auf Detailseiten */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.check-list { padding-left: 1.4rem; }
.check-list li { margin-bottom: .35rem; }
.note { background: #fff7dd; border-left: 4px solid var(--yellow); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; }

/* Marken */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; }
.brand-item { background: var(--white); border-radius: 12px; padding: .8rem; text-align: center; box-shadow: var(--shadow); font-size: .8rem; color: var(--muted); }
.brand-item img { width: 64px; height: 64px; margin: 0 auto .4rem; object-fit: contain; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq details { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .8rem; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; color: var(--muted); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.route-list { padding-left: 1.2rem; }
.route-list li { margin-bottom: .4rem; }

/* CTA-Band */
.cta-band { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: .3rem 0 0; color: #dbe5fb; }

/* Breadcrumb */
.breadcrumb { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; }

/* Textseiten */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }

/* Footer */
.site-footer { background: #0e1a33; color: #c9d3e6; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.footer-title { font-size: 1.05rem; color: var(--yellow); margin-bottom: .8rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .9rem; }
.footer-bottom .small { font-size: .8rem; color: #8f9cb8; }

@media print {
  .site-header, .site-footer, .btn, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* WhatsApp-Floating-Button + Footer-Logo (Ticket 1034, 2026-08-28) */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; padding: .7rem 1.1rem .7rem .85rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.wa-float:hover, .wa-float:focus { background: #1ebe5b; color: #fff; }
.wa-float svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }
@media print { .wa-float { display: none !important; } }
.footer-logo { display: block; width: 220px; max-width: 100%; height: auto; margin-bottom: .9rem; }

/* Artikel-Kacheln mit Bild + Daten (Sortiment 2026, Ticket 1034) */
.price-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.price-card { text-align: left; padding: 1rem 1rem 1.1rem; }
.price-card img { width: 120px; height: 120px; margin: 0 auto .4rem; object-fit: contain; }
.price-card .price-ah { text-align: center; }
.price-name { font-size: .95rem; font-weight: 700; color: var(--text); margin: .2rem 0 .5rem; text-align: center; line-height: 1.25; }
.price-specs { display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; margin: 0 0 .6rem; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; }
.price-specs dt { font-weight: 600; white-space: nowrap; }
.price-specs dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.price-card .price-value { text-align: center; }
.ah-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .5rem; }
.ah-nav a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--blue); }
.ah-nav a:hover { background: var(--blue-light); }
.ah-group { margin: 1.6rem 0 .2rem; font-size: 1.05rem; color: var(--blue); scroll-margin-top: 90px; }
.ah-group span { font-weight: 500; color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.price-card { scroll-margin-top: 90px; }
