/* ===== Local Fonts (DSGVO-konform) ===== */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/montserrat-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/montserrat-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;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/montserrat-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/montserrat-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;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/montserrat-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/montserrat-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;
}

/* ===== CSS Variables ===== */
:root {
    --color-primary: #A63028;
    --color-primary-dark: #8a2720;
    --color-primary-light: #c43a30;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-bg-dark: #1a1a1a;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
    --border-radius: 8px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), box-shadow var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.logo-zeiger {
    color: var(--color-text);
}

.logo-ampersand {
    color: var(--color-primary);
}

.logo-welke {
    color: var(--color-text);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.nav a:hover {
    color: var(--color-primary);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: var(--color-primary);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.phone-link svg {
    stroke: var(--color-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero.jpg') center center / cover no-repeat;
    background: url('images/hero.webp') center center / cover no-repeat;
    opacity: 0.5;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 35, 50, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 35, 50, 0.1) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero-heading {
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-heading .hero-subtitle {
    background: var(--color-bg);
    color: var(--color-text-light);
    display: inline-block;
    padding: 4px 12px;
    font-size: 1.2rem;
}

.hero-title {
    color: var(--color-bg);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    -webkit-text-stroke: 0.5px currentColor;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-slogan {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 36px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-light);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 35, 50, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Section Styling ===== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* ===== Leistungen Section ===== */
.leistungen {
    padding: 100px 0;
    background: var(--color-bg);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: left;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-image {
    margin: -40px -30px 24px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

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

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 24px 0;
}

.partner-box {
    background: var(--color-bg);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.partner-box h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.partner-box p {
    color: var(--color-text-light);
    margin: 0;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* ===== Kontakt Section ===== */
.kontakt {
    padding: 100px 0;
    background: var(--color-bg);
    text-align: center;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.kontakt-card {
    background: var(--color-bg-alt);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.kontakt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.kontakt-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.kontakt-icon svg {
    stroke: var(--color-bg);
}

.kontakt-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.kontakt-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.kontakt-card a {
    color: var(--color-primary);
    font-weight: 500;
}

.notice-inline {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    min-height: 350px;
}

.map-container iframe {
    display: block;
}

.map-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: var(--color-bg-alt);
    text-align: center;
}

.map-consent-content {
    padding: 40px 20px;
    max-width: 400px;
}

.map-consent-content svg {
    stroke: var(--color-primary);
    margin-bottom: 16px;
}

.map-consent-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.map-external-link {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: underline;
}

.map-external-link:hover {
    color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    padding: 48px 0 28px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
}

.footer-logo .logo-zeiger,
.footer-logo .logo-welke {
    color: var(--color-bg);
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-logo .logo-ampersand {
    color: var(--color-primary);
    font-weight: 700;
}

.footer-separator {
    margin: 0 4px;
}

.footer-logo span:last-child {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 60px;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .phone-link {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: 60svh;
        padding-top: 70px;
    }

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

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

    .leistungen,
    .about,
    .kontakt {
        padding: 60px 0;
    }

    .section-subtitle {
        margin-bottom: 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .hero-title {
        letter-spacing: 2px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-image {
        margin: -30px -20px 20px;
    }

    .kontakt-card {
        padding: 30px 20px;
    }
}

/* ===== Legal Pages (Impressum, Datenschutz) ===== */
.legal-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-page p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul {
    margin: 12px 0;
    padding-left: 24px;
    list-style: disc;
}

.legal-page li {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 4px;
}

.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .kontakt-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }

    .kontakt-card:nth-child(1) { animation-delay: 0.1s; }
    .kontakt-card:nth-child(2) { animation-delay: 0.2s; }
    .kontakt-card:nth-child(3) { animation-delay: 0.3s; }
}

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