/* Auto Service Gara - Seriöse, klassische KFZ-Werkstatt Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --light-gray: #f8f8f8;
    --border-color: #dddddd;
    --text-color: #333333;
    --light-text: #666666;
    --muted-on-dark: #a6a6a6;
    --line-on-dark: rgba(255, 255, 255, 0.14);
    --status-open: #2e7d32;
    --status-open-on-dark: #5cb860;
    --header-offset: 104px;
    --container: 1320px;
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--secondary-color);
    font-size: 17px;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Sprunglink für Tastatur- und Screenreader-Nutzer */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px;
}

/* Top Bar */
.topbar {
    background-color: #111111;
    color: var(--muted-on-dark);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 40px;
}

.topbar-items {
    display: flex;
    gap: 32px;
    list-style: none;
}

.topbar a {
    color: var(--secondary-color);
    text-decoration: none;
}

.topbar a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    transition: box-shadow 0.3s ease;
}

header.is-scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 14px 0;
}

.logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.header-logo {
    height: 56px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-text span {
    font-weight: 600;
}

.nav-links {
    flex-shrink: 0;
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 36px;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.92rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover {
    color: #999;
}

.nav-links a[aria-current="page"] {
    border-bottom-color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 16px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--secondary-color);
    font: inherit;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Drei Striche, rein per CSS */
.nav-toggle-bars {
    position: relative;
    width: 18px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.nav-toggle-bars::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 3px;
    border-top: 2px solid currentColor;
}

/* Eingeklappte Navigation (Handy oder zu viele Reiter) */
.nav-collapsed .nav-toggle {
    display: inline-flex;
}

.nav-collapsed .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 8px 48px 28px;
    background-color: var(--primary-color);
    border-bottom: 1px solid #333;
}

.nav-collapsed .nav-open .nav-links {
    display: flex;
}

.nav-collapsed .nav-links li {
    margin-left: 0;
}

.nav-collapsed .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #222;
}

.nav-collapsed .nav-links a[aria-current="page"] {
    border-bottom-color: #222;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-offset));
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 120px 0;
    border-bottom: 1px solid #333;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hero::before {
    z-index: -2;
    background: url('../images/workshop.jpg') center/cover no-repeat;
    animation: hero-zoom 22s var(--ease-out) both;
}

.hero::after {
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 55%, rgba(0, 0, 0, 0.45) 100%);
}

.hero > .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 96px;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 20px;
}

.eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background-color: currentColor;
}

.hero .eyebrow,
.on-dark .eyebrow {
    color: var(--muted-on-dark);
}

.hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 4.6rem);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 4px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 52px;
    opacity: 0.9;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 1px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.scroll-hint span {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 24px;
    background-color: var(--secondary-color);
    animation: scroll-hint 2.2s ease-in-out infinite;
}

/* Info-Karte im Hero */
.hero-card {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 40px 40px 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 12px;
}

.hero-card .status {
    margin-bottom: 20px;
}

.hours-mini {
    list-style: none;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.hours-mini li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-mini li span:last-child {
    text-align: right;
}

.hours-mini li.is-today {
    font-weight: 600;
}

.card-phone {
    display: block;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
}

.card-phone:hover {
    text-decoration: underline;
}

/* Öffnungsstatus: Punkt + Text, nie nur Farbe */
.status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.status[hidden] {
    display: none;
}

.status::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 0.4em;
    border-radius: 50%;
    background-color: #9e9e9e;
}

.status.is-open::before {
    background-color: var(--status-open);
}

