/* =========================================================
   SE Kfz Technik OG — Stylesheet
   Konzept: Editorial Magazine (helles Hauptdesign,
   dunkle Akzentsektionen Hero + Footer)
   ========================================================= */

/* ----- 1. CSS-Variablen ----- */
:root {
    /* Hell */
    --bg: #f5f3ee;          /* Cream/Bone Hauptfarbe */
    --bg-2: #ebe9e2;        /* Etwas dunklerer Cream */
    --bg-3: #ffffff;        /* Weiß für Karten */

    /* Dunkel */
    --bg-dark: #0c0c0c;
    --bg-dark-2: #161616;

    /* Akzent */
    --orange: #f79400;
    --orange-hover: #ffa826;
    --orange-dim: rgba(247, 148, 0, 0.12);

    /* Text auf Hell */
    --ink: #0c0c0c;
    --ink-dim: rgba(12, 12, 12, 0.70);
    --ink-muted: rgba(12, 12, 12, 0.45);

    /* Text auf Dunkel */
    --bone: #f5f3ee;
    --bone-dim: rgba(245, 243, 238, 0.75);
    --bone-muted: rgba(245, 243, 238, 0.50);

    /* Linien */
    --line: rgba(12, 12, 12, 0.10);
    --line-bright: rgba(12, 12, 12, 0.22);
    --line-dark: rgba(245, 243, 238, 0.10);
    --line-dark-bright: rgba(245, 243, 238, 0.22);

    /* Schriften */
    --font-display: 'Big Shoulders Display', 'Impact', sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Layout */
    --container: 1320px;
    --pad-x: clamp(1.25rem, 4vw, 3rem);
    --section-pad: clamp(4rem, 9vw, 7rem);

    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ----- 2. Reset & Basis ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease-out);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

::selection {
    background-color: var(--orange);
    color: var(--ink);
}

/* ----- 3. Header ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem var(--pad-x);
    transition: background-color 0.35s var(--ease-out),
                padding 0.35s var(--ease-out),
                border-color 0.35s var(--ease-out),
                color 0.35s var(--ease-out);
    border-bottom: 1px solid transparent;
    color: var(--bone); /* Hell, Standard über Hero */
}

.site-header.scrolled {
    background-color: rgba(245, 243, 238, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.75rem var(--pad-x);
    border-bottom-color: var(--line);
    color: var(--ink);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 102;
}

.brand-logo {
    height: 54px;
    width: auto;
    transition: height 0.35s var(--ease-out);
}

.site-header.scrolled .brand-logo {
    height: 44px;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: inherit;
    transition: font-size 0.35s var(--ease-out);
}

.site-header.scrolled .brand-text {
    font-size: 1.35rem;
}

.site-nav {
    display: flex;
    gap: 2.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav a {
    color: currentColor;
    opacity: 0.75;
    position: relative;
    padding-bottom: 4px;
    transition: opacity 0.25s var(--ease-out);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--orange);
    transition: width 0.35s var(--ease-out);
}

.site-nav a:hover {
    opacity: 1;
}

.site-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    border: 1px solid currentColor;
    border-radius: 2rem;
    opacity: 0.85;
    transition: all 0.3s var(--ease-out);
}

.header-cta:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
    opacity: 1;
}

.cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--orange);
    box-shadow: 0 0 8px var(--orange);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    z-index: 102;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: currentColor;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ----- 4. Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--ink);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    border-color: var(--bone);
    color: var(--bone);
}

.btn-ghost:hover {
    background-color: var(--bone);
    color: var(--ink);
}

/* ----- 5. Hero ----- */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--bone);
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: heroImgIn 1.6s var(--ease-out) 0.2s forwards;
    will-change: transform, opacity;
    filter: grayscale(15%) brightness(0.65) contrast(1.05);
}

@keyframes heroImgIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 12, 12, 0.50) 0%, rgba(12, 12, 12, 0.30) 35%, rgba(12, 12, 12, 0.75) 100%),
        radial-gradient(ellipse at top right, rgba(247, 148, 0, 0.18) 0%, transparent 55%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--section-pad) + 4rem) var(--pad-x) var(--section-pad);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bone-dim);
    animation: fadeUp 0.9s var(--ease-out) 0.5s both;
}

.meta-tag {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line-dark-bright);
    border-radius: 2rem;
    background-color: rgba(12, 12, 12, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.meta-dot {
    color: var(--orange);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.75rem, 7.5vw, 7rem);
    line-height: 1;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    max-width: 100%;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: lineReveal 1.1s var(--ease-out) both;
}

