/* ===== CSS Variables ===== */
:root {
    --primary-color: #c9a227;
    --primary-dark: #a8851f;
    --secondary-color: #000000;
    --text-dark: #000000;
    --text-light: #a0a0a0;
    --white: #ffffff;
    --black: #000000;
    --gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 0 0 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left: auto;
    margin-right: 50px;
}

.nav-link {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* ===== Hero Section - DungBuBu Style ===== */
.hero {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Hero Header */
.hero-header {
    display: flex;
    justify-content: space-between;
    padding: 60px 45px 26px;
    color: var(--white);
    position: relative;
    z-index: 10;
}

.hero-header-left,
.hero-header-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-label {
    color: #555;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
}

.hero-links a,
.hero-status {
    color: var(--white);
    font-size: 0.95rem;
}

.hero-links a:hover {
    color: var(--primary-color);
}

/* Hero Main - Split Layout */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: calc(100vh - 180px);
    padding: 0 45px;
    overflow: hidden;
    text-align: left;
}

/* Giant Titles - Left Side */
.hero-titles {
    position: absolute;
    left: 45px;
    bottom: 18%;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    z-index: 2;
    text-align: left;
    max-width: 50%;
}

.hero-title-line {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.75rem, 8.75vw, 6.625rem);
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.92;
    margin: 0;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    text-align: left;
}

/* Image - Right Side, Full Height */
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    overflow: hidden;
}