.opening-hours .status.is-open::before {
    background-color: var(--status-open-on-dark);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 20px 52px;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.cta-button.primary:hover {
    background-color: #e6e6e6;
    border-color: #e6e6e6;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--secondary-color);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Für helle Hintergründe */
.cta-button.dark {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.cta-button.dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-button.block {
    display: block;
    width: 100%;
    padding: 16px 24px;
}

.text-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--light-text);
}

.on-dark .text-link {
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: 120px 0;
}

.section-gray {
    background-color: var(--light-gray);
}

.on-dark {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.section-title {
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.3;
}

.section-title p:not(.eyebrow) {
    font-size: 1.15rem;
    color: var(--light-text);
    max-width: 640px;
    line-height: 1.8;
}

.on-dark .section-title p:not(.eyebrow) {
    color: var(--muted-on-dark);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.section-title-row .text-link {
    flex: 0 0 auto;
    margin-bottom: 26px;
}

/* Willkommen: Bild links bis an den Rand, Text rechts */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    min-height: 680px;
}

.split-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.split-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    transition: transform 1.4s var(--ease-out);
}

.split-media:hover img {
    transform: scale(1.04);
}

.split-content {
    display: flex;
    align-items: center;
    padding: 120px max(48px, calc((100vw - var(--container)) / 2 + 48px)) 120px 96px;
}

.split-content .welcome-text {
    max-width: 620px;
}

.welcome-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.welcome-text p:not(.eyebrow) {
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    margin: 32px 0 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.check-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.check-list li::before {
    content: "—";
    position: absolute;
    left: 0;
}

/* Highlights Bar */
.highlights-bar {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 72px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.highlight-item {
    padding: 0 20px;
}

.highlight-item + .highlight-item {
    border-left: 1px solid var(--line-on-dark);
}

.highlight-value {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.3;
}

.highlight-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-on-dark);
}

/* Leistungen als Raster (Startseite) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-height: 300px;
    padding: 44px 32px 36px;
    background-color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: inherit;
    text-decoration: none;
    transition: color 0.35s ease;
}

.service-card-cta {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.service-card-cta p,
.service-card-cta .service-num {
    color: var(--muted-on-dark);
}

.service-card-cta .more {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Schwarze Fläche fährt beim Hover von unten ein */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-out);
}

.service-card:hover::before,
.service-card:focus-visible::before {
    transform: scaleY(1);
}

.service-card-cta::before {
    background-color: #2a2a2a;
}

.service-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--light-text);
    margin-bottom: 28px;
}

.service-card h3 {
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    color: var(--light-text);
    font-size: 1rem;
    transition: color 0.35s ease;
    line-height: 1.7;
}

.service-card .more {
    margin-top: auto;
    padding-top: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-card .more::after {
    content: "→";
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.35s var(--ease-out);
}

.service-card:hover .more::after,
.service-card:focus-visible .more::after {
    transform: translateX(8px);
}

.service-card:hover,
.service-card:focus-visible {
    color: var(--secondary-color);
}

.service-card:hover p,
.service-card:hover .service-num,
.service-card:focus-visible p,
.service-card:focus-visible .service-num {
    color: var(--muted-on-dark);
}

/* Marken als Laufband */
.brands {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.brands-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.brands-title small {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--light-text);
}

.marquee {
    overflow: hidden;
}

.marquee-track {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 48px;
}

.marquee-track li {
    padding: 4px 32px;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 300;
    letter-spacing: 1px;
    white-space: nowrap;
    color: #8a8a8a;
    transition: color 0.3s ease;
}

.marquee-track li:hover {
    color: var(--primary-color);
}

/* Läuft nur, wenn JS die Einträge verdoppelt hat */
.marquee.is-running {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee.is-running .marquee-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    padding: 0;
    animation: marquee 50s linear infinite;
}

.marquee.is-running:hover .marquee-track {
    animation-play-state: paused;
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 96px;
    align-items: start;
}

.about-aside {
    position: sticky;
    top: var(--header-offset);
}

.about-content {
    max-width: 820px;
}

.aside-fact {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-on-dark);
    margin-bottom: 20px;
}

.aside-fact strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 200;
    letter-spacing: 0;
    text-transform: none;
    color: var(--secondary-color);
    line-height: 1.2;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    margin-top: 10px;
}