.hero-title .line-1 { animation-delay: 0.55s; }
.hero-title .line-2 { animation-delay: 0.70s; padding-left: clamp(1.5rem, 7vw, 6rem); }
.hero-title .line-3 { animation-delay: 0.85s; }

.hero-title em {
    color: var(--orange);
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 900;
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-dark);
    animation: fadeUp 1s var(--ease-out) 1.1s both;
}

.hero-lead {
    max-width: 480px;
    color: var(--bone-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- 6. Marquee Band ----- */
.marquee {
    overflow: hidden;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-color: var(--bg-2);
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    animation: scrollMarquee 38s linear infinite;
    width: max-content;
}

.marquee-track .m-sep {
    color: var(--orange);
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ----- 7. Section Heads ----- */
.section-head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-num {
    color: var(--orange);
    font-weight: 500;
}

.section-kicker {
    color: var(--ink-dim);
}

/* Heading-Hierarchie und Akzent */
h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.25rem, 5.8vw, 4.75rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

.werkstatt-title,
#werkstatt-title {
    font-size: clamp(2.25rem, 5.8vw, 5rem);
}

.title-line {
    display: block;
    white-space: nowrap;
}

.accent {
    color: var(--orange);
}

/* ----- 8. Werkstatt Section ----- */
.werkstatt {
    background-color: var(--bg);
    padding: var(--section-pad) var(--pad-x);
    position: relative;
    z-index: 1;
}

.werkstatt-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.werkstatt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.werkstatt-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.werkstatt-text {
    max-width: 540px;
    color: var(--ink-dim);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.werkstatt-text .lead {
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.5;
}

.werkstatt-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
}

.werkstatt-facts li {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.werkstatt-facts li:nth-child(odd) {
    padding-right: 1rem;
    border-right: 1px solid var(--line);
}

.werkstatt-facts li:nth-child(even) {
    padding-left: 1rem;
}

.fact-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.fact-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Werkstatt-Bild mit Fade-Effekt */
.werkstatt-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-2);
    isolation: isolate;
}

.werkstatt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%) contrast(1.05);
    transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease-out);
}

.werkstatt-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 60%, rgba(12, 12, 12, 0.7) 100%),
        linear-gradient(135deg, rgba(247, 148, 0, 0.10) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out);
    z-index: 1;
}

.werkstatt-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.05);
}

.werkstatt-image figcaption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--bone);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

/* ----- 9. Leistungen ----- */
.leistungen {
    background-color: var(--bg-3);
    padding: var(--section-pad) var(--pad-x);
    position: relative;
    z-index: 1;
}

.leistungen-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.leistungen-title {
    margin-bottom: 4rem;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.leistung {
    background-color: var(--bg-3);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.leistung::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, var(--orange-dim) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    pointer-events: none;
}

.leistung:hover {
    background-color: var(--bg);
}

.leistung:hover::after {
    opacity: 1;
}

.leistung-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--orange);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.leistung h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.leistung h3 .sub {
    display: block;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.6rem;
}

.leistung p {
    color: var(--ink-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
}

/* ----- 10. Stimmen ----- */
.stimmen {
    background-color: var(--bg);
    padding: var(--section-pad) var(--pad-x);
    position: relative;
    z-index: 1;
}

.stimmen-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.stimmen-title {
    margin-bottom: 4rem;
}

.stimmen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stimme {
    background-color: var(--bg-3);
    border: 1px solid var(--line);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
}

.stimme:hover {
    border-color: var(--line-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -16px rgba(12, 12, 12, 0.15);
}

.stimme::before {
    content: "“";
    position: absolute;
    top: 0.4rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--orange);
    line-height: 1;
    opacity: 0.7;
}

.stimme-feature {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(140deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border-color: var(--line-bright);
    padding: 3rem;
}

.stimme-feature::before {
    font-size: 7rem;
    top: 1rem;
    right: 2.5rem;
}

.stimme blockquote {
    font-family: var(--font-body);
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-top: 1rem;
    flex-grow: 1;
}

.stimme-feature blockquote {
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 400;
}

.stimme figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.stimme-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.stimme-source {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ----- 11. Kontakt ----- */
.kontakt {
    background-color: var(--bg-2);
    padding: var(--section-pad) var(--pad-x);
    position: relative;
    z-index: 1;
}

.kontakt-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.kontakt-headline {
    margin-bottom: 4rem;
}

.kontakt-intro {
    color: var(--ink-dim);
    font-size: 1.1rem;
    max-width: 540px;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kontakt-block {
    background-color: var(--bg-3);
    border: 1px solid var(--line);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.35s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.kontakt-block:hover {
    border-color: var(--line-bright);
    box-shadow: 0 12px 32px -16px rgba(12, 12, 12, 0.15);
}

.kontakt-adresse,
.kontakt-zeiten {
    grid-column: span 6;
}

.kontakt-telefon,
.kontakt-mail {
    grid-column: span 6;
}

.block-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}

.kontakt-block address {
    font-style: normal;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    margin-top: auto;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--orange-dim);
    transition: border-color 0.3s var(--ease-out);
}

.link-arrow:hover {
    border-bottom-color: var(--orange);
}

.link-arrow svg {
    transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover svg {
    transform: translate(3px, -3px);
}

.zeiten {
    display: flex;
    flex-direction: column;
}

.zeiten li {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ink);
}

.zeiten li:last-child {
    border-bottom: none;
}

.zeiten li span:first-child {
    color: var(--ink-dim);
}

.time {
    color: var(--ink);
}

.time-closed {
    color: var(--ink-muted);
    font-size: 0.82rem;
}

.pause {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
}

.telefon-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.telefon-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kontakt-name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.telefon-list a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.01em;
    color: var(--ink);
    transition: color 0.25s var(--ease-out);
}

.telefon-list a:hover {
    color: var(--orange);
}

.mail-big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    word-break: break-all;
    color: var(--ink);
    transition: color 0.25s var(--ease-out);
}

.mail-big:hover {
    color: var(--orange);
}

/* Google Maps Embed */
.map-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background-color: var(--bg-3);
    isolation: isolate;
    height: 320px;
}

