/* ============================================
   BAUFINA MAINZ GmbH – Premium Stylesheet
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Brand Colors – Turquoise/Cyan from logo */
    --brand: #14B8B8;
    --brand-bright: #1FCFCF;
    --brand-dark: #0E8E8E;
    --brand-darker: #0A6E6E;
    --brand-soft: #E6F8F8;
    --brand-faint: #F2FBFB;

    /* Deep teal – NOT navy blue (matches dark sections in mockup) */
    --deep: #0E3E42;
    --deep-2: #0B3236;
    --deep-3: #082B2E;

    /* Neutrals */
    --ink: #0E1F26;
    --ink-2: #1B2D34;
    --text: #2C4047;
    --text-soft: #5B7079;
    --text-mute: #8AA0A8;
    --line: #E6ECEE;
    --line-strong: #D0DADE;
    --bg: #FFFFFF;
    --bg-soft: #F6F9F9;
    --bg-mute: #EFF5F5;
    --white: #FFFFFF;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(14, 62, 66, 0.06);
    --shadow-md: 0 8px 28px rgba(14, 62, 66, 0.08);
    --shadow-lg: 0 24px 60px rgba(14, 62, 66, 0.12);
    --shadow-xl: 0 40px 80px rgba(14, 62, 66, 0.18);
    --shadow-card: 0 4px 16px rgba(14, 62, 66, 0.04), 0 1px 3px rgba(14, 62, 66, 0.06);

    /* Layout */
    --container: 1240px;
    --container-wide: 1340px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Typography */
    --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

ul {
    list-style: none;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

/* ---------- KICKER ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--brand);
    text-transform: uppercase;
    margin-bottom: 22px;
}

.kicker.center {
    justify-content: center;
    text-align: center;
}

.kicker.light {
    color: var(--brand-bright);
}

.kicker-line {
    width: 36px;
    height: 2px;
    background: var(--brand);
    display: inline-block;
}

.kicker.light .kicker-line { background: var(--brand-bright); }

/* ---------- SECTION TITLE ---------- */
.section-title {
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--ink);
    text-transform: uppercase;
}

.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

.section-head {
    margin-bottom: 56px;
}

.section-head.center { text-align: center; }

.lead {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    margin-top: 18px;
    margin-bottom: 14px;
    font-weight: 500;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    border: 1.5px solid transparent;
    line-height: 1;
}

.btn-md { padding: 13px 24px; font-size: 0.88rem; }
.btn-lg { padding: 18px 32px; font-size: 0.98rem; }

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

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 184, 184, 0.32);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.btn-dark:hover {
    background: var(--ink-2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 31, 38, 0.3);
}

.btn-header {
    padding: 11px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(14, 62, 66, 0.06), 0 8px 24px rgba(14, 62, 66, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.logo img {
    height: 78px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s var(--ease), height 0.4s var(--ease);
}
.site-header.scrolled .logo img { height: 64px; }

.logo:hover img { transform: scale(1.03); }

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s var(--ease);
}

.site-header.scrolled .nav-link { color: var(--ink); }

.nav-link:hover { color: var(--brand-bright); }
.site-header.scrolled .nav-link:hover { color: var(--brand); }

.nav-link.active {
    color: var(--brand-bright);
}

.site-header.scrolled .nav-link.active {
    color: var(--brand);
}

.nav-link svg {
    transition: transform 0.25s var(--ease);
}

.has-dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    margin-top: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s var(--ease);
    text-transform: none;
    letter-spacing: 0;
}

