/* GRUNDLAYOUT: Für einfache Änderungen zuerst anpassungen.css öffnen. */

/* =======================================================
   01 - FARBEN (GRUNDWERTE)
   ======================================================= */
:root {
  --navy:#071e2b;
  --navy2:#102d3b;
  --cream:#f7e2b6;
  --gold:#e4a82e;
  --red:#a51e19;
  --paper:#f6f0e5;
  --ink:#142631;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

/* =======================================================
   02 - SCHRIFT UND GRUNDLAYOUT
   ======================================================= */
body {
  margin:0;
  background:var(--navy);
  color:var(--paper);
  font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif;
}

a {
  color:inherit;
}

img {
  max-width:100%;
  display:block;
}

.wrap {
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}

.skip {
  position:absolute;
  left:-9999px;
}

.skip:focus {
  left:10px;
  top:10px;
  z-index:1000;
  background:#fff;
  color:#000;
  padding:8px;
}

/* =======================================================
   03 - MITLAUFENDE MENÜLEISTE
   ======================================================= */
.header {
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(7,30,43,.98);
  border-bottom:1px solid rgba(247,226,182,.32);
  box-shadow:0 4px 20px #0003;
}

.header-inner {
  height:86px;
  display:flex;
  align-items:center;
  gap:28px;
}

.brand {
  width:210px;
  flex-shrink:0;
}

.brand img {
  width:100%;
  height:74px;
  object-fit:contain;
}

nav {
  display:flex;
  align-items:center;
  gap:26px;
  margin-left:auto;
}

nav a {
  text-decoration:none;
  font-weight:650;
  font-size:15px;
}

nav a:hover,.footer a:hover {
  color:var(--cream);
}

.header-call {
  background:var(--red);
  border:1px solid var(--cream);
  padding:9px 16px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
}

.menu-toggle {
  display:none;
}

/* =======================================================
   04 - STARTBILD UND TITEL
   ======================================================= */
.hero {
  position:relative;
  min-height:550px;
  display:flex;
  align-items:center;
  isolation:isolate;
}

.hero-photo {
  position:absolute;
  inset:0;
  background:url('bilder/kundenfahrzeug.jpeg') center 54%/cover no-repeat;
  z-index:-2;
}

.hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(4,19,28,.96) 0%,rgba(4,19,28,.89) 26%,rgba(4,19,28,.18) 69%,rgba(4,19,28,.05) 100%);
}

.hero-inner {
  padding:72px 0;
}

.hero-panel {
  max-width:490px;
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:800;
  font-size:12px;
  color:var(--cream);
}

.gold {
  color:var(--gold);
}

h1,h2,h3,p {
  margin-top:0;
}

h1 {
  font-size:clamp(44px,5.5vw,78px);
  line-height:1.06;
  letter-spacing:-.035em;
  color:var(--cream);
  margin:12px 0 16px;
}

h1 em,h2 em {
  font-family:Georgia,serif;
  font-style:italic;
  font-weight:600;
}

h2 {
  font-size:clamp(34px,4.3vw,55px);
  line-height:1.12;
  color:var(--cream);
  margin-bottom:20px;
}

h3 {
  font-size:21px;
  color:var(--cream);
}

.hero-sub {
  font-family:serif;
  font-style:italic;
  font-size:25px;
  color:var(--cream);
}

.hero-panel>p:not(.eyebrow) {
  max-width:420px;
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:750;
  padding:13px 22px;
  border-radius:7px;
  border:1px solid var(--cream);
  transition:transform .15s,background .15s;
}

.btn:hover {
  transform:translateY(-2px);
}

.btn-red {
  background:var(--red);
  color:white;
}

.btn-outline {
  background:transparent;
  color:var(--cream);
}

/* =======================================================
   05 - INFOSTREIFEN
   ======================================================= */
.quickbar {
  background:var(--cream);
  color:var(--ink);
}

.quickgrid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  padding:19px 0;
}

.quickgrid>div {
  display:flex;
  gap:13px;
  align-items:center;
}

.quickgrid strong,.quickgrid span:not(.quick-icon) {
  display:block;
}

.quickgrid span:not(.quick-icon) {
  font-size:13px;
}

.quick-icon {
  font-size:31px;
  color:var(--red);
}

.section {
  padding:86px 0;
}

/* =======================================================
   06 - LEISTUNGEN
   ======================================================= */
.services {
  text-align:center;
  background:var(--navy);
}

.intro {
  max-width:720px;
  margin:0 auto 30px;
  color:#d9d9d4;
}

.service-image {
  max-width:1120px;
  margin:0 auto 20px;
}

.service-image img {
  width:100%;
  height:auto;
}

.service-note {
  margin:20px 0;
  color:var(--cream);
}

/* =======================================================
   07 - ÜBER UNS
   ======================================================= */
.about {
  background:var(--navy2);
  border-block:1px solid #d6b87966;
}

.about-grid {
  display:grid;
  grid-template-columns:360px 1fr;
  gap:70px;
  align-items:center;
}

.about-portrait img {
  width:100%;
  height:460px;
  object-fit:cover;
  object-position:center 25%;
  border:3px solid var(--cream);
  border-radius:14px;
}

.about-text {
  max-width:650px;
}

.about-text p {
  font-size:17px;
}

/* =======================================================
   08 - WERKSTATT-FOTOS
   ======================================================= */
.impressions {
  background:var(--paper);
  color:var(--ink);
}

.impressions h2,.contact h2 {
  color:var(--ink);
}