.map-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--bg-2) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.map-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, var(--bg-2) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(35%) contrast(1.02);
}

/* ----- 12. Footer ----- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--bone);
    padding: var(--section-pad) var(--pad-x) 2.5rem;
    position: relative;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-display {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.footer-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}

.footer-summary {
    color: var(--bone-dim);
    line-height: 1.6;
    max-width: 380px;
    align-self: end;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line-dark);
}

.footer-col p {
    font-size: 0.92rem;
    color: var(--bone-dim);
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bone-muted);
    margin-bottom: 0.85rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--bone-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.created-by a {
    color: var(--bone-dim);
    border-bottom: 1px solid var(--line-dark-bright);
    padding-bottom: 1px;
    transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.created-by a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ----- 13. Scroll-Reveal ----- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- 14. Responsive Breakpoints ----- */

/* Großer Tablet 1100px */
@media (max-width: 1100px) {
    .leistungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stimme-feature {
        grid-column: span 2;
        grid-row: auto;
    }

    .werkstatt-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .werkstatt-image {
        aspect-ratio: 16 / 10;
        max-height: 520px;
    }
}

/* Tablet 860px */
@media (max-width: 860px) {
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 380px;
        background-color: var(--bg);
        border-left: 1px solid var(--line);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        font-size: 1.5rem;
        z-index: 101;
        color: var(--ink);
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        font-size: 1.4rem;
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--ink);
        letter-spacing: 0.02em;
        opacity: 1;
    }

    .site-nav a::after {
        bottom: -4px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-inner {
        min-height: auto;
        padding-top: calc(var(--section-pad) + 5rem);
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .kontakt-adresse,
    .kontakt-zeiten,
    .kontakt-telefon,
    .kontakt-mail {
        grid-column: span 12;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .site-header.scrolled .brand-text {
        font-size: 1.15rem;
    }

    .brand-logo {
        height: 44px;
    }

    .site-header.scrolled .brand-logo {
        height: 38px;
    }
}

/* Mobile 600px */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .brand-text {
        display: none; /* nur Logo bleibt auf kleinen Bildschirmen */
    }

    .hero-title .line-2 {
        padding-left: 1.5rem;
    }

    .title-line {
        white-space: normal;
    }

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

    .leistung {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

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

    .stimme-feature {
        grid-column: span 1;
        padding: 2.25rem 2rem;
    }

    .stimme-feature blockquote {
        font-size: 1.1rem;
    }

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

    .werkstatt-facts {
        grid-template-columns: 1fr;
    }

    .werkstatt-facts li:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .werkstatt-facts li:nth-child(even) {
        padding-left: 0;
    }

    .kontakt-block {
        padding: 1.75rem 1.5rem;
    }

    .section-head {
        flex-wrap: wrap;
    }

    .map-wrap {
        height: 260px;
    }
}

/* Mobile klein 420px */
@media (max-width: 420px) {
    .brand-logo {
        height: 38px;
    }
}

/* Reduzierte Bewegung — Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track {
        animation: none;
    }

    .hero-img {
        opacity: 1;
        transform: none;
    }
}