.dropdown li a:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    transition: background 0.25s var(--ease);
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.site-header.scrolled .mobile-toggle span { background: var(--ink); }

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    transform: translateY(-200%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav.active { transform: translateY(0); }

.mobile-nav ul li {
    border-bottom: 1px solid var(--line);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 16px 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-nav ul li a.btn {
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
    border-radius: 10px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, 
        rgba(8, 43, 46, 0.85) 0%, 
        rgba(11, 50, 54, 0.65) 35%, 
        rgba(11, 50, 54, 0.25) 65%,
        rgba(11, 50, 54, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { 
    color: var(--white); 
    max-width: 620px;
    animation: heroIn 1s var(--ease-out) both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-title .line-white { display: block; color: var(--white); }
.hero-title .line-cyan { 
    display: block; 
    color: var(--brand-bright); 
    background: linear-gradient(135deg, var(--brand-bright) 0%, #4FE5E5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    letter-spacing: -0.005em;
}

.hero-bullets {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.97rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(20, 184, 184, 0.4);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.avatar:first-child { margin-left: 0; }

.avatar.a1 { background: linear-gradient(135deg, #FFB6A0, #FF8E72); }
.avatar.a2 { background: linear-gradient(135deg, #B6D4F0, #6FA8E0); }
.avatar.a3 { background: linear-gradient(135deg, #FFD4A0, #FFA858); }
.avatar.a4 { background: linear-gradient(135deg, #C7B5E8, #9776D6); }

/* Subtle face hints with pseudo elements */
.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.4) 0%, transparent 35%),
                radial-gradient(circle at 50% 70%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.avatar { position: relative; }

.trust-text .stars {
    display: flex;
    gap: 2px;
    color: var(--brand-bright);
    margin-bottom: 4px;
}

.trust-text .stars svg {
    width: 14px;
    height: 14px;
}

.trust-text p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

/* TRUST CARD */
.trust-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 36px 36px;
    box-shadow: 
        0 30px 80px rgba(8, 43, 46, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.4);
    animation: cardFloat 1s var(--ease-out) 0.3s both;
}

@keyframes cardFloat {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--brand-faint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-meta { flex: 1; }

.trust-value {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.4;
    font-weight: 500;
}

.trust-divider {
    height: 1px;
    background: var(--line);
    margin: 18px 0;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--bg-soft);
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
}

.tb-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.tb-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(20, 184, 184, 0.08);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.tb-item:hover .tb-icon {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 184, 0.25);
}

.tb-text h3 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tb-text p {
    font-size: 0.86rem;
    color: var(--text-soft);
    line-height: 1.5;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 110px 0;
    background: var(--white);
}

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

.about-text p {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 0.97rem;
    line-height: 1.75;
}

.about-text .btn { margin-top: 24px; }

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 2;
}

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

.about-image:hover .image-frame img {
    transform: scale(1.04);
}

.image-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.15;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 110px 0;
    background: var(--bg-soft);
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-soft);
    box-shadow: 0 24px 50px rgba(14, 62, 66, 0.12);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--brand-faint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--brand);
    color: var(--white);
    transform: rotate(-6deg) scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 22px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: gap 0.3s var(--ease);
}

.card-link:hover { gap: 14px; color: var(--brand-dark); }

/* ============================================
   PROPERTIES
   ============================================ */
.properties {
    padding: 110px 0;
    background: var(--white);
}

.properties-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
    flex-wrap: wrap;
}

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

.property-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: transform 0.4s var(--ease);
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-6px);
}

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

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

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 43, 46, 0.75) 100%);
    pointer-events: none;
}

.property-location {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    z-index: 2;
}

.property-location svg {
    color: var(--brand);
}

.property-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 24px 24px;
    color: var(--white);
    z-index: 2;
}

.property-info h3 {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
}

.property-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 6px;
}

.property-price {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.property-price strong {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
}

.mobile-cta-center {
    display: none;
    margin: 30px auto 0;
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process {
    padding: 90px 0;
    background: var(--bg-soft);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 8.33%;
    right: 8.33%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--brand) 10%, 
        var(--brand) 90%, 
        transparent 100%);
    opacity: 0.35;
    z-index: 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 2px solid var(--brand-soft);
    transition: all 0.4s var(--ease);
    position: relative;
}

.timeline-step:hover .step-icon {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(20, 184, 184, 0.3);
}

.step-num {
    position: absolute;
    top: -4px;
    left: calc(50% + 18px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    box-shadow: 0 4px 12px rgba(20, 184, 184, 0.4);
}

.timeline-step h4 {
    font-size: 0.85rem;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
}

/* ============================================
   TRUST / STATS SECTION
   ============================================ */
.trust-section {
    background: linear-gradient(135deg, var(--deep-3) 0%, var(--deep) 50%, var(--deep-2) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.bg-decoration {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(20, 184, 184, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(20, 184, 184, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.trust-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(31, 207, 207, 0.4);
    transform: translateY(-4px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 10px;
    background: rgba(31, 207, 207, 0.12);
    color: var(--brand-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
}

/* Testimonial */
.testimonial-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial {
    background: var(--white);
    padding: 38px 34px;
    border-radius: var(--radius-lg);
    color: var(--text);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.quote-mark {
    position: absolute;
    top: 18px;
    left: 28px;
    font-family: 'Georgia', serif;
    font-size: 4rem;
    color: var(--brand);
    line-height: 1;
    font-weight: 700;
    opacity: 0.25;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 22px;
    padding-top: 14px;
    font-style: italic;
}

.quote-rating {
    display: flex;
    gap: 3px;
    color: var(--brand);
    margin-bottom: 14px;
}

.quote-rating svg { width: 16px; height: 16px; }

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quote-author strong {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.quote-author span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s var(--ease);
}

.dot.active { background: var(--brand-bright); width: 24px; border-radius: 4px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-bright) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1.15;
}

.cta-text p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--white);
    padding: 80px 0 24px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.social-icons a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 184, 0.3);
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.92rem;
    color: var(--text-soft);
    transition: all 0.25s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--brand);
    padding-left: 4px;
}

.contact-block strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-block p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.55;
    margin-bottom: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 8px;
    transition: color 0.25s var(--ease);
}

.contact-link:hover { color: var(--brand); }

.contact-link svg {
    color: var(--brand);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-mute);
}

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

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-mute);
    transition: color 0.25s var(--ease);
}

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