.impressions .intro {
  margin-left:0;
  color:#555;
}

.photo-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:17px;
}

.photo-grid figure {
  margin:0;
  background:white;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 25px #0002;
}

.photo-grid img {
  width:100%;
  height:215px;
  object-fit:cover;
}

.photo-grid figcaption {
  padding:12px 15px;
  font-weight:750;
}

/* =======================================================
   09 - TERMIN
   ======================================================= */
.appointment {
  background:var(--navy2);
}

.appointment-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.appointment-grid img {
  width:100%;
  border:2px solid var(--cream);
  border-radius:12px;
}

.appointment .btn {
  margin:8px 10px 0 0;
}

/* =======================================================
   10 - KONTAKT
   ======================================================= */
.contact {
  background:var(--paper);
  color:var(--ink);
}

.contact-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.contact-card {
  background:white;
  border-top:4px solid var(--red);
  padding:26px;
  border-radius:8px;
  box-shadow:0 4px 18px #0001;
}

.contact-card h3 {
  color:var(--ink);
}

.contact-card a {
  color:#9d1714;
  font-weight:700;
}

/* =======================================================
   11 - FUSSZEILE
   ======================================================= */
.footer {
  padding:32px 0 16px;
  background:#061720;
}

.footer-inner {
  display:flex;
  gap:25px;
  align-items:center;
}

.footer-inner img {
  width:160px;
}

.footer-inner p {
  font-size:13px;
  margin:4px 0;
}

.footer-links {
  margin-left:auto;
  display:flex;
  gap:20px;
}

.footer-bottom {
  border-top:1px solid #ffffff30;
  padding-top:12px;
  margin-top:22px;
  font-size:12px;
  color:#b8c0c3;
}

/* =======================================================
   12 - IMPRESSUM / DATENSCHUTZ
   ======================================================= */
.legal {
  background:var(--paper);
  color:var(--ink);
  min-height:65vh;
}

.legal h1 {
  color:var(--ink);
  font-size:44px;
}

.legal h2 {
  font-size:25px;
  color:var(--ink);
}

.legal .notice {
  background:#fff2d9;
  border-left:5px solid #aa2c1d;
  padding:18px;
  margin:24px 0;
}

.legal p {
  max-width:850px;
}

/* =======================================================
   13 - TABLET-ANSICHT
   ======================================================= */
@media(max-width:900px) {
  .header-inner {
    height:75px;
  }

  .brand {
    width:175px;
  }

  .brand img {
    height:64px;
  }

  .header-call {
    margin-left:auto;
  }

  .menu-toggle {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    background:none;
    border:1px solid #ffffff66;
    border-radius:5px;
    padding:10px;
    order:3;
  }

  .menu-toggle span {
    width:22px;
    height:2px;
    background:var(--cream);
  }

  nav {
    display:none;
    position:absolute;
    top:75px;
    left:0;
    right:0;
    background:var(--navy);
    padding:15px 20px 24px;
    box-shadow:0 14px 20px #0005;
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }

  nav.open {
    display:flex;
  }

  nav a {
    padding:11px 0;
    border-bottom:1px solid #ffffff20;
  }

  .quickgrid {
    grid-template-columns:1fr 1fr;
  }

  .about-grid {
    grid-template-columns:300px 1fr;
    gap:30px;
  }

  .photo-grid {
    grid-template-columns:repeat(2,1fr);
  }

}

/* =======================================================
   14 - HANDY-ANSICHT
   ======================================================= */
@media(max-width:640px) {
  .wrap {
    width:min(100% - 30px,1180px);
  }

  .header-call {
    display:none;
  }

  .brand {
    width:170px;
  }

  .menu-toggle {
    margin-left:auto;
  }

  .hero {
    min-height:590px;
    align-items:flex-end;
  }

  .hero-photo {
    background-position:58% center;
  }

  .hero:before {
    background:linear-gradient(0deg,rgba(4,19,28,.97),rgba(4,19,28,.72) 47%,rgba(4,19,28,.08));
  }

  .hero-inner {
    padding:165px 0 34px;
  }

  .hero-panel {
    max-width:100%;
  }

  h1 {
    font-size:48px;
  }

  .hero-sub {
    font-size:22px;
  }

  .quickgrid {
    grid-template-columns:1fr;
    gap:10px;
  }

  .section {
    padding:58px 0;
  }

  .about-grid,.appointment-grid,.contact-grid {
    grid-template-columns:1fr;
  }

  .about-portrait img {
    height:430px;
    object-fit:contain;
    background:#071e2b;
  }

  .photo-grid {
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .photo-grid img {
    height:145px;
  }

  .photo-grid figcaption {
    font-size:13px;
    padding:9px;
  }

  .footer-inner {
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .footer-links {
    margin-left:0;
    width:100%;
  }

  .service-image {
    overflow:visible;
  }

  .service-image img {
    width:100%;
  }

  .appointment-grid {
    gap:25px;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  .btn {
    transition:none;
  }

}

.hours {
  white-space:pre-line;
}

/* Hinweisleiste: Website im Aufbau */

.header-notice {
  background: #f3c879;
  color: #071f2b;
  width: 100%;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.3px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

.header-notice .notice-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Optimierung für Smartphones */
@media (max-width: 600px) {
  .header-notice {
    padding: 9px 15px;
    font-size: 11px;
    gap: 8px;
  }

  .header-notice .notice-icon {
    font-size: 16px;
  }
}