.value-item {
    padding: 32px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.value-item h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--light-text);
    font-size: 0.98rem;
    line-height: 1.7;
}

.pull-quote {
    margin: 0 0 80px;
    padding: 8px 0 8px 32px;
    border-left: 3px solid var(--primary-color);
}

.pull-quote p {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.pull-quote cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4,
.contact-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--light-text);
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.contact-item a:hover {
    border-bottom-color: var(--text-color);
}

.contact-item a.cta-button {
    border-bottom: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

/* Opening Hours */
.opening-hours {
    align-self: start;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 60px;
}

.opening-hours h2,
.opening-hours h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.opening-hours .status {
    margin-bottom: 24px;
}

.hours-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-row span:first-child {
    font-weight: 400;
}

.hours-row span:last-child {
    font-weight: 300;
    text-align: right;
}

.hours-row.is-today span {
    font-weight: 600;
}

.hours-note {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted-on-dark);
    line-height: 1.7;
}

.hours-note a {
    color: var(--secondary-color);
}

.opening-hours .cta-button {
    margin-top: 28px;
}

.about-aside .opening-hours {
    padding: 40px 32px;
}

/* Kontaktseite: Infoblöcke */
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.contact-actions .cta-button {
    padding: 14px 26px;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-columns h2 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.info-columns p:not(.eyebrow) {
    color: var(--light-text);
    margin-bottom: 20px;
}

.info-columns .check-list {
    grid-template-columns: 1fr;
    margin: 0;
}

.mail-template {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 24px 28px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.9;
}

.mail-template dt {
    font-weight: 600;
    float: left;
    clear: left;
    width: 150px;
}

.mail-template dd {
    color: var(--light-text);
    margin-left: 150px;
}

.info-columns {
    align-items: center;
}

.info-columns .card-label {
    margin-bottom: 16px;
}

.mail-direct {
    margin-top: 22px;
    font-size: 0.95rem;
}

.mail-direct a {
    color: var(--text-color);
}

/* Häufige Fragen */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: 80px;
    align-items: start;
}

.faq-layout .section-title {
    margin-bottom: 0;
}

.faq-layout .section-title a {
    color: var(--text-color);
}

.faq-list {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Plus-Zeichen, wird beim Öffnen zum Kreuz */
.faq-item summary::after {
    content: "";
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
    transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--light-text);
}

.faq-answer {
    padding: 0 48px 24px 0;
}

.faq-answer p {
    color: var(--light-text);
    line-height: 1.8;
}

/* Hinweis auf KI-Symbolbilder */
.image-note {
    position: absolute;
    right: 16px;
    bottom: 12px;
    z-index: 1;
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

/* Saisonhinweis (per JS eingeblendet) */
.season-note {
    font-size: 0.88rem;
    line-height: 1.6;
    border-left: 2px solid var(--primary-color);
    padding: 2px 0 2px 12px;
    margin: 0 0 22px;
}

.season-note[hidden] {
    display: none;
}

.service-detail .season-note {
    margin: 20px 0 0;
}

/* Abschluss-Band vor dem Footer */
.cta-band {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    padding: 72px 0;
}

.cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-band h2 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 8px;
}