/* Floating call button (mobile only) */
.float-call {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(20, 184, 184, 0.45);
    z-index: 90;
    transition: transform 0.3s var(--ease);
}

.float-call:hover { transform: scale(1.08); }

.float-call::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--brand);
    opacity: 0;
    animation: pulse 2s var(--ease-out) infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.4); }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children with delays */
.services-grid .service-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.25s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.35s; }

.properties-grid .property-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.properties-grid .property-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.properties-grid .property-card.reveal:nth-child(3) { transition-delay: 0.25s; }

.timeline .timeline-step.reveal:nth-child(2) { transition-delay: 0.05s; }
.timeline .timeline-step.reveal:nth-child(3) { transition-delay: 0.1s; }
.timeline .timeline-step.reveal:nth-child(4) { transition-delay: 0.15s; }
.timeline .timeline-step.reveal:nth-child(5) { transition-delay: 0.2s; }
.timeline .timeline-step.reveal:nth-child(6) { transition-delay: 0.25s; }
.timeline .timeline-step.reveal:nth-child(7) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1100px) {
    .container { padding: 0 24px; }

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

    .trust-card { max-width: 520px; }

    .nav-list { display: none; }
    .btn-header { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-nav { display: block; }

    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    }

    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

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

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

    .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .timeline-line { display: none; }

    .trust-grid { grid-template-columns: 1fr; gap: 50px; }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 720px) {
    .container { padding: 0 20px; }

    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex; }

    .site-header { padding: 14px 0; }
    .logo img { height: 56px; }
    .site-header.scrolled .logo img { height: 50px; }

    .hero { padding: 110px 0 60px; min-height: auto; }

    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(8, 43, 46, 0.85) 0%, 
            rgba(11, 50, 54, 0.7) 60%, 
            rgba(11, 50, 54, 0.5) 100%);
    }

    .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .trust-card { padding: 24px 22px; }
    .trust-row { gap: 14px; }
    .trust-icon { width: 46px; height: 46px; }
    .trust-icon svg { width: 22px; height: 22px; }
    .trust-value { font-size: 1.5rem; }
    .trust-label { font-size: 0.75rem; }
    .trust-divider { margin: 14px 0; }

    .trust-bar { padding: 40px 0; }
    .trust-bar-grid { grid-template-columns: 1fr; gap: 22px; }

    .about, .services, .properties, .process, .trust-section { padding: 70px 0; }

    .section-head { margin-bottom: 36px; }

    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .service-card { padding: 28px 24px; }

    .properties-grid { grid-template-columns: 1fr; gap: 20px; }

    .mobile-cta-center { display: inline-flex; }

    .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-card { padding: 18px 12px; }
    .stat-value { font-size: 1.65rem; }

    .testimonial { padding: 28px 24px; }

    .cta-section { padding: 50px 0; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-text h2 { font-size: 1.5rem; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .site-footer { padding: 60px 0 24px; }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 36px;
        margin-bottom: 36px;
    }

    .footer-bottom { 
        flex-direction: column; 
        text-align: center;
        gap: 12px;
    }

    .float-call { display: flex; }
}

@media (max-width: 420px) {
    .hero-title { font-size: 2rem; }
    .hero-bullets li { font-size: 0.9rem; }
    .section-title { font-size: 1.7rem; }
    .timeline { grid-template-columns: 1fr; }
}

/* ============================================
   ACCESSIBILITY — reduce motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   V2 EXTENSIONS — Multi-page upgrade (May 2026)
   Trust card redesign · avatar stack · testimonial slider ·
   page hero · forms · steps · values · team · ratgeber ·
   contact · legal · filter bar · property feats
   ============================================================ */

/* ---------- AVATAR STACK with real images ---------- */
.avatar-stack { display: flex; }
.avatar-stack .avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    margin-left: -10px;
    transition: transform 0.25s ease;
}
.avatar-stack .avatar-img:first-child { margin-left: 0; }
.avatar-stack .avatar-img:nth-child(1) { z-index: 5; }
.avatar-stack .avatar-img:nth-child(2) { z-index: 4; }
.avatar-stack .avatar-img:nth-child(3) { z-index: 3; }
.avatar-stack .avatar-img:nth-child(4) { z-index: 2; }
.avatar-stack .avatar-img:nth-child(5) { z-index: 1; }
.avatar-stack:hover .avatar-img { transform: translateY(-2px); }


/* ---------- TRUST CARD V2 (cleaner, hover, animated counters) ---------- */
.trust-card-v2 {
    padding: 32px 30px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(20,184,184,0.08);
    box-shadow: 0 20px 60px rgba(11,80,80,0.18), 0 2px 8px rgba(11,80,80,0.08);
}
.trust-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255,193,7,0.12), rgba(255,140,0,0.08));
    border: 1px solid rgba(255,170,0,0.25);
    color: #d97706;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}
