/* =========================
   styles.css
========================= */


/* ── SCHRIFTEN (lokal, ohne Google Fonts – DSGVO) ── */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ── GRUNDLAGEN ── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

body {
    background: #0f0f10;
    color: #fff;
    overflow-x: hidden;
}


/* ── KOPFBEREICH (HEADER) ── */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: block;
    height: 56px;
    width: auto;
}

.nav a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    opacity: .7;
    transition: .3s;
    display: inline-block; /* Fix: transform funktioniert nicht bei Inline-Elementen */
}

.nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.btn-small {
    background: #ff3b30;
    padding: 8px 14px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 59, 48, .5);
}


/* ── HERO-BEREICH ── */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    filter: brightness(0.5) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
}

.hero p {
    opacity: .8;
    margin-top: 10px;
}

.hero-buttons {
    margin-top: 24px; /* Fix: Abstand zwischen Text und Buttons */
}


/* ── SCHALTFLÄCHEN (BUTTONS) ── */

.btn {
    background: #ff3b30;
    padding: 12px 22px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(255, 59, 48, .3);
}

.btn.outline {
    background: transparent;
    border: 1px solid #fff;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, .1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255, 59, 48, .6); }
    70%  { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0   rgba(255, 59, 48, 0); }
}


/* ── ABSCHNITTE ── */

.section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.dark {
    background: #151517;
    border-radius: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ── LEISTUNGEN (RASTER) ── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.service-card {
    background: #1c1c1e;
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

.service-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

.service-name {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.service-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff3b30;
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.service-btn:hover {
    box-shadow: 0 0 14px rgba(255, 59, 48, .5);
    transform: scale(1.03);
}


/* ── INFO-BLOCK ── */

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.info-img {
    flex-shrink: 0;
    width: 320px;
}

.info-img img {
    width: 100%;
    aspect-ratio: 736 / 1308;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.info-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.info-text p {
    opacity: .8;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 15px;
}

.info-list {
    margin-top: 16px;
}

.info-list h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 14px 0 8px;
    color: #ff3b30;
}

.info-list ul {
    list-style: none;
    padding: 0;
}

.info-list ul li {
    opacity: .8;
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 0 4px 20px;
    position: relative;
}

.info-list ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff3b30;
}


/* ── PREISE ── */

.price-list div {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #2a2a2a;
}


/* ── FUSSBEREICH (FOOTER) ── */

footer {
    text-align: center;
    padding: 30px;
}

.footer-link {
    display: block;
    width: fit-content; /* nur der Text ist klickbar, nicht die ganze Zeile */
    margin: 0 auto;
    color: #fff;
    text-decoration: none;
    opacity: .7;
    transition: .3s;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Zweite Telefonnummer: nur Text, nicht anklickbar */
.footer-text:hover {
    opacity: .7;
    text-decoration: none;
}

footer p {
    opacity: .5;
    font-size: 13px;
    margin-top: 8px;
}


/* ── COOKIE-BANNER ── */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1c1c1e;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 480px;
    width: calc(100% - 32px);
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner p {
    font-size: 14px;
    opacity: .8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    background: #ff3b30;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    font-family: Inter, sans-serif;
}

.cookie-btn:hover {
    box-shadow: 0 0 14px rgba(255, 59, 48, .5);
    transform: scale(1.03);
}

.cookie-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
}

.cookie-btn.outline:hover {
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}


/* ── BURGER-MENÜ ── */

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px; /* Header-Höhe mobil: 12 + 44 + 12 */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    z-index: 999;
    padding: 10px 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid #2a2a2a;
    transition: .2s;
}

.mobile-menu a:hover {
    background: #1c1c1e;
}


/* ── NAVIGATION: aktive Seite ── */

.nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
    opacity: 1;
    color: #ff3b30;
}


/* ── CTA (Startseite) ── */

.cta {
    text-align: center;
    padding: 60px 20px;
}

.cta p {
    opacity: .8;
    margin-bottom: 20px;
}


/* ── UNTERSEITEN ── */

.page {
    padding-top: 86px; /* Höhe des fixierten Headers: 15 + 56 + 15 */
    min-height: calc(100vh - 200px);
}

.page-head h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-head p {
    opacity: .7;
    line-height: 1.6;
}

.page .section {
    padding-top: 50px;
}

.page .page-head {
    padding-bottom: 30px;
}

.price-list span {
    font-weight: 600;
    color: #ff3b30;
    white-space: nowrap;
}

.price-note {
    margin-top: 20px;
    font-size: 13px;
    opacity: .6;
    line-height: 1.6;
}