.cta-band p {
    color: var(--light-text);
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 0 0 auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.2fr 1.1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-brand p {
    max-width: 280px;
}

.footer-section h2 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-section p {
    overflow-wrap: anywhere;
    color: var(--muted-on-dark);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--muted-on-dark);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 4px 0;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer-section p a {
    display: inline;
    padding: 0;
    margin: 0;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-legal p {
    color: #8c8c8c;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    color: var(--muted-on-dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

/* Anruf-Leiste nur auf dem Handy */
.mobile-callbar {
    display: none;
}

/* Page Content */
/* Nur vertikal – der seitliche Rand kommt von .container */
.page-content {
    padding-top: 80px;
    padding-bottom: 100px;
}

.page-header {
    position: relative;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%), url('../images/workshop.jpg') center 30%/cover no-repeat;
    color: var(--secondary-color);
    padding: 140px 0 120px;
    border-bottom: 1px solid #333;
}

.page-header.plain {
    background: var(--primary-color);
    padding: 110px 0 90px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted-on-dark);
    margin-bottom: 20px;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 12px;
}

.breadcrumb a {
    color: var(--muted-on-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.page-header h1 {
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.25;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 300;
    color: #cccccc;
    margin-top: 20px;
    max-width: 640px;
}

/* Leistungen im Detail */
.service-index {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    margin-bottom: 56px;
}

.service-index li {
    flex: 1 1 220px;
}

.service-index a {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 30px 30px 32px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.35;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-index a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.service-detail {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 64px;
    padding: 56px 0;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: var(--header-offset);
}

.service-detail h3 {
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.35;
}

.service-detail p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.9;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag-list li {
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
    line-height: 1.5;
}

.service-group {
    padding: 0;
    margin-top: 72px;
}

.service-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light-text);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.service-group .service-detail:last-child {
    border-bottom: none;
}

/* Leistungsseite: größere Fassung */
.page-leistungen .service-index a {
    font-size: 26px;
}

.page-leistungen .service-group-title {
    font-size: 16px;
}

.page-leistungen .service-detail h3 {
    font-size: 40px;
}

.page-leistungen .service-detail p {
    font-size: 20px;
}

.page-leistungen .tag-list li {
    font-size: 15px;
}

@media (max-width: 768px) {
    .page-leistungen .service-index a {
        font-size: 22px;
    }

    .page-leistungen .service-detail h3 {
        font-size: 26px;
    }

    .page-leistungen .service-detail p {
        font-size: 18px;
    }
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.content-section p:not(.eyebrow) {
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Legal Pages */
.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 240px;
    justify-content: space-between;
    gap: 64px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: var(--header-offset);
    border-top: 2px solid var(--primary-color);
    padding-top: 18px;
}

.legal-toc h2 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.legal-toc ol {
    list-style: none;
}

.legal-toc a {
    display: block;
    padding: 5px 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--light-text);
    text-decoration: none;
}

.legal-toc a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content h2 {
    scroll-margin-top: var(--header-offset);
}

/* Lange Wörter wie „Universalschlichtungsstelle“ dürfen umbrechen */
.legal-content {
    min-width: 0;
}

.legal-content h2,
.legal-content h3,
.legal-content p,
.legal-content li {
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 30px 0 15px;
}

.legal-content h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 50px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content a {
    color: var(--text-color);
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content li {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-stand {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        min-height: 0;
    }

    .scroll-hint {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-card {
        max-width: 440px;
    }

    .contact-grid,
    .info-columns,
    .about-layout,
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 60px;
    }

    .about-aside {
        position: static;
    }

    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hours-first .opening-hours {
        order: -1;
    }

    .split {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .split-media {
        min-height: 460px;
    }

    .split-content {
        padding: 96px 48px;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    .highlight-item:nth-child(3) {
        border-left: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .topbar-items li:first-child {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 72px;
    }

    .topbar {
        display: none;
    }

    /* Ohne JS: Links umbrechen statt ausblenden */
    html:not(.js) header nav {
        flex-wrap: wrap;
    }

    html:not(.js) .nav-links {
        flex-wrap: wrap;
    }

    html:not(.js) .nav-links li {
        margin: 0 20px 0 0;
    }

    .nav-collapsed .nav-links {
        padding: 8px 20px 24px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero-lead {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-card {
        max-width: none;
        padding: 28px 24px;
    }

    .cta-button {
        padding: 16px 28px;
    }

    .section-title {
        margin-bottom: 40px;
    }


    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .values-grid,
    .info-columns {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 32px 24px 28px;
    }

    .highlights-bar {
        padding: 44px 0;
    }

    .highlight-item {
        padding: 0 12px;
    }

    .highlight-value {
        font-size: 2rem;
    }

    .split {
        padding: 0;
    }

    .split-media {
        min-height: 320px;
    }

    .split-content {
        padding: 72px 20px;
    }



    .brands {
        padding: 64px 0;
    }

    .marquee-track li {
        padding: 4px 20px;
    }

    .highlight-label {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    .opening-hours {
        padding: 36px 24px;
    }

    .pull-quote p {
        font-size: 1.3rem;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band-actions {
        width: 100%;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-links a {
        padding: 10px 0;
    }

    .legal-toc {
        display: none;
    }

    .faq-item summary {
        font-size: 1rem;
    }

    .faq-answer {
        padding-right: 0;
    }

    .mail-template dt {
        float: none;
        width: auto;
    }

    .mail-template dd {
        margin-left: 0;
        margin-bottom: 8px;
    }

    .page-header,
    .page-header.plain {
        padding: 72px 0 56px;
    }

    .page-header h1 {
        font-size: 1.6rem;
        letter-spacing: 1.5px;
    }

    .page-header p {
        font-size: 1.05rem;
    }

    .header-logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .mobile-callbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        background-color: var(--primary-color);
        border-top: 1px solid #333;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-callbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        color: var(--secondary-color);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .mobile-callbar a + a {
        border-left: 1px solid #333;
    }

    body {
        padding-bottom: calc(54px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .logo-text {
        display: none;
    }
}

/* Animationen */
@keyframes hero-zoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes scroll-hint {
    0% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(64px);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Hero und Seitenkopf bauen sich beim Laden nacheinander auf */
.hero-anim,
.page-header .container > * {
    animation: rise 0.9s var(--ease-out) both;
}

.hero-text .hero-anim:nth-child(2),
.page-header .container > :nth-child(2) {
    animation-delay: 0.12s;
}

.hero-text .hero-anim:nth-child(3),
.page-header .container > :nth-child(3) {
    animation-delay: 0.24s;
}

.hero-text .hero-anim:nth-child(4) {
    animation-delay: 0.36s;
}

.hero-card.hero-anim {
    animation-delay: 0.45s;
}

/* Einblenden beim Scrollen – nur mit JS, sonst bleibt alles sichtbar */
.js [data-reveal] {
    --reveal-delay: calc(var(--d, 0) * 110ms);
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease var(--reveal-delay), transform 0.9s var(--ease-out) var(--reveal-delay), color 0.35s ease 0s;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Bild wird von links aufgezogen (Zuschnitt am Bild, sonst meldet der Browser es nie als sichtbar) */
.js .split-media[data-reveal] {
    opacity: 1;
    transform: none;
}

.js .split-media[data-reveal] img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.3s cubic-bezier(0.7, 0, 0.2, 1), transform 1.4s var(--ease-out);
}

.js .split-media[data-reveal].is-visible img {
    clip-path: inset(0 0 0 0);
}

/* Absicherung: ohne funktionierendes Skript alles direkt zeigen */
.no-reveal [data-reveal],
.no-reveal [data-reveal] img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

/* Versatz für Gruppen */
.highlights-grid > :nth-child(2),
.services-grid > :nth-child(4n+2),
.values-grid > :nth-child(2),
.info-columns > :nth-child(2) {
    --d: 1;
}

.highlights-grid > :nth-child(3),
.services-grid > :nth-child(4n+3),
.values-grid > :nth-child(3) {
    --d: 2;
}

.highlights-grid > :nth-child(4),
.services-grid > :nth-child(4n),
.values-grid > :nth-child(4) {
    --d: 3;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .js [data-reveal],
    .js [data-reveal] img {
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}

@media print {
    .js [data-reveal],
    .js [data-reveal] img {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}