.trust-badge svg { color: #f59e0b; }

.trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-radius: 10px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.trust-item:not(:last-child) {
    border-bottom: 1px solid rgba(20,184,184,0.10);
}
.trust-item:hover {
    background: rgba(20,184,184,0.04);
    transform: translateX(3px);
}

.trust-item-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(20,184,184,0.10), rgba(31,207,207,0.06));
    color: var(--brand, #14B8B8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.trust-item:hover .trust-item-icon {
    background: linear-gradient(135deg, #14B8B8, #1FCFCF);
    color: #fff;
}

.trust-item-content { flex: 1; min-width: 0; }
.trust-item-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: #0E3E42;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.trust-item-label {
    font-size: 0.85rem;
    color: #5a6c70;
    line-height: 1.3;
}


/* ---------- COUNTER (just the number; animates from 0) ---------- */
.counter { display: inline-block; font-variant-numeric: tabular-nums; }


/* ---------- PROPERTY badges & link tags ---------- */
.property-image { position: relative; }
.property-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    color: var(--brand, #14B8B8);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.property-link-tag {
    color: var(--brand, #14B8B8);
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 6px;
}
.property-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
}
.property-feats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #5a6c70;
}
.property-feats svg { color: var(--brand, #14B8B8); }
.properties-grid-full {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) { .properties-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .properties-grid-full { grid-template-columns: 1fr; } }


/* ---------- TIMELINE STEP HIGHLIGHT (step 4 — handshake) ---------- */
.timeline-step-highlight .step-icon {
    background: linear-gradient(135deg, #14B8B8, #1FCFCF);
    color: #fff;
    box-shadow: 0 8px 24px rgba(20,184,184,0.35);
}
.timeline-step-highlight:hover .step-icon {
    transform: translateY(-3px) scale(1.05);
}


/* ---------- TESTIMONIAL SLIDER ---------- */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.testimonial-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}
.testimonial-slide .quote-mark {
    font-family: 'Outfit', serif;
    font-size: 4rem;
    line-height: 0.6;
    color: rgba(31,207,207,0.4);
    margin-bottom: 16px;
}
.testimonial-slide .quote-text {
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    margin-bottom: 22px;
    font-style: italic;
}
.testimonial-slide .quote-rating {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #fbbf24;
}
.testimonial-slide .quote-rating svg {
    width: 18px;
    height: 18px;
}
.testimonial-slide .quote-author strong {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}
.testimonial-slide .quote-author span {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}
.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.testimonial-dot:hover { background: rgba(255,255,255,0.5); }
.testimonial-dot.active {
    width: 28px;
    border-radius: 4px;
    background: #1FCFCF;
}


/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 130px 0 60px;
    overflow: hidden;
    margin-top: 0;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg,
        rgba(14,62,66,0.92) 0%,
        rgba(14,62,66,0.78) 45%,
        rgba(20,184,184,0.45) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 16px 0 18px;
}
.page-title .cyan {
    background: linear-gradient(135deg, #1FCFCF, #14B8B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    max-width: 600px;
}


/* ---------- CONTENT SECTIONS (subpages) ---------- */
.content-section {
    padding: 90px 0;
    background: #fff;
}
.section-lead {
    max-width: 640px;
    margin: 14px auto 0;
    color: #5a6c70;
    font-size: 1.05rem;
    line-height: 1.6;
}


/* ---------- VALUES (über uns) ---------- */
.values-section {
    padding: 90px 0;
    background: #f7f9fa;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.value-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(20,184,184,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(11,80,80,0.10);
}
.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,184,0.12), rgba(31,207,207,0.06));
    color: var(--brand, #14B8B8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #0E3E42;
}
.value-card p {
    color: #5a6c70;
    font-size: 0.95rem;
    line-height: 1.55;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }


/* ---------- TEAM ---------- */
.team-section {
    padding: 90px 0;
    background: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}
