/* =====================================================
   BAUGESCHÄFT URECH - APPLE STYLE DESIGN
   Clean, Minimal, Professional
   ===================================================== */

/* -------------------- CSS Variables -------------------- */
:root {
    /* Colors - Clean & Professional */
    --color-primary: #A63D2F;
    --color-primary-dark: #8B3226;
    --color-primary-light: #C96B5A;

    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-text-muted: #6e6e73;

    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-bg-tertiary: #fbfbfd;

    --color-border: #d2d2d7;
    --color-border-light: #e8e8ed;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1120px;
    --header-height: 52px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: 0.2s ease;

    /* Border Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

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

/* -------------------- Container -------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(40px, 8vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
}

h3 {
    font-size: 21px;
    line-height: 1.25;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 980px;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: scale(1.02);
}

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

.btn-secondary:hover {
    background: rgba(217, 119, 6, 0.08);
}

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

.btn-white:hover {
    background: #f5f5f7;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-full {
    width: 100%;
}

/* -------------------- Header -------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
}

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

.nav-link {
    font-size: 14px;
    color: var(--color-text);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-link:hover {
    opacity: 1;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-text);
    color: white;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.header-cta:hover {
    background: #333;
}

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

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* -------------------- Hero Section -------------------- */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

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

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

.hero-eyebrow {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* -------------------- Section Styling -------------------- */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services .section-header,
.references .section-header {
    text-align: left;
    margin-bottom: 0;
}

/* Section Header Row - Header mit Carousel Nav */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

/* Carousel Navigation - Apple Style */
.carousel-nav {
    display: flex;
    gap: 8px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-btn:hover {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.carousel-btn:disabled,
.carousel-btn.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 0;
}

/* -------------------- Services - Horizontal Scroll -------------------- */
.services {
    background: var(--color-bg);
    overflow: hidden;
}

.services-carousel,
.references-carousel {
    position: relative;
    padding: 0 24px;
}

/* Carousel Navigation Responsive */
@media (max-width: 768px) {
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .carousel-nav {
        align-self: flex-end;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

.services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 0 40px;
    margin: 0 -24px;
    padding-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
    padding-right: 24px;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    text-decoration: none;
}

.service-card-inner {
    position: relative;
    height: 380px;
    padding: 32px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover .service-card-inner {
    background: var(--color-bg-tertiary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-icon img {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition);
}

.service-card-link svg {
    transition: transform var(--transition);
}

.service-card:hover .service-card-link {
    color: var(--color-primary-dark);
}

.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

/* -------------------- About Section -------------------- */
.about {
    background: var(--color-bg);
}

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.about-features {
    margin-bottom: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 15px;
}

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

.about-features svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* -------------------- Team Section -------------------- */
.team {
    background: var(--color-bg);
    padding: 100px 0;
}

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

.team-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--color-border-light);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.team-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary), #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.team-role {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* -------------------- References - Portrait Cards -------------------- */
.references {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.references-carousel {
    padding: 0 24px;
}

.references-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 0 40px;
    margin: 0 -24px;
    padding-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
    padding-right: 24px;
}

.references-track::-webkit-scrollbar {
    display: none;
}

.reference-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    margin: 0;
}

.reference-image {
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.reference-card:hover .reference-image img {
    transform: scale(1.03);
}

.reference-card figcaption {
    padding: 0 4px;
}

.reference-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.reference-card figcaption p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* -------------------- CTA Section -------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--color-text) 0%, #2d2d2d 100%);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 19px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* -------------------- Contact Section -------------------- */
.contact {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.contact-item a {
    color: var(--color-primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-secondary);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 17px;
    color: var(--color-text);
    background: white;
    transition: all var(--transition-fast);
    width: 100%;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    color: var(--color-primary);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.form-success p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-success-phone {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-success-phone:hover {
    text-decoration: underline;
}

.form-success-hint {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* -------------------- Footer -------------------- */
.footer {
    background: var(--color-bg-secondary);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 32px;
}

.footer-logo span {
    font-size: 17px;
    font-weight: 600;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--color-primary);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* -------------------- Animations -------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --header-height: 48px;
    }

    body {
        font-size: 15px;
    }

    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 32px 24px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 998;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 28px;
        font-weight: 600;
        opacity: 1;
        border-bottom: 1px solid var(--color-border-light);
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        padding: calc(var(--header-height) + 48px) 0 64px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 32px;
    }

    .hero-stat {
        text-align: left;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    /* Services */
    .service-card {
        flex: 0 0 280px;
    }

    .service-card-inner {
        height: 340px;
        padding: 24px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    /* References */
    .reference-card {
        flex: 0 0 240px;
    }

    .reference-image {
        height: 320px;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 15px;
    }

    .service-card {
        flex: 0 0 260px;
    }

    .reference-card {
        flex: 0 0 220px;
    }

    .reference-image {
        height: 300px;
    }
}

/* -------------------- Service Page Styles -------------------- */
.service-hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 64px;
    background: var(--color-bg-secondary);
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-hero h1 {
    font-size: clamp(32px, 5vw, 44px);
    margin-bottom: 24px;
}

.service-hero .hero-subtitle {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.service-hero-buttons {
    display: flex;
    gap: 16px;
}

.service-hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.service-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-details {
    padding: 80px 0;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
}

.service-details h2 {
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 48px;
}

.service-details h2:first-child {
    margin-top: 0;
}

.service-intro {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-list {
    margin: 24px 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 15px;
    color: var(--color-text-secondary);
}

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

.service-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.service-cta-box {
    background: var(--color-text);
    color: white;
    padding: 32px;
    border-radius: var(--radius-xl);
}

.service-cta-box h3 {
    color: white;
    font-size: 21px;
    margin-bottom: 12px;
}

.service-cta-box p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    font-size: 15px;
}

.service-cta-box .btn {
    width: 100%;
    background: white;
    color: var(--color-text);
}

.service-cta-box .phone-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 19px;
    font-weight: 600;
    color: white;
}

.related-services {
    background: var(--color-bg-secondary);
    padding: 80px 0;
}

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

.related-grid .service-card {
    flex: none;
}

.related-grid .service-card-inner {
    height: 320px;
}

@media (max-width: 768px) {
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-hero-image {
        order: -1;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
    }

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

/* -------------------- Thank You Page -------------------- */
.thank-you-page {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-icon {
    color: var(--color-primary);
    margin-bottom: 32px;
}

.thank-you-icon svg {
    width: 80px;
    height: 80px;
}

.thank-you-page h1 {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 16px;
}

.thank-you-text {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.thank-you-subtext {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.thank-you-phone {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.thank-you-phone:hover {
    text-decoration: underline;
}

/* -------------------- Legal Pages (Impressum, Datenschutz) -------------------- */
.legal-page {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
}

.legal-page .container {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(36px, 6vw, 52px);
}

.legal-content {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 16px;
    margin-top: 48px;
}

.legal-section h2:first-child {
    margin-top: 0;
}

.legal-section h3 {
    font-size: 18px;
    color: var(--color-text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-section a {
    color: var(--color-primary);
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-date {
    margin-top: 48px;
    font-size: 14px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 64px;
    }

    .legal-header {
        margin-bottom: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
        margin-top: 32px;
    }
}

/* -------------------- Cookie Banner -------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-text);
    color: white;
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.cookie-text p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-reject {
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cookie-accept {
    background: white;
    color: var(--color-text);
}

.cookie-accept:hover {
    background: var(--color-primary);
    color: white;
}

.cookie-reject {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-accept,
    .cookie-reject {
        width: 100%;
    }
}

/* -------------------- Print -------------------- */
@media print {
    .header, .nav-toggle, .cta-section, .contact-form-wrapper {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}
