/* ============================================================
   CSS Variablen
   ============================================================ */
:root {
    --primary-blue: #174195;
    --hover-overlay: rgba(25, 64, 139, 0.9);
    --accent-yellow: #ffed00;
    --text-white: #ffffff;
    --bg-beige: #fdf5eb;
    --font-main: 'Open Sans', sans-serif;
    --font-script: 'Caveat', cursive;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-beige);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: opacity 0.2s ease; }

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

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 50;
    padding: 30px 0;
}

.site-header.header-solid {
    position: relative;
    background-color: var(--bg-beige);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 80px;
    background-color: rgba(255,255,255,0.2);
    text-decoration: none;
    flex-shrink: 0;
}

.site-header.header-solid .site-logo {
    background-color: var(--primary-blue);
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.site-logo .logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    padding: 8px;
    line-height: 1.3;
}

/* Hamburger */
.menu-btn { display: none; }

.menu-icon {
    cursor: pointer;
    display: none;
    padding: 28px 20px;
    position: relative;
    user-select: none;
    z-index: 60;
}

.navicon {
    background: var(--primary-blue);
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 24px;
}

.navicon::before,
.navicon::after {
    background: var(--primary-blue);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.navicon::before { top: 7px; }
.navicon::after { top: -7px; }

/* Main Nav */
.main-nav { margin-top: 55px; }

.main-nav ul { list-style: none; display: flex; gap: 30px; }

.main-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.main-nav a:hover { opacity: 0.7; }

.main-nav a.current-menu-item,
.main-nav a[aria-current="page"] {
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 4px;
    opacity: 1;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-block;
    padding: 3px 25px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
    border-color: var(--primary-blue);
}

.btn-blue:hover {
    background-color: #0f2d6b;
    border-color: #0f2d6b;
    opacity: 1;
}

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

.btn-white:hover {
    background-color: transparent;
    color: var(--text-white);
    opacity: 1;
}

/* ============================================================
   Section-Titles (shared)
   ============================================================ */
.section-pretitle {
    color: var(--primary-blue);
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 300;
}

.section-title {
    color: var(--primary-blue);
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* ============================================================
   Hero (Startseite)
   ============================================================ */
.hero {
    position: relative;
    height: 860px;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: #666;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #888;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 50px;
}

.hero-title {
    font-family: var(--font-script);
    color: var(--text-white);
    font-size: 110px;
    line-height: 0.9;
    margin-bottom: 30px;
    transform: rotate(-4deg);
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
    max-width: 600px;
}

.hero-subtitle {
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.6);
    max-width: 460px;
}

/* ============================================================
   Services Grid (4 Blöcke)
   ============================================================ */
.services-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
    background-color: #ddd;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #ccc;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-normal,
.card-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

.card-normal {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.card-normal h2 {
    color: var(--text-white);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 18px;
}

.card-hover {
    background-color: var(--hover-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
}

.card-hover .hover-title {
    color: var(--accent-yellow);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-hover .hover-text {
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.4;
}

.service-card:hover .card-normal { opacity: 0; }
.service-card:hover .card-hover { opacity: 1; }

/* ============================================================
   Planning Section (Icons)
   ============================================================ */
.planning-section {
    padding: 60px 0 120px 0;
    text-align: center;
    background-color: var(--bg-beige);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.icon-placeholder-box {
    width: 60px;
    height: 60px;
    background-color: #d1d8e6;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 24px;
}

.icon-item h3 {
    color: var(--primary-blue);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.icon-item p {
    color: var(--primary-blue);
    font-size: 18px;
    line-height: 1.2;
}

/* ============================================================
   Über Uns (Split)
   ============================================================ */
.about-split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.about-content {
    flex: 1 1 50%;
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content .section-pretitle {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 15px;
}

.about-title {
    color: var(--accent-yellow);
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    max-width: 600px;
}

.about-text {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 40px;
}

.about-footer {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-badge {
    flex: 0 0 90px;
    height: 120px;
    object-fit: contain;
}

.about-list {
    list-style: none;
    font-size: 18px;
    line-height: 1.5;
}

.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    line-height: 1.3;
}

.about-list li::before {
    content: '+';
    position: absolute;
    left: 0; top: 0;
    color: var(--text-white);
    font-weight: bold;
}

.about-image {
    flex: 1 1 50%;
    position: relative;
    min-height: 500px;
    background-color: #d8c8b8;
    overflow: hidden;
}

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

.about-stamp {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    z-index: 2;
}

/* ============================================================
   Team Section
   ============================================================ */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-beige);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    color: rgba(25, 64, 139, 0.05);
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 15px;
    user-select: none;
}

.team-grid-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 90px;
}

.team-arrow {
    flex: 0 0 50px;
    font-size: 120px;
    color: var(--primary-blue);
    cursor: pointer;
    user-select: none;
    line-height: 1;
    font-weight: 300;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.team-arrow:hover { opacity: 0.7; }

.team-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.team-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.team-card {
    position: relative;
    padding-bottom: 40px;
    flex: 0 0 calc((100% - 40px) / 3);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #b8b0a8;
}

.team-label {
    position: absolute;
    left: 12px; right: 12px;
    bottom: -25px;
    background-color: var(--primary-blue);
    padding: 12px 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-name {
    color: var(--accent-yellow);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.team-role {
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.35;
}

/* Arrows disabled state */
.team-arrow.is-disabled,
.projects-arrow.is-disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* ============================================================
   Vorteile / Darum Holzbau (Split)
   ============================================================ */
.advantages-split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.advantages-image {
    flex: 1 1 50%;
    position: relative;
    background-color: #3a2e25;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.advantages-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantages-script {
    position: relative;
    z-index: 2;
    font-family: var(--font-script);
    color: var(--text-white);
    font-size: 140px;
    line-height: 0.9;
    transform: rotate(-5deg);
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
    text-align: center;
    pointer-events: none;
}

.advantages-content {
    flex: 1 1 50%;
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantages-content .section-pretitle {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 15px;
}

.advantages-title {
    color: var(--accent-yellow);
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.advantages-text {
    font-size: 18px;
    line-height: 1.3;
    color: var(--text-white);
    margin-bottom: 30px;
    max-width: 565px;
}

.advantages-list {
    list-style: none;
    margin-bottom: 40px;
}

.advantages-list li {
    padding: 14px 0 14px 22px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.advantages-list li:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.advantages-list li::before {
    content: '+';
    position: absolute;
    left: 0; top: 14px;
    color: var(--text-white);
    font-weight: 700;
    font-size: 18px;
}

.advantages-list strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: -4px;
}

.advantages-list span {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   Quote / Testimonial
   ============================================================ */
.quote-section {
    position: relative;
    padding: 40px 20px 100px;
    text-align: center;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-bg {
    position: absolute;
    inset: 0;
    background-color: #d4b896;
    z-index: 1;
}

.quote-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.quote-icon {
    color: var(--text-white);
    font-size: 100px;
    line-height: 1;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -4px;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.quote-text {
    color: var(--primary-blue);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.quote-author {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
}

/* ============================================================
   CTA Split
   ============================================================ */
.cta-split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.cta-image {
    flex: 1 1 50%;
    position: relative;
    background-color: #4a3525;
    min-height: 300px;
    overflow: hidden;
}

.cta-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    flex: 1 1 50%;
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cta-title.yellow { color: var(--accent-yellow); }
.cta-title.white { color: var(--text-white); margin-bottom: 28px; }

/* ============================================================
   Projekte Slider
   ============================================================ */
.projects-section {
    padding: 80px 0 0;
    background-color: var(--bg-beige);
    text-align: center;
    position: relative;
}

.projects-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.projects-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    color: var(--text-white);
    font-size: 100px;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    padding: 0 75px;
    background: none;
    border: 0;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.projects-arrow:hover { opacity: 0.7; }
.projects-arrow.left { left: 0; }
.projects-arrow.right { right: 0; }

.projects-grid {
    display: flex;
    gap: 0;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.project-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #c8b89c;
    overflow: hidden;
    flex: 0 0 25%;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* ============================================================
   News Section
   ============================================================ */
.news-section {
    padding: 80px 0;
    background-color: var(--bg-beige);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-section .section-title { margin-bottom: 50px; }

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

.news-card { text-align: left; }

.news-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #b8b0a8;
}

.news-card-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #b8b0a8;
    margin-bottom: 20px;
}

.news-title {
    color: var(--primary-blue);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
    min-height: 100px;
}

.news-date {
    color: var(--primary-blue);
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 16px;
}

/* ============================================================
   Page Hero (für Unterseiten)
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--text-white);
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-color: #0f2d6b;
    z-index: 1;
}

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

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 65, 149, 0.65);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 800px;
}

.page-hero-pretitle {
    font-family: var(--font-script);
    color: var(--accent-yellow);
    font-size: 56px;
    line-height: 1;
    margin-bottom: 10px;
    transform: rotate(-3deg);
    display: inline-block;
}

.page-hero-title {
    color: var(--text-white);
    font-size: 70px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 25px;
}

.page-hero-subtitle {
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.5;
    max-width: 620px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--bg-beige);
    padding: 20px 0;
    border-bottom: 1px solid rgba(23, 65, 149, 0.1);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-blue);
}

.breadcrumb a { color: var(--primary-blue); text-decoration: none; opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.4; }
.breadcrumb [aria-current="page"] { font-weight: 700; opacity: 1; }

/* ============================================================
   Angebote Template
   ============================================================ */
.page-intro {
    padding: 80px 0 40px;
    text-align: center;
    background-color: var(--bg-beige);
}

.page-intro .section-title { margin-bottom: 30px; }

.page-intro-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.offers { padding: 60px 0 80px; background-color: var(--bg-beige); }

.offer-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
}

.offer-block:last-child { margin-bottom: 0; }
.offer-block.reversed .offer-image { order: 2; }

.offer-image {
    position: relative;
    aspect-ratio: 5 / 4;
    background-color: #b8b0a8;
    overflow: hidden;
}

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

.offer-image::after {
    content: '';
    position: absolute;
    top: 20px; right: 20px;
    width: 60px; height: 60px;
    background-color: var(--accent-yellow);
    z-index: 2;
}

.offer-block.reversed .offer-image::after { right: auto; left: 20px; }

.offer-number {
    display: inline-block;
    font-family: var(--font-script);
    color: var(--accent-yellow);
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 5px;
    transform: rotate(-2deg);
}

.offer-content h2 {
    color: var(--primary-blue);
    font-size: 44px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 20px;
}

.offer-content p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
}

.offer-list {
    list-style: none;
    margin-bottom: 30px;
}

.offer-list li {
    padding: 10px 0 10px 22px;
    position: relative;
    font-size: 16px;
    line-height: 1.4;
    color: var(--primary-blue);
    border-bottom: 1px solid rgba(23, 65, 149, 0.12);
}

.offer-list li:first-child { border-top: 1px solid rgba(23, 65, 149, 0.12); }

.offer-list li::before {
    content: '+';
    position: absolute;
    left: 0; top: 10px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
}

/* ============================================================
   Über Uns Template
   ============================================================ */
.ueber-uns-intro {
    padding: 80px 0;
    background-color: var(--bg-beige);
}

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

.ueber-uns-intro-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.ueber-uns-intro-content .section-pretitle { margin-bottom: 10px; }

.ueber-uns-intro-content .section-title { font-size: 42px; margin-bottom: 25px; }

.ueber-uns-intro-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: var(--primary-blue);
}

.stat-item {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-script);
    color: var(--accent-yellow);
    font-size: 90px;
    line-height: 0.9;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-white);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.values-section {
    padding: 80px 0;
    background-color: var(--bg-beige);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.value-card {
    background-color: #fff;
    padding: 40px 30px;
    border-top: 4px solid var(--accent-yellow);
    text-align: left;
}

.value-card h3 {
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Team section on Über Uns */
.team-full-section {
    padding: 80px 0;
    background-color: var(--bg-beige);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   Kontakt Template
   ============================================================ */
.kontakt-section {
    padding: 80px 0;
    background-color: var(--bg-beige);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.kontakt-info .section-pretitle { margin-bottom: 10px; }
.kontakt-info .section-title { font-size: 42px; margin-bottom: 30px; }

.kontakt-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.kontakt-info strong { color: var(--primary-blue); font-weight: 700; display: block; }

.kontakt-info a { color: var(--primary-blue); text-decoration: none; }
.kontakt-info a:hover { opacity: 0.7; }

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.kontakt-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.kontakt-detail-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    font-weight: 700;
}

.kontakt-detail-text strong {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 3px;
}

.kontakt-detail-text span, .kontakt-detail-text a {
    font-size: 16px;
    color: #555;
    text-decoration: none;
}

.kontakt-detail-text a:hover { color: var(--primary-blue); }

.kontakt-form-wrap { background-color: #fff; padding: 40px; }

.kontakt-form-wrap h3 {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.kontakt-map {
    margin-top: 60px;
}

.kontakt-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* WP Forms / CF7 basic styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form textarea,
.kontakt-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 16px;
    color: #333;
    background-color: #fff;
    margin-bottom: 16px;
    transition: border-color 0.2s;
    appearance: none;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.kontakt-form textarea { height: 160px; resize: vertical; }

.kontakt-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.kontakt-form .form-row { margin-bottom: 8px; }

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

.kontakt-form button[type="submit"] {
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
    border: 2px solid var(--primary-blue);
    padding: 10px 30px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 8px;
}

.kontakt-form button[type="submit"]:hover {
    background-color: #0f2d6b;
    border-color: #0f2d6b;
}

/* ============================================================
   Referenzen Template
   ============================================================ */
.referenzen-section {
    padding: 60px 0 80px;
    background-color: var(--bg-beige);
}

.referenzen-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.referenzen-filter-btn {
    padding: 6px 20px;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.referenzen-filter-btn:hover,
.referenzen-filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
}

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

.referenz-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #b8b0a8;
    cursor: pointer;
}

.referenz-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.referenz-overlay {
    position: absolute;
    inset: 0;
    background: var(--hover-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.referenz-card:hover .referenz-overlay { opacity: 1; }

.referenz-title {
    color: var(--accent-yellow);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.referenz-subtitle {
    color: var(--text-white);
    font-size: 15px;
}

/* ============================================================
   Standard Content Page (Impressum, Datenschutz etc.)
   ============================================================ */
.standard-content {
    padding: 80px 0;
    background-color: var(--bg-beige);
}

.standard-content-inner {
    max-width: 860px;
    margin: 0 auto;
}

.standard-content h1,
.standard-content h2 {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 40px;
    line-height: 1.2;
}

.standard-content h1 { font-size: 42px; margin-top: 0; }
.standard-content h2 { font-size: 28px; }
.standard-content h3 { font-size: 20px; color: var(--primary-blue); font-weight: 700; margin-bottom: 10px; margin-top: 25px; }

.standard-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}

.standard-content ul,
.standard-content ol {
    margin-left: 20px;
    margin-bottom: 18px;
}

.standard-content li {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 6px;
}

.standard-content a { color: var(--primary-blue); }
.standard-content a:hover { opacity: 0.7; }

/* ============================================================
   Single Post (News)
   ============================================================ */
.single-post-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: var(--primary-blue);
}

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

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23,65,149,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.single-post-hero-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 2;
}

.single-post-category {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.single-post-hero-title {
    color: var(--text-white);
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    max-width: 800px;
}

.single-post-content {
    padding: 60px 0 80px;
    background-color: var(--bg-beige);
}

.single-post-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.single-post-body { font-size: 17px; line-height: 1.7; color: #333; }
.single-post-body h2 { color: var(--primary-blue); font-size: 26px; font-weight: 700; text-transform: uppercase; margin: 30px 0 15px; }
.single-post-body h3 { color: var(--primary-blue); font-size: 20px; font-weight: 700; margin: 25px 0 12px; }
.single-post-body p { margin-bottom: 18px; }
.single-post-body img { margin: 20px 0; border-radius: 0; }
.single-post-body ul, .single-post-body ol { margin-left: 20px; margin-bottom: 18px; }
.single-post-body li { margin-bottom: 6px; }

.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-blue);
}

.post-date {
    color: var(--primary-blue);
    font-size: 15px;
    opacity: 0.7;
}

.post-sidebar { position: sticky; top: 100px; }

.post-sidebar-widget {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
}

.post-sidebar-widget h3 {
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.recent-posts-list { list-style: none; }
.recent-posts-list li { border-bottom: 1px solid #eee; padding: 10px 0; }
.recent-posts-list li:last-child { border-bottom: none; }
.recent-posts-list a { color: var(--primary-blue); text-decoration: none; font-size: 15px; font-weight: 600; }
.recent-posts-list a:hover { opacity: 0.7; }
.recent-posts-list span { display: block; color: #888; font-size: 12px; margin-top: 3px; }

/* Archive (News Liste) */
.archive-section {
    padding: 60px 0 80px;
    background-color: var(--bg-beige);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.archive-card { text-align: left; }

.archive-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
    background-color: #b8b0a8;
}

.archive-card-title {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
}

.archive-card-date {
    color: var(--primary-blue);
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 12px;
}

.archive-card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 16px;
}

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.pagination-wrap .current,
.pagination-wrap a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 45px 0 30px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--accent-yellow);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-list { list-style: none; }

.footer-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
    font-size: 18px;
}

.footer-list li::before {
    content: '+';
    position: absolute;
    left: 0; top: 0;
    color: var(--text-white);
    font-weight: 700;
}

.footer-list li.spacer-top { margin-top: 18px; }

.footer-list a { color: var(--text-white); text-decoration: none; transition: opacity 0.2s; }
.footer-list a:hover { opacity: 0.7; }

.footer-contact p { line-height: 1.6; margin-bottom: 14px; font-size: 18px; }
.footer-contact p:last-child { margin-bottom: 0; }
.footer-contact strong { font-weight: 700; display: block; line-height: 1.4; }
.footer-contact a { color: var(--text-white); text-decoration: none; }
.footer-contact a:hover { opacity: 0.7; }

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

.footer-brand { display: flex; align-items: center; gap: 15px; }

.footer-logo {
    height: 65px;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 18px;
    color: var(--text-white);
}

.footer-meta-divider { opacity: 0.5; }

.footer-social { display: flex; gap: 0; }

.footer-social a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    opacity: 1;
}

/* ============================================================
   WordPress Specific
   ============================================================ */
.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #888; margin-top: 5px; text-align: center; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 80px; }
    .section-title { font-size: 42px; }
    .services-grid { gap: 15px; }
    .card-hover .hover-title { font-size: 22px; }
    .about-content { padding: 60px 40px; }
    .about-title { font-size: 42px; }
    .team-watermark { font-size: 140px; }
    .advantages-title { font-size: 42px; }
    .advantages-content { padding: 60px 40px; }
    .advantages-script { font-size: 90px; }
    .cta-content { padding: 50px 40px; }
    .cta-title { font-size: 42px; }
    .footer-grid { gap: 25px; }
    .footer-col h3 { font-size: 22px; }
    .page-hero-title { font-size: 54px; }
    .page-hero-pretitle { font-size: 46px; }
    .offer-content h2 { font-size: 34px; }
    .single-post-inner { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
}

@media (max-width: 850px) {
    .icon-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .about-split { flex-direction: column; }
    .about-content, .about-image { flex: 1 1 100%; width: 100%; }
    .advantages-split { flex-direction: column; }
    .advantages-image, .advantages-content { flex: 1 1 100%; width: 100%; }
    .advantages-image { min-height: 350px; }
    .cta-split { flex-direction: column; }
    .cta-image, .cta-content { flex: 1 1 100%; width: 100%; }
    .cta-image { min-height: 250px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
    .offer-block { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
    .offer-block.reversed .offer-image { order: 0; }
    .ueber-uns-intro-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .values-grid { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .referenzen-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .site-header { padding: 15px 0; }
    .site-header:not(.header-solid) { background-color: #fff; }
    .site-logo { background-color: var(--primary-blue) !important; width: 200px; height: 65px; }

    .menu-icon { display: block; margin-right: -20px; }
    .main-nav { margin-top: 0; }

    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 20px;
        text-align: center;
        z-index: 100;
    }

    .menu-btn:checked ~ .main-nav ul { display: flex; }
    .menu-btn:checked ~ .menu-icon .navicon { background: transparent; }
    .menu-btn:checked ~ .menu-icon .navicon::before { transform: rotate(-45deg); top: 0; }
    .menu-btn:checked ~ .menu-icon .navicon::after { transform: rotate(45deg); top: 0; }

    .hero { height: auto; min-height: 60vh; text-align: center; padding: 110px 0 90px; }
    .hero-title { font-size: 60px; transform: rotate(0deg); margin: 0 auto 20px; }
    .hero-subtitle { margin: 0 auto; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-wrapper { margin-top: -50px; }

    .team-watermark { font-size: 70px; }
    .advantages-content { padding: 50px 30px; }
    .advantages-script { font-size: 65px; }

    .cta-content { padding: 40px 25px; }
    .cta-title { font-size: 28px; }
    .quote-text { font-size: 20px; }
    .quote-content { max-width: 80%; }
    .projects-arrow { font-size: 60px; padding: 0 30px; }

    .news-title { font-size: 20px; min-height: 0; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .page-hero { min-height: 320px; }
    .page-hero-title { font-size: 42px; }
    .page-hero-pretitle { font-size: 38px; }
    .section-title { font-size: 30px; margin-bottom: 30px; }
    .single-post-hero { height: 300px; }
    .single-post-hero-title { font-size: 32px; }
}

@media (max-width: 480px) {
    .services-wrapper { margin-top: 30px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-normal h2 { font-size: 16px; }
    .icon-grid { grid-template-columns: 1fr; }
    .about-content { padding: 40px 20px; }
    .about-footer { flex-direction: column; align-items: center; text-align: center; }
    .about-list li { text-align: left; }
    .team-grid-wrapper { gap: 10px; }
    .advantages-content { padding: 40px 20px; }
    .advantages-title { font-size: 28px; }
    .advantages-script { font-size: 55px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .referenzen-grid { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
    .kontakt-form-wrap { padding: 25px 20px; }
    .cta-content { padding: 35px 20px; }
    .offer-image::after { width: 40px; height: 40px; top: 12px; right: 12px; }
    .offer-block.reversed .offer-image::after { left: 12px; right: auto; }
}