.hero-image picture {
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-main::before {
    content: none;
}

/* Hero Contact Info - Right Bottom */
.hero-contact {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    z-index: 10;
}

.hero-contact a,
.hero-contact span {
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-contact a:hover {
    color: var(--primary-color);
}

.hero-social {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
}

.hero-social a {
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.hero-social a:hover {
    color: var(--primary-color);
}

/* Scrolling Ticker Banner */
.hero-ticker {
    background: #1a1a1a;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    border-top: 1px solid #333;
}

.ticker-track {
    display: inline-flex;
    gap: 20px;
    animation: ticker 25s linear infinite;
}

.ticker-track span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title.text-center {
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
}

.section-title.text-center::after {
    margin: 15px auto 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===== Über mich Section ===== */
.about-me {
    padding: 120px 0;
    background: #f8f9fa;
}

.about-me-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.about-me-image {
    position: relative;
}

.about-me-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

.about-me-image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.5;
}

.about-me-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.about-me-image-frame:hover img {
    transform: scale(1.05);
}

.about-me-text .section-title {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.about-me-text .lead-text {
    color: #333;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.about-me-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.about-me-text strong {
    color: var(--primary-color);
}

.about-me-quote {
    margin-top: 25px;
    padding: 0;
}

.about-me-quote p {
    margin: 0;
    color: #555;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== About/Erfahrung Section ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    justify-self: end;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 400px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.experience-badge .number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 120px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Services Section ===== */
.services {
    padding: 120px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    height: 320px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.flip-card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.flip-card-back {
    background: var(--white);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
}

.flip-card-back p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.flip-card-front h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.flip-card-front p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== Portfolio Section ===== */
/* ===== FAQ Section ===== */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--secondary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Referenzen Section ===== */
.referenzen {
    padding: 120px 0;
    background: #f8f9fa;
}

.referenzen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.referenz-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.referenz-card:hover {
    transform: translateY(-10px);
}

.referenz-stars {
    margin-bottom: 20px;
}

.referenz-stars i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 2px;
}

.referenz-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.referenz-author strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 5px;
}

.referenz-author span {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 120px 0;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-image {
    position: relative;
    height: 350px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 20px;
}

/* ===== Partners Section ===== */
.partners {
    padding: 120px 0;
    background: var(--white);
}

.partners .section-title {
    margin-bottom: 40px;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    padding: 24px 0;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 40%, rgba(255, 255, 255, 0));
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--white) 40%, rgba(255, 255, 255, 0));
}

.partners-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    animation: partners-scroll 22s linear infinite;
    will-change: transform;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 110px;
    padding: 12px 18px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.partner-logo.onestreet {
    background: #0f0f12;
    border-radius: 14px;
    padding: 14px 18px;
}

.partner-logo.onestreet img {
    max-height: 90px;
}

.partner-logo:hover {
    transform: scale(1.06);
}

@keyframes partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Gallery Section - Stack Effect ===== */
.gallery {
    padding: 120px 0;
    background: #f8f9fa;
    position: relative;
}

.gallery-stack-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.gallery-stack-container .section-title {
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.gallery-stack {
    position: relative;
    width: 600px;
    height: 400px;
    margin-bottom: 60px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Slide Animationen */
@keyframes slideOutLeft {
    0% {
        transform: rotate(-2deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-200%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    0% {
        transform: rotate(-2deg);
        opacity: 1;
    }
    100% {
        transform: translateX(200%) rotate(30deg);
        opacity: 0;
    }
}

/* Karte wegsliden - Links */
.stack-card.slide-left {
    animation: slideOutLeft 0.2s ease-out forwards;
    pointer-events: none;
}

/* Karte wegsliden - Rechts */
.stack-card.slide-right {
    animation: slideOutRight 0.2s ease-out forwards;
    pointer-events: none;
}

/* Stapel-Positionierung - von hinten nach vorne */
.stack-card[data-index="0"] {
    z-index: 5;
    transform: rotate(-2deg);
}

.stack-card[data-index="1"] {
    z-index: 4;
    transform: rotate(1deg) translateX(15px) translateY(10px);
}

.stack-card[data-index="2"] {
    z-index: 3;
    transform: rotate(-1deg) translateX(-10px) translateY(20px);
}

.stack-card[data-index="3"] {
    z-index: 2;
    transform: rotate(2deg) translateX(20px) translateY(30px);
}

.stack-card[data-index="4"] {
    z-index: 1;
    transform: rotate(-3deg) translateX(-15px) translateY(40px);
}

/* Info Box unter der Galerie */
.gallery-info {
    margin-top: 30px;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
}

.gallery-info i {
    color: var(--white);
    font-size: 1.2rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form-container {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
    border: 1px solid transparent;
}

.form-status[data-status="info"] {
    display: block;
    background: #fff7e6;
    border-color: #f1c27d;
    color: #7a4a00;
}

.form-status[data-status="success"] {
    display: block;
    background: #e9f8ef;
    border-color: #2ecc71;
    color: #1b7a3a;
}

.form-status[data-status="error"] {
    display: block;
    background: #ffecec;
    border-color: #e74c3c;
    color: #b33025;
}

.offer-guide {
    padding: 56px 0;
}

.offer-card {
    position: relative;
    overflow: hidden;
    background: #000;
    color: var(--white);
    min-height: 240px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    width: calc(100% - 48px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.offer-card::before,
.offer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.offer-card::before {
    background:
        radial-gradient(circle at 12% 20%, rgba(201, 162, 39, 0.18), transparent 40%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 38%);
}

.offer-card::after {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.18), transparent 25%, transparent 75%, rgba(201, 162, 39, 0.18));
    opacity: 0.45;
}

.offer-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    width: 100%;
    padding: 40px;
}

.offer-cta {
    flex: 1 1 28%;
    max-width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.offer-copy {
    flex: 1 1 65%;
}

.offer-copy h3 {
    font-size: 1.6rem;
    margin: 6px 0 10px;
    color: var(--white);
}

.offer-copy p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 14px;
    max-width: 680px;
}

.offer-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.offer-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.offer-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.offer-benefits i {
    color: var(--primary-color);
}

.offer-cta .btn {
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(201, 162, 39, 0.35);
    white-space: nowrap;
}

/* ===== Konfigurator ===== */
body.config-page {
    background: #050505;
    color: var(--white);
}

.config-hero {
    padding: 150px 0 80px;
    background: radial-gradient(circle at 20% 20%, rgba(201, 162, 39, 0.18), transparent 36%),
                radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 30%),
                linear-gradient(140deg, #0b0b0b 0%, #060606 100%);
    position: relative;
    overflow: hidden;
}

.config-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.config-hero .container {
    position: relative;
    z-index: 1;
}

.config-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.config-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.config-hero p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 760px;
    line-height: 1.7;
}

.config-shell {
    margin-top: -80px;
    padding-bottom: 140px;
}

.config-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.config-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.config-progress label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.progress-track {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #f0d26b);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.config-question {
    margin-bottom: 18px;
}

.field-block {
    margin-bottom: 18px;
}

.custom-input-block {
    margin-top: 12px;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.config-question h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.config-question p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

#options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.config-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.field-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.option-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.option-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.option-card span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.option-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.25);
    background: rgba(201, 162, 39, 0.08);
}

.config-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.config-actions .btn {
    min-width: 160px;
    text-align: center;
}

.config-summary {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.summary-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.summary-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.summary-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.summary-item .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.summary-item .value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.notes-field {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    min-height: 120px;
    line-height: 1.6;
    resize: vertical;
}

.notes-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

.summary-notes-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 500;
}

.config-input-wrapper {
    margin-bottom: 12px;
}

.config-text-input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.config-text-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.config-text-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.config-status {
    font-size: 0.95rem;
    margin-top: 6px;
}

.config-status[data-status="info"] {
    color: #f0d26b;
}

.config-status[data-status="error"] {
    color: #ff8080;
}

.config-status[data-status="success"] {
    color: #8ff0b3;
}

/* Contact CTA */
.contact-cta {
    background: #0b0b0b;
    color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
    line-height: 1.7;
}

.cta-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 14px;
    border-radius: 12px;
}

.cta-list i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.cta-list span {
    line-height: 1.5;
}

/* ===== Legal Pages ===== */
body.legal-page {
    background: #050505;
    color: var(--white);
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 110px;
    background: radial-gradient(circle at 20% 20%, rgba(201, 162, 39, 0.18), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 32%),
                linear-gradient(135deg, #0c0c0c 0%, #070707 100%);
    color: var(--white);
}

.legal-hero::before,
.legal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-hero::before {
    background: radial-gradient(circle at 60% 70%, rgba(201, 162, 39, 0.14), transparent 42%);
    opacity: 0.9;
}

.legal-hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.legal-hero-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

.legal-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
}

.legal-hero h1 {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    margin: 6px 0 4px;
    color: var(--white);
}

.legal-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.legal-hero-meta {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(8px);
    display: grid;
    gap: 12px;
}

.legal-meta-title {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.legal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-meta-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.legal-meta-value,
.legal-meta-value a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    word-break: break-word;
}

.legal-section {
    padding: 80px 0 140px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

.legal-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 44px 52px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
    color: #f2f2f2;
    line-height: 1.7;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.legal-card h1,
.legal-card h2,
.legal-card h3 {
    margin: 28px 0 14px;
    line-height: 1.3;
    color: var(--white);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 22px;
    right: 22px;
    left: auto;
    top: auto;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 64px;
    height: 58px;
    padding: 0 18px;
    border: none;
    border-radius: 9999px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.28);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.floating-cta .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ffffff;
    font-size: 18px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.floating-cta .cta-icon::before {
    content: "\f075";
}

.floating-cta .cta-text {
    opacity: 1;
    font-size: 0.95rem;
    white-space: nowrap;
}

.floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cta:hover,
.floating-cta:focus-visible {
    background: #d4b24c;
    box-shadow: 0 14px 32px rgba(201, 162, 39, 0.36);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-cta {
        min-width: 0;
        height: 52px;
        padding: 0 16px;
        bottom: 18px;
        right: 16px;
    }
}

.legal-card h1 {
    font-size: 2.3rem;
}

.legal-card h2 {
    font-size: 1.8rem;
}

.legal-card h3 {
    font-size: 1.3rem;
}

.legal-card p,
.legal-card li {
    color: rgba(240, 240, 240, 0.9);
    margin-bottom: 12px;
}

.legal-card ul,
.legal-card ol {
    margin: 0 0 16px 20px;
    padding-left: 20px;
}

.legal-card ul.index {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 10px 0 24px;
}

.legal-card .index-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.legal-card .m-elements {
    list-style: disc;
    padding-left: 24px;
}

.legal-card .glossary {
    list-style: disc;
    padding-left: 24px;
}

.legal-card .seal a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-card a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 18px;
}

.legal-back-link:hover {
    transform: translateX(-2px);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }

    .nav-container { padding: 0 16px; }
    .logo img { height: 90px; }
    .nav-menu { gap: 26px; margin-right: 20px; }

    .hero { min-height: auto; }
    .hero-header { padding: 64px 22px 20px; }
    .hero-main { flex-direction: column; align-items: flex-start; padding: 90px 22px 32px; min-height: auto; gap: 6px; }
    .hero-image { position: relative; width: 100%; height: auto; max-height: none; border-radius: 16px; overflow: hidden; }
    .hero-image img { width: 100%; height: auto; object-fit: contain; object-position: center center; display: block; }
    .hero-titles { position: relative; left: auto; bottom: auto; width: fit-content; max-width: 100%; padding: 12px 14px; align-items: flex-start; text-align: left; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85)); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
    .hero-title-line { font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.015em; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
    .hero-contact { position: absolute; left: 18px; right: 18px; bottom: 16px; align-items: flex-start; gap: 6px; padding: 10px 12px; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75)); border-radius: 10px; }
    .hero-contact a,
    .hero-contact span { font-size: 0.95rem; color: #f7f7f7; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
    .hero-ticker { padding: 10px 0; }

    .about-grid {
        gap: 50px;
    }
    
    .about-me-grid {
        gap: 30px;
    }
    
    .services-grid,
    .portfolio-grid,
    .referenzen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-track {
        gap: 36px;
        animation-duration: 34s;
    }

    .partners-marquee::before,
    .partners-marquee::after { width: 90px; }
    
    .flip-card {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .legal-hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .legal-hero {
        padding: 120px 0 90px;
    }

    .legal-card {
        padding: 36px 34px;
    }

    .config-shell {
        margin-top: -60px;
        padding-bottom: 120px;
    }

    .config-card {
        padding: 28px;
    }
}

/* Viewports with limited height: tighten hero to keep banner visible */
@media (max-height: 900px) {
    .hero-header {
        padding: 50px 30px 20px;
    }
    .hero-main {
        min-height: calc(100vh - 150px);
    }
    .hero-titles {
        padding: 0;
    }
    .hero-title-line {
        font-size: clamp(3.25rem, 6.25vw, 5.625rem);
    }
    .hero-contact {
        right: 20px;
        bottom: 20px;
    }
    .hero-ticker {
        padding: 10px 0;
    }
}

@media (max-height: 800px) {
    .hero-header {
        padding: 40px 24px 16px;
    }
    .hero-main {
        min-height: calc(100vh - 140px);
    }
    .hero-titles {
        padding: 0;
    }
    .hero-title-line {
        font-size: clamp(2.75rem, 6vw, 5rem);
    }
    .hero-contact {
        right: 18px;
        bottom: 16px;
    }
    .hero-ticker {
        padding: 8px 0;
    }
}

@media (max-height: 700px) {
    .hero-header {
        padding: 32px 20px 12px;
    }
    .hero-main {
        min-height: calc(100vh - 120px);
    }
    .hero-titles {
        padding: 0;
    }
    .hero-title-line {
        font-size: clamp(2.5rem, 5.25vw, 4.5rem);
    }
    .hero-ticker {
        padding: 6px 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: var(--transition);
    }
    .nav-menu.active { right: 0; }

    .about-me { padding: 80px 0; }
    .about-me-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .about-me-image { order: -1; display: flex; justify-content: center; }
    .about-me-image-frame { max-width: 300px; }
    .about-me-text .lead-text { font-size: 1.1rem; }
    .about-me-highlight { flex-direction: column; text-align: center; padding: 25px; }

    .hero { min-height: auto; }
    .hero-header { padding: 70px 20px 16px; }
    .hero-main { flex-direction: column; align-items: flex-start; padding: 96px 20px 30px; min-height: auto; gap: 6px; }
    .hero-titles { position: relative; left: auto; bottom: auto; width: fit-content; max-width: 100%; padding: 12px 14px; align-items: flex-start; text-align: left; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85)); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
    .hero-title-line { font-size: clamp(2.35rem, 7.5vw, 3.2rem); letter-spacing: -0.015em; text-align: left; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
    .hero-image { position: relative; height: auto; max-height: none; width: 100%; border-radius: 14px; overflow: hidden; }
    .hero-image img { width: 100%; height: auto; object-fit: contain; object-position: center top; display: block; }
    .hero-contact { position: absolute; left: 16px; right: 16px; bottom: 12px; align-items: flex-start; padding: 10px 12px; order: 3; gap: 6px; width: auto; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.8)); border-radius: 10px; }
    .hero-contact a,
    .hero-contact span { font-size: 0.9rem; color: #f7f7f7; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; display: flex; justify-content: center; }
    .image-frame { max-width: 300px; }
    .experience-badge { bottom: 20px; right: 20px; width: 100px; height: 100px; }
    .experience-badge .number { font-size: 2.5rem; }

    .services-grid,
    .portfolio-grid,
    .referenzen-grid { grid-template-columns: 1fr; }
    .gallery-stack { width: 90vw; height: 60vw; max-width: 400px; max-height: 280px; }
    .faq-question { padding: 20px; }
    .faq-question h3 { font-size: 1rem; }
    .faq-answer p { padding: 0 20px 20px; }
    .flip-card { height: 220px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 2rem; }
    .contact-form-container { padding: 30px; }

    .floating-cta { gap: 8px; font-size: 0.9rem; }

    .offer-shell { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; }
    .offer-cta { width: 100%; max-width: none; justify-content: flex-start; margin-left: 0; }
    .offer-cta .btn { width: 100%; text-align: center; }
    .offer-copy { flex: 1 1 auto; width: 100%; }

    .partners-marquee::before,
    .partners-marquee::after { width: 80px; }
    .partners-track { gap: 28px; animation-duration: 32s; }
    .partner-logo { min-width: 180px; height: 90px; padding: 10px 14px; }

    .legal-hero { padding: 110px 0 80px; }
    .legal-card { padding: 30px 26px; }
    .legal-hero-actions { gap: 10px; }

    .config-hero { padding: 120px 0 70px; }
    .config-shell { margin-top: -40px; padding-bottom: 100px; }
    .config-card { padding: 24px 22px; }
    .config-actions { flex-direction: column; }
    .config-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .hero-header { flex-direction: column; gap: 10px; padding: 70px 16px 10px; }
    .hero-main { padding: 96px 16px 24px; gap: 5px; }
    
    .hero-titles { padding: 6px 0 0; width: fit-content; max-width: 100%; padding: 10px 12px; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85)); border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

    .hero-title-line { font-size: clamp(2rem, 8vw, 2.8rem); text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
    
    .hero-image { height: auto; max-height: none; }
    .hero-image img { width: 100%; height: auto; object-fit: contain; display: block; }
    
    .hero-contact { position: absolute; left: 14px; right: 14px; bottom: 12px; padding: 10px 12px; gap: 4px; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.8)); border-radius: 10px; }

    .hero-contact a,
    .hero-contact span {
        font-size: 0.85rem;
        color: #f7f7f7;
        text-shadow: 0 2px 6px rgba(0,0,0,0.35);
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-grid { grid-template-columns: 1fr; }

    .config-card {
        padding: 20px 18px;
    }

    .config-options,
    .field-options {
        grid-template-columns: 1fr;
    }
}
