/* Autoservice Kessler, freie Kfz-Werkstatt (Beispiel-Website von Hillcode)
   Stil: werkstatt + typo / typo. Kühles Grau, Tinte, Petrolblau, Signalgelb.
   Barlow Semi Condensed + IBM Plex Sans. */

@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-semi-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); }

:root {
  --cool: #EEF1F4;
  --white: #FFFFFF;
  --ink: #0E1A24;
  --ink-soft: #46535F;
  --petrol: #0F4C81;
  --petrol-dark: #0B3A63;
  --yellow: #FFC72C;
  --line: #CDD5DD;
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "IBM Plex Sans", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --space: clamp(64px, 8vw, 112px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section-title { font-size: clamp(40px, 5vw, 64px); text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 28px;
  font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; transition: background-color .15s, color .15s;
}
.btn--main { background: var(--petrol); color: var(--white); }
.btn--main:hover { background: var(--petrol-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

/* ---------- Kopf ---------- */
.site-header { background: var(--cool); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 80px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.brand__sub { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--petrol); padding-left: 10px; border-left: 2px solid var(--yellow); line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding-block: 10px; }
.nav a:hover { color: var(--petrol); }
.nav .nav__cta { background: var(--petrol); color: var(--white); padding: 11px 18px; border-radius: var(--radius); }
.nav .nav__cta:hover { background: var(--petrol-dark); color: var(--white); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0.02em; text-decoration: none; }
.icon-btn svg { color: var(--petrol); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .icon-btn__text { display: none; }
  .icon-btn { background: var(--yellow); border-radius: var(--radius); }
  .icon-btn svg { color: var(--ink); }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius);
    font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; }
  .menu-btn__bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(14, 26, 36, .12); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 21px; }
  .nav .nav__cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .site-header__inner { gap: 10px; min-height: 68px; }
}
@media (max-width: 420px) {
  .menu-btn__label { display: none; }
  .menu-btn { width: 48px; justify-content: center; padding: 0; }
  .brand__name { font-size: 28px; }
  .brand__sub { font-size: 16px; }
}

/* ---------- Hero (typografisch) ---------- */
.hero { background: var(--cool); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; padding-top: clamp(36px, 4.5vw, 64px); }
.hero__text { padding-bottom: clamp(36px, 4.5vw, 64px); align-self: center; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--petrol); margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 6.1vw, 88px); text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; margin-bottom: 28px; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 31em; margin-bottom: 32px; }
.hero__art { position: relative; min-height: 420px; background: var(--petrol); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }

.hours-bar { background: var(--ink); color: var(--white); }
.hours-bar__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding-block: 22px; }
.hours-bar__inner div { padding: 2px 22px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hours-bar__inner div:first-child { border-left: 0; padding-left: 0; }
.hours-bar dt { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.hours-bar dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: 0.01em; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero__text { padding-bottom: 0; }
  .kicker { font-size: 18px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 72px); margin-bottom: 18px; }
  .lead { font-size: 18px; margin-bottom: 24px; }
  .btn { flex: 1 1 auto; }
  .hero__art { min-height: 0; height: 260px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .hero__art img { object-position: 50% 30%; }
  .hours-bar__inner { grid-template-columns: 1fr; padding-block: 10px; }
  .hours-bar__inner div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .hours-bar__inner div:first-child { border-top: 0; }
  .hours-bar dt { font-size: 15px; }
  .hours-bar dd { font-size: 20px; margin: 0; text-align: right; }
}

/* ---------- Alle Marken ---------- */
.brands__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.brands__title { font-size: clamp(64px, 11vw, 160px); text-transform: uppercase; line-height: 0.86; color: var(--petrol); letter-spacing: -0.01em; }
.brands__lead { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 18px; }
.brands__text p:last-child { color: var(--ink-soft); margin: 0; max-width: 36em; }
@media (max-width: 860px) { .brands__grid { grid-template-columns: 1fr; } }

/* ---------- Leistungen ---------- */
.services { background: var(--cool); }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.service-grid li { padding: 24px 0 26px; border-top: 1px solid #BAC4CE; }
.service-grid li:nth-child(-n+2) { border-top: 4px solid var(--ink); }
.service-grid h3 { font-size: 28px; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; }
.service-grid p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-grid li:nth-child(2) { border-top: 1px solid #BAC4CE; }
  .service-grid h3 { font-size: 25px; }
}

/* ---------- Werkstatt-Fotos ---------- */
.shop__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.shop__grid figure { margin: 0; }
.shop__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.shop__a { grid-column: 1 / span 8; }
.shop__b { grid-column: 9 / span 4; grid-row: span 2; }
.shop__c { grid-column: 1 / span 4; }
.shop__facts { grid-column: 5 / span 4; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-content: start; }
.shop__facts div { padding: 14px 14px 16px 0; border-top: 4px solid var(--yellow); margin-right: 14px; }
.shop__facts dt { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--petrol); }
.shop__facts dd { margin: 6px 0 0; font-size: 16px; line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 860px) {
  .shop__a, .shop__b, .shop__c, .shop__facts { grid-column: 1 / -1; grid-row: auto; }
  .shop__b img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 60%; }
  .shop__c { display: none; }
  .shop__facts { margin-top: 12px; }
}