.price-cta {
    margin-top: 30px;
    text-align: center;
}


/* ── KONTAKT ── */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.contact-card {
    background: #1c1c1e;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-card h2 {
    font-size: 15px;
    margin: 0;
    color: #ff3b30;
    font-weight: 600;
}

.contact-card p {
    opacity: .85;
    line-height: 1.6;
    flex: 1;
    overflow-wrap: anywhere;
}

/* Zweite Telefonnummer in der Kontakt-Karte: nur Text */
.contact-alt {
    color: #fff;
    opacity: .7;
}

.contact-card .btn {
    margin: 8px 0 0;
    text-align: center;
}

.hours-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* Karte so hoch wie die Spalte mit den Öffnungszeiten */
}

.hours {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
}

.map-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #1c1c1e;
    min-height: 320px;
}

.map-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.map-open picture {
    display: block;
    height: 100%;
}

.map-open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.map-open:hover img {
    transform: scale(1.03);
}

.map-hint {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    background: #ff3b30;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.map-choice {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 16, .88);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px;
}

.map-choice[hidden] {
    display: none;
}

.map-choice p {
    font-weight: 600;
    margin-bottom: 8px;
}

.map-choice .btn {
    width: 100%;
    max-width: 240px;
    text-align: center;
}

.map-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    opacity: .7;
    cursor: pointer;
}

.map-close:hover {
    opacity: 1;
}

/* Auswahl-Fenster „Route planen“ (Footer-Adresse und Adress-Karte) */
.route-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 3000;
}

.route-modal[hidden] {
    display: none;
}

.route-box {
    position: relative;
    background: #1c1c1e;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px 24px 24px;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

.route-box p {
    font-weight: 600;
    margin-bottom: 8px;
}

.route-box .btn {
    margin: 4px 0;
}

.map-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 10px;
    color: #fff;
    opacity: .6;
    background: rgba(0, 0, 0, .6);
    padding: 2px 6px;
    border-top-left-radius: 6px;
    text-decoration: none;
}

.hours td {
    padding: 12px;
    border-bottom: 1px solid #2a2a2a;
}

.hours td:last-child {
    text-align: right;
    font-weight: 600;
}


/* ── RECHTSTEXTE (IMPRESSUM, DATENSCHUTZ) ── */

.legal {
    max-width: 800px;
}

.legal h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.legal h2 {
    font-size: 20px;
    margin: 36px 0 12px;
}

.legal h3 {
    font-size: 16px;
    margin: 22px 0 8px;
}

.legal p,
.legal li {
    opacity: .85;
    line-height: 1.7;
    font-size: 15px;
}

.legal p {
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal a {
    color: #ff3b30;
    overflow-wrap: anywhere;
}

/* Platzhalter: Angaben, die noch vom Inhaber benötigt werden */
.ph {
    background: #ffd60a;
    color: #000;
    padding: 0 4px;
    border-radius: 3px;
}


/* ── FOOTER: rechtliche Links ── */

.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 16px;
}

.footer-legal a {
    color: #fff;
    opacity: .6;
    font-size: 13px;
    text-decoration: none;
    transition: .3s;
}

.footer-legal a:hover,
.footer-cookie:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Button sieht aus wie die Links daneben */
.footer-cookie {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    font-size: 13px;
    font-family: inherit;
    transition: .3s;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}


/* ── RESPONSIVE (MOBIL) ── */

@media (max-width: 700px) {

    /* Kopfbereich */
    .header {
        padding: 12px 16px;
    }

    .logo-icon {
        height: 44px;
    }

    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .btn-small {
        padding: 7px 10px;
        font-size: 13px;
    }

    /* Hero-Bereich */
    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Abschnitte */
    .section {
        padding: 50px 16px;
    }

    .section h2 {
        font-size: 22px;
    }

    /* Leistungen */
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    /* Info-Block */
    .info-block {
        flex-direction: column;
    }

    .info-img {
        width: 100%;
    }

    .info-text h2 {
        font-size: 20px;
    }

    /* Preise */
    .price-list div {
        font-size: 13px;
        padding: 10px 6px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .price-list div span {
        font-weight: 600;
        color: #ff3b30;
    }

    /* Unterseiten */
    .page {
        padding-top: 68px;
    }

    .hours-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-head h1,
    .legal h1 {
        font-size: 26px;
    }

    .legal h2 {
        font-size: 18px;
    }

    /* Fußbereich */
    footer {
        padding: 20px 16px;
        font-size: 13px;
    }
}