.team-card {
    text-align: center;
    background: #f7f9fa;
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid rgba(20,184,184,0.06);
    transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 30px rgba(11,80,80,0.10);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-photo-tint-1 {
    background: linear-gradient(135deg, #14B8B8, #0E8E8E);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-photo-tint-2 {
    background: linear-gradient(135deg, #1FCFCF, #0E3E42);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-initial {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.team-card h3 {
    color: #0E3E42;
    margin-bottom: 6px;
}
.team-role {
    color: var(--brand, #14B8B8);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.team-card p {
    color: #5a6c70;
    font-size: 0.95rem;
    line-height: 1.55;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } .team-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }


/* ---------- FILTER BAR ---------- */
.filter-bar {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid #eef2f3;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.filter-chip {
    padding: 8px 16px;
    background: #f7f9fa;
    border: 1.5px solid #e8edee;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a6c70;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--brand, #14B8B8); color: var(--brand, #14B8B8); }
.filter-chip.active {
    background: var(--brand, #14B8B8);
    border-color: var(--brand, #14B8B8);
    color: #fff;
}
.filter-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1.5px solid var(--brand, #14B8B8);
    border-radius: 999px;
    color: var(--brand, #14B8B8);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.filter-cta:hover {
    background: var(--brand, #14B8B8);
    color: #fff;
}
@media (max-width: 720px) {
    .filter-cta { margin-left: 0; width: 100%; justify-content: center; }
}

.properties-page { padding: 60px 0 90px; }

.immo-cta-block {
    margin-top: 60px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(20,184,184,0.06), rgba(31,207,207,0.03));
    border: 1px solid rgba(20,184,184,0.12);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.immo-cta-text h3 {
    color: #0E3E42;
    margin-bottom: 6px;
}
.immo-cta-text p { color: #5a6c70; }
@media (max-width: 720px) {
    .immo-cta-block { flex-direction: column; align-items: flex-start; padding: 30px; }
}


/* ---------- STEPS GRID (verkaufen) ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.step-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(20,184,184,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11,80,80,0.10);
}
.step-card-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand, #14B8B8);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.step-card h3 {
    color: #0E3E42;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.step-card p {
    color: #5a6c70;
    font-size: 0.95rem;
    line-height: 1.55;
}
@media (max-width: 1024px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .steps-grid { grid-template-columns: 1fr; } }


/* ---------- FORMS ---------- */
.form-section {
    padding: 60px 0 100px;
    background: #f7f9fa;
}
.form-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(11,80,80,0.06);
    padding: 50px 48px;
    border: 1px solid rgba(20,184,184,0.06);
}
.form-head { margin-bottom: 36px; }
.form-head .section-title { margin-bottom: 12px; }
.form-head p { color: #5a6c70; }
.form-title {
    color: #0E3E42;
    margin-bottom: 26px;
    font-size: 1.4rem;
}
.form-section-label {
    color: var(--brand, #14B8B8);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 28px 0 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(20,184,184,0.10);
}

.bf-form .form-field {
    margin-bottom: 18px;
}
.bf-form label {
    display: block;
    color: #0E3E42;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.bf-form input[type="text"],
.bf-form input[type="email"],
.bf-form input[type="tel"],
.bf-form input[type="number"],
.bf-form select,
.bf-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e0e6e8;
    border-radius: 10px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    color: #0E3E42;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bf-form input:focus,
.bf-form select:focus,
.bf-form textarea:focus {
    outline: none;
    border-color: var(--brand, #14B8B8);
    box-shadow: 0 0 0 4px rgba(20,184,184,0.12);
}
.bf-form textarea { resize: vertical; min-height: 90px; }
.bf-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E3E42' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: #5a6c70;
    cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--brand, #14B8B8);
}
.form-checkbox a { color: var(--brand, #14B8B8); }

.btn-block {
    width: 100%;
    justify-content: center;
}

.file-drop {
    border: 2px dashed #c8d0d3;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #f9fbfc;
    color: #5a6c70;
    position: relative;
}
.file-drop:hover, .file-drop.dragover {
    border-color: var(--brand, #14B8B8);
    background: rgba(20,184,184,0.04);
}
.file-drop svg { color: var(--brand, #14B8B8); margin-bottom: 8px; }
.file-drop > div { margin-bottom: 4px; font-size: 0.95rem; }
.file-drop small { color: #8a9498; font-size: 0.8rem; }
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-drop.has-files {
    border-color: var(--brand, #14B8B8);
    background: rgba(20,184,184,0.04);
    color: var(--brand, #14B8B8);
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(16,185,129,0.10);
    border: 1px solid rgba(16,185,129,0.35);
    border-radius: 12px;
    color: #047857;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}
.form-success.visible {
    display: flex;
}


/* ---------- BEWERTUNG ---------- */
.bewertung-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 900px) { .bewertung-grid { grid-template-columns: 1fr; gap: 40px; } }

.bewertung-steps { margin-top: 30px; }
.bewertung-step {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.bs-num {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14B8B8, #1FCFCF);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}
.bewertung-step h4 {
    color: #0E3E42;
    margin-bottom: 4px;
    font-size: 1.05rem;
}
.bewertung-step p {
    color: #5a6c70;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-card {
    margin-top: 36px;
    padding: 26px;
    background: linear-gradient(135deg, rgba(20,184,184,0.08), rgba(31,207,207,0.04));
    border: 1px solid rgba(20,184,184,0.18);
    border-radius: 14px;
}
.info-card h4 {
    color: var(--brand, #14B8B8);
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.info-card p { color: #0E3E42; font-size: 0.95rem; line-height: 1.5; }

.bewertung-form-wrap {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(11,80,80,0.08);
    padding: 40px 36px;
    border: 1px solid rgba(20,184,184,0.06);
}


/* ---------- RATGEBER ---------- */
.ratgeber-featured {
    padding: 60px 0 40px;
    background: #fff;
}
.featured-article {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f7f9fa;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(20,184,184,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(11,80,80,0.10);
}
.featured-image {
    position: relative;
    height: 100%;
    min-height: 320px;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 12px;
    background: var(--brand, #14B8B8);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}
.featured-content { padding: 40px 40px 40px 0; }
.featured-content .article-meta {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--brand, #14B8B8);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.featured-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    color: #0E3E42;
    line-height: 1.2;
    margin-bottom: 16px;
}
.featured-content p {
    color: #5a6c70;
    line-height: 1.6;
    margin-bottom: 20px;
}
.read-more {
    color: var(--brand, #14B8B8);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 900px) {
    .featured-article { grid-template-columns: 1fr; }
    .featured-content { padding: 30px; }
    .featured-image { min-height: 240px; }
}

.ratgeber-grid-section { padding: 50px 0 90px; background: #fff; }
.ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.article-card {
    background: #fff;
    padding: 30px 28px;
    border-radius: 16px;
    border: 1px solid #e8edee;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20,184,184,0.30);
    box-shadow: 0 16px 36px rgba(11,80,80,0.08);
}
.article-cat {
    display: inline-block;
    color: var(--brand, #14B8B8);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.article-card h3 {
    color: #0E3E42;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
}
.article-card p {
    color: #5a6c70;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.article-card .article-meta {
    color: #8a9498;
    font-size: 0.78rem;
}
@media (max-width: 1024px) { .ratgeber-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .ratgeber-grid { grid-template-columns: 1fr; } }

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(20,184,184,0.06), rgba(31,207,207,0.03));
}
.newsletter-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 44px 48px;
    border-radius: 20px;
    border: 1px solid rgba(20,184,184,0.10);
}
.newsletter-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    color: #0E3E42;
    margin-bottom: 8px;
}
.newsletter-inner p { color: #5a6c70; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
    flex: 1;
    padding: 13px 16px;
    border: 1.5px solid #e0e6e8;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand, #14B8B8);
    box-shadow: 0 0 0 4px rgba(20,184,184,0.12);
}
@media (max-width: 720px) {
    .newsletter-inner { grid-template-columns: 1fr; padding: 32px; }
    .newsletter-form { flex-direction: column; }
}


/* ---------- KONTAKT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info-cards {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #f7f9fa;
    border-radius: 14px;
    border: 1px solid rgba(20,184,184,0.06);
    transition: background 0.2s ease;
}
.contact-info-card:hover { background: rgba(20,184,184,0.04); }
.cc-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(20,184,184,0.12), rgba(31,207,207,0.06));
    color: var(--brand, #14B8B8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc-content h4 {
    color: #0E3E42;
    margin-bottom: 4px;
    font-size: 1rem;
}
.cc-content p { color: #5a6c70; font-size: 0.95rem; line-height: 1.5; }
.cc-content a {
    color: var(--brand, #14B8B8);
    text-decoration: none;
    font-weight: 600;
}
.cc-content a:hover { text-decoration: underline; }

.contact-form-col form {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(11,80,80,0.08);
    padding: 40px 36px;
    border: 1px solid rgba(20,184,184,0.06);
}

.map-section {
    background: #f7f9fa;
    padding-bottom: 0;
}
.map-wrap {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-top: 1px solid rgba(20,184,184,0.10);
}


/* ---------- LEGAL (impressum / datenschutz) ---------- */
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 30px; }
.legal-section { padding: 80px 0; background: #fff; }
.legal-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: #0E3E42;
    margin: 36px 0 14px;
    padding-top: 8px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    color: #5a6c70;
    line-height: 1.7;
    margin-bottom: 14px;
}
.legal-content a { color: var(--brand, #14B8B8); }
.legal-content strong { color: #0E3E42; }
.legal-note {
    margin-top: 40px;
    padding: 18px 22px;
    background: #f7f9fa;
    border-left: 3px solid var(--brand, #14B8B8);
    color: #5a6c70;
    font-size: 0.9rem;
    border-radius: 6px;
}


/* ---------- HEAD ROW (immobilien section on index) ---------- */
.head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}
.head-row .section-title { margin-bottom: 0; }
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }
@media (max-width: 720px) {
    .desktop-only { display: none; }
    .mobile-only { display: inline-flex; }
    .mobile-cta-center { margin: 30px auto 0; }
}


/* ---------- RESPONSIVE: page hero on mobile ---------- */
@media (max-width: 720px) {
    .page-hero { min-height: 360px; padding: 110px 0 50px; }
    .page-title { font-size: 2rem; }
    .page-subtitle { font-size: 1rem; }
    .form-wrap { padding: 32px 24px; }
    .bewertung-form-wrap, .contact-form-col form { padding: 30px 22px; }
}


/* ---------- KICKER center variant ---------- */
.kicker.light.center {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

/* Quickfix: prevent nav link wrapping */
.main-nav .nav-link { white-space: nowrap; }


/* ---------- PROPERTIES PAGE — info BELOW image (with feats) ---------- */
.properties-page .property-card,
.properties-grid-full .property-card {
    background: #fff;
    border: 1px solid #eef2f3;
    box-shadow: 0 4px 14px rgba(11,80,80,0.05);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.properties-page .property-card:hover,
.properties-grid-full .property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11,80,80,0.12);
}
.properties-page .property-image,
.properties-grid-full .property-image {
    aspect-ratio: 16 / 11;
    border-radius: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.properties-page .property-image::after,
.properties-grid-full .property-image::after {
    background: linear-gradient(180deg, transparent 60%, rgba(8,43,46,0.55) 100%);
}
.properties-page .property-info,
.properties-grid-full .property-info {
    position: static;
    color: #0E3E42;
    padding: 22px 24px 24px;
}
.properties-page .property-info h3,
.properties-grid-full .property-info h3 {
    color: #0E3E42;
    font-size: 1.1rem;
    margin-bottom: 6px;
    line-height: 1.3;
}
.properties-page .property-meta,
.properties-grid-full .property-meta {
    color: #5a6c70;
    font-size: 0.88rem;
    margin-bottom: 12px;
}
.properties-page .property-price,
.properties-grid-full .property-price {
    color: #0E3E42;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #eef2f3;
}
.properties-page .property-price strong,
.properties-grid-full .property-price strong {
    color: var(--brand, #14B8B8);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Map fallback: subtle pattern bg in case the iframe is blocked */
.map-wrap {
    background: linear-gradient(135deg, #f0f4f5 0%, #e8edee 100%);
    background-image:
        linear-gradient(135deg, #f0f4f5 0%, #e8edee 100%),
        repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(20,184,184,0.06) 38px, rgba(20,184,184,0.06) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(20,184,184,0.06) 38px, rgba(20,184,184,0.06) 40px);
}

/* ============================================================
   V3 EXTENSIONS — milestone, team-pending, article modal, filter
   ============================================================ */

/* ---------- MILESTONE PANEL (Über uns about section) ---------- */
.milestone-panel {
    position: relative;
    padding: 44px 40px;
    background: linear-gradient(140deg, #0E3E42 0%, #14B8B8 100%);
    border-radius: 22px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 80, 80, 0.25);
}
.milestone-bg-deco {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(31, 207, 207, 0.35), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
}
.milestone-content {
    position: relative;
    z-index: 1;
}
.milestone-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}
.milestone-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 26px;
}
.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.milestone-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.25s ease;
}
.milestone-item:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateX(4px);
}
.milestone-year {
    flex: 0 0 64px;
    min-width: 64px;
    height: 60px;
    border-radius: 10px;
    background: rgba(31, 207, 207, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}
.milestone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}
.milestone-text strong {
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.3;
}
.milestone-text span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.45;
}
.milestone-item-now {
    background: rgba(31, 207, 207, 0.18);
    border-left: 3px solid #1FCFCF;
}
.milestone-item-now .milestone-year {
    background: linear-gradient(135deg, #1FCFCF, #14B8B8);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .milestone-panel { padding: 32px 24px; }
    .milestone-title { font-size: 1.4rem; }
    .milestone-year { flex-basis: 56px; min-width: 56px; height: 52px; font-size: 0.88rem; }
}


/* ---------- TEAM CARD PENDING (placeholders awaiting real photos) ---------- */
.team-card-pending {
    position: relative;
}
.team-photo-pending {
    background: linear-gradient(135deg, rgba(20, 184, 184, 0.10), rgba(31, 207, 207, 0.04));
    color: rgba(14, 62, 66, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(20, 184, 184, 0.25);
}
.team-pending-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.30);
    color: #b8741a;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
}
.team-note {
    margin: 36px auto 0;
    max-width: 560px;
    text-align: center;
    font-style: italic;
    color: #5a6c70;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.team-note svg {
    flex-shrink: 0;
    color: var(--brand, #14B8B8);
}


/* ---------- ARTICLE CARD (button styling) ---------- */
button.article-card {
    appearance: none;
    border: 1px solid #e8edee;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    width: 100%;
    /* article-card base styles already exist; this just makes buttons match */
}
button.article-card:focus-visible {
    outline: 2px solid var(--brand, #14B8B8);
    outline-offset: 3px;
}

/* Hidden source pool for article contents — never displayed */
.articles-source {
    display: none !important;
}

/* Featured article: button-style read-more */
button.read-more {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--brand, #14B8B8);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
button.read-more:hover { color: #0E8E8E; }


/* ---------- ARTICLE MODAL ---------- */
.article-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.article-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.article-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 30, 35, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.article-modal-panel {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    background: #fff;
    border-radius: 22px;
    padding: 56px 56px 0;
    box-shadow: 0 30px 80px rgba(8, 30, 35, 0.45);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-modal.open .article-modal-panel {
    transform: translateY(0);
}
.article-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #f0f4f5;
    color: #0E3E42;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.article-modal-close:hover {
    background: var(--brand, #14B8B8);
    color: #fff;
    transform: rotate(90deg);
}
.article-modal-body {
    overflow-y: auto;
    padding-bottom: 30px;
    flex: 1;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 184, 184, 0.4) transparent;
}
.article-modal-body::-webkit-scrollbar {
    width: 8px;
}
.article-modal-body::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 184, 0.4);
    border-radius: 4px;
}
.article-modal-body .modal-cat {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand, #14B8B8);
    margin-bottom: 12px;
}
.article-modal-body h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0E3E42;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.article-modal-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #0E3E42;
    margin: 30px 0 12px;
    line-height: 1.3;
}
.article-modal-body .lead {
    font-size: 1.08rem;
    color: #5a6c70;
    line-height: 1.6;
    margin-bottom: 22px;
}
.article-modal-body p {
    color: #3e5054;
    line-height: 1.65;
    margin-bottom: 14px;
    font-size: 0.98rem;
}
.article-modal-body ul {
    margin: 6px 0 18px;
    padding-left: 22px;
}
.article-modal-body ul li {
    color: #3e5054;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.96rem;
}
.article-modal-body strong {
    color: #0E3E42;
    font-weight: 600;
}
.article-modal-footer {
    flex-shrink: 0;
    padding: 22px 0;
    margin-top: 16px;
    border-top: 1px solid #eef2f3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.article-modal-disclaimer {
    flex: 1;
    min-width: 220px;
    font-style: italic;
    color: #8a9498;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Body scroll lock when modal open */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .article-modal { padding: 2vh 10px; }
    .article-modal-panel {
        max-height: 96vh;
        padding: 44px 24px 0;
        border-radius: 18px;
    }
    .article-modal-body h1 { font-size: 1.5rem; }
    .article-modal-body h2 { font-size: 1.08rem; }
    .article-modal-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .article-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .article-modal-footer .btn {
        justify-content: center;
    }
}


/* ---------- Featured article (button-fixup) ---------- */
.featured-article {
    cursor: pointer;
}
.featured-content button.read-more {
    margin-top: 4px;
}


/* =========================================================
   V4 ADDITIONS — Team (mit Fotos + Kontakt), Partner, Bankpartner
   ========================================================= */

/* ---- Team banner (Gruppenbild mit Logo) ---- */
.team-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 auto 56px;
    max-width: 1080px;
    box-shadow: 0 24px 60px rgba(14, 62, 66, 0.14);
    background: #fff;
}
.team-banner img { width: 100%; height: auto; display: block; }

/* ---- Team grid mit echten Fotos ---- */
.team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 26px 26px;
    text-align: center;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(14, 62, 66, 0.12);
    border-color: transparent;
}
.team-photo-wrap {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: var(--brand-soft);
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--brand-soft);
}
.team-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(20,184,184,0.25);
}
.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.team-card:hover .team-photo-wrap img { transform: scale(1.06); }
.team-card h3 {
    font-family: var(--font-head, inherit);
    font-size: 1.18rem;
    color: var(--deep);
    margin: 0 0 4px;
    letter-spacing: 0.2px;
}
.team-card .team-role {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0 0 4px;
}
.team-card .team-sub {
    color: var(--text-soft);
    font-size: 0.84rem;
    margin: 0 0 16px;
    line-height: 1.4;
}
.team-contact {
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.team-contact a,
.team-contact span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.88rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}
.team-contact a:hover { color: var(--brand-dark); }
.team-contact svg {
    width: 15px; height: 15px;
    color: var(--brand);
    flex-shrink: 0;
}
.team-contact .tc-email { word-break: break-all; }

/* ---- Partner & Kooperationen ---- */
.partners-section { background: var(--bg-soft); }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    max-width: 920px;
    margin: 0 auto;
}
.partner-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(14, 62, 66, 0.10);
}
.partner-logo {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo img {
    max-height: 92px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
.partner-card .partner-name {
    font-weight: 600;
    color: var(--deep);
    font-size: 1rem;
}
.partner-card .partner-tag {
    color: var(--text-soft);
    font-size: 0.86rem;
    margin-top: -8px;
}

/* ---- Bankpartner (animierter Marquee + Collage) ---- */
.banks-section, .partners-section { padding: 100px 0; }
.banks-section { background: #fff; overflow: hidden; }
.banks-section .section-head { margin-bottom: 14px; }
.bank-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 8px 0 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.bank-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: bankscroll 38s linear infinite;
}
.bank-marquee:hover .bank-track { animation-play-state: paused; }
.bank-track.reverse { animation-direction: reverse; animation-duration: 44s; margin-top: 14px; }
.bank-chip {
    flex: 0 0 auto;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
    white-space: nowrap;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bank-chip:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand-dark);
}
@keyframes bankscroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .bank-track { animation: none; }
}
.banks-collage {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 48px rgba(14, 62, 66, 0.08);
}
.banks-collage img { width: 100%; height: auto; display: block; border-radius: 10px; }

@media (max-width: 900px) {
    .team-section .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .team-section .team-grid { grid-template-columns: 1fr; }
    .team-photo-wrap { width: 132px; height: 132px; }
    .banks-collage { padding: 14px; }
}