/* ---------- Unfall ---------- */
.accident { background: var(--ink); color: var(--white); }
.accident__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.accident__intro { position: sticky; top: 32px; }
.accident h2 { font-size: clamp(44px, 5.6vw, 76px); text-transform: uppercase; margin-bottom: 24px; }
.accident__intro p { color: #C8D1DA; }
.accident__phone { display: inline-flex; align-items: center; min-height: 60px; margin: 12px 0 18px; padding: 8px 22px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: 0.02em; text-decoration: none; border-radius: var(--radius); }
.accident__phone:hover { background: #FFD666; }
.accident__phone:focus-visible { outline-color: var(--white); }
.accident .accident__small { font-size: 16px; color: #A9B6C2; max-width: 30em; }
.stages { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(255, 255, 255, .25); }
.stages li { position: relative; padding: 0 0 36px 32px; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before { content: ""; position: absolute; left: -2px; top: 4px; width: 4px; height: 28px; background: var(--yellow); }
.stages h3 { font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; }
.stages p { margin: 0; color: #C8D1DA; max-width: 34em; }
@media (max-width: 860px) {
  .accident__grid { grid-template-columns: 1fr; }
  .accident__intro { position: static; }
  .accident__phone { font-size: 28px; }
  .stages h3 { font-size: 26px; }
}

/* ---------- Terminanfrage (Baustein) ---------- */
.booking { background: var(--petrol); color: var(--white); }
.booking__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.booking .section-title { margin-bottom: 22px; }
.booking__text > p { color: #DCE7F2; }
.perks { list-style: none; margin: 28px 0 0; padding: 0; }
.perks li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .25); color: #DCE7F2; }
.perks strong { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--yellow); }
#termin .tp {
  --tp-accent: #0F4C81; --tp-accent-ink: #FFFFFF; --tp-surface: #FFFFFF; --tp-ink: #0E1A24;
  --tp-muted: #46535F; --tp-line: #CDD5DD; --tp-radius: 4px; --tp-font: "IBM Plex Sans", Arial, sans-serif;
  max-width: none; margin: 0; box-shadow: 0 24px 60px rgba(4, 20, 36, .35); font-size: 17px;
}
#termin .tp__badge { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: 0.1em; }
#termin .tp__steps { font-size: 15px; }
#termin .tp__steps li::before { border-radius: 0; width: 10px; height: 4px; }
#termin .tp__title { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
#termin .tp__service { min-height: 56px; }
#termin .tp__service span { font-size: 15px; }
#termin .tp__day span, #termin .tp__day small { font-size: 14px; }
#termin .tp__time { border-radius: 4px; min-height: 44px; }
#termin .tp__book { border-radius: 4px; font-family: var(--display); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; min-height: 56px; }
#termin .tp__link { font-size: 15px; min-height: 44px; }
@media (max-width: 860px) { .booking__grid { grid-template-columns: 1fr; } }

/* ---------- Anfahrt ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.visit .section-title { margin-bottom: 20px; }
.visit__addr { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.2; }
.visit__grid > div > p:last-child { color: var(--ink-soft); }
.visit__h { font-size: 24px; text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 12px; border-bottom: 4px solid var(--ink); margin: 14px 0 4px; }
.times { width: 100%; border-collapse: collapse; }
.times th, .times td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.times th { font-weight: 600; padding-right: 16px; }
.times td { font-variant-numeric: tabular-nums; }
.visit .visit__note { margin-top: 14px; font-size: 17px; }
.visit__contact { padding-top: 12px; }
.visit__contact a { display: inline-block; padding-block: 8px; text-underline-offset: 4px; }
.visit__contact a:first-child { font-family: var(--display); font-weight: 700; font-size: 30px; text-decoration: none; color: var(--petrol); }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.site-footer { background: var(--ink); color: #C8D1DA; font-size: 17px; padding-block: 36px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; align-items: center; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--white); font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.site-footer a:hover { color: var(--white); }
