/* ============================================================
   rescue-24.de — Main Stylesheet
   Color palette from Luke Mannel logo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
    --navy:         #1a2744;
    --navy-dark:    #0e1929;
    --navy-mid:     #1e3054;
    --steel:        #4e7096;
    --steel-light:  #6b8fa8;
    --steel-pale:   #aac4d8;
    --ice:          #ddeaf3;
    --ice-light:    #eef4f9;
    --white:        #ffffff;
    --gray-50:      #f8fafc;
    --gray-100:     #f1f5f9;
    --gray-200:     #e2e8f0;
    --gray-400:     #94a3b8;
    --gray-600:     #475569;
    --gray-700:     #334155;
    --text:         #1a2744;
    --text-light:   #4a5568;
    --text-muted:   #718096;
    --radius:       6px;
    --radius-lg:    12px;
    --shadow:       0 2px 12px rgba(14,25,41,0.08);
    --shadow-md:    0 4px 24px rgba(14,25,41,0.12);
    --shadow-lg:    0 8px 40px rgba(14,25,41,0.16);
    --transition:   0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-light); line-height: 1.8; }

.label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel-light);
}
.label-dark { color: var(--steel-pale); }

/* --- Layout --- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1340px; }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }
.section--gray { background: var(--gray-50); }
.section--ice  { background: var(--ice-light); }
.section--navy {
    background: var(--navy-dark);
    color: var(--white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--white); }
.section--navy p   { color: var(--steel-pale); }

.section-head { margin-bottom: 56px; }
.section-head h2 { margin: 12px 0 16px; }
.section-head p  { font-size: 1.05rem; max-width: 560px; }
.section-head--center { text-align: center; }
.section-head--center p { margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
}
.btn--primary:hover {
    background: var(--navy-mid);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.btn--steel {
    background: var(--steel);
    color: var(--white);
}
.btn--steel:hover {
    background: var(--steel-light);
    transform: translateY(-1px);
}
.btn--outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 12px 26px;
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}
.btn--outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 12px 26px;
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}
.btn--lg { padding: 17px 36px; font-size: 0.95rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--danger {
    background: #dc2626;
    color: #fff;
    border: 2px solid #dc2626;
}
.btn--danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
}

/* --- Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 8px rgba(14,25,41,0.06);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 48px; width: auto; }
.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav__item { position: relative; }
.nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text);
    transition: var(--transition);
}
.nav__link:hover, .nav__link.active {
    color: var(--navy);
    background: var(--ice-light);
}
.nav__link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    padding-top: 20px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
/* Transparent bridge closes the gap between trigger and panel */
.nav__dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.nav--open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.nav__dropdown-link:hover { background: var(--ice-light); color: var(--navy); }
.nav__dropdown-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ice-light);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.nav__dropdown-icon svg { width: 18px; height: 18px; color: var(--steel); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
    overflow: hidden;
    padding: 120px 0 100px;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 70% 50%, rgba(107,143,168,0.15) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234e7096' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 1; max-width: 680px; }
.hero__label { margin-bottom: 20px; }
.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero h1 span { color: var(--steel-pale); }
.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__deco {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.05;
    pointer-events: none;
}
.hero__deco svg { width: 580px; height: 580px; }

/* Page hero (smaller) */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(107,143,168,0.12) 0%, transparent 60%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.page-hero__breadcrumb a { transition: color 0.2s; }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 { color: var(--white); margin: 10px 0 16px; }
.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 560px;
}
.page-hero__icon {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.07;
}
.page-hero__icon svg { width: 240px; height: 240px; }

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.services-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--steel), var(--steel-light));
    border-radius: 4px 0 0 4px;
}
.service-card:hover {
    border-color: var(--steel-pale);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--ice-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.service-card__icon svg { width: 28px; height: 28px; color: var(--steel); }
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 24px; }
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--steel);
    transition: var(--transition);
}
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card:hover .service-card__link { color: var(--navy); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* Home services layout: 3 top + 2 centered bottom */
.services-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.services-5 .row2 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: calc(66.66% - 10px);
    margin: 0 auto;
}

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

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about__tag {
    display: inline-block;
    background: var(--ice-light);
    color: var(--steel);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.about__content h2 { margin-bottom: 20px; }
.about__content p { margin-bottom: 16px; }
.about__credentials {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 32px 0;
}
.cred-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cred-item__icon {
    width: 40px;
    height: 40px;
    background: var(--ice-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cred-item__icon svg { width: 20px; height: 20px; color: var(--steel); }
.cred-item__text strong { display: block; font-size: 0.92rem; color: var(--navy); }
.cred-item__text span { font-size: 0.85rem; color: var(--text-muted); }
.about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__emblem {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.about__emblem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(107,143,168,0.2) 0%, transparent 60%);
}
.about__emblem svg { width: 60%; height: 60%; color: rgba(255,255,255,0.15); position: relative; z-index: 1; }
.about__emblem-text {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
}
.about__emblem-text span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--navy);
    padding: 48px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 0;
    align-items: center;
}
.stat-item { text-align: center; padding: 0 32px; }
.stat-item__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item__label {
    font-size: 0.82rem;
    color: var(--steel-pale);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Service Detail Page --- */
.service-detail__intro {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}
.service-detail__text h2 { margin-bottom: 20px; }
.service-detail__text p { margin-bottom: 16px; }
.service-detail__sidebar {
    position: sticky;
    top: 100px;
}
.info-card {
    background: var(--ice-light);
    border: 1px solid var(--ice);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.info-card h4 { margin-bottom: 16px; }
.info-card ul { display: flex; flex-direction: column; gap: 10px; }
.info-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
}
.info-card ul li svg { width: 16px; height: 16px; color: var(--steel); flex-shrink: 0; margin-top: 2px; }

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.feature-item__icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.feature-item__icon svg { width: 22px; height: 22px; color: var(--steel); }
.feature-item strong { display: block; font-size: 0.92rem; margin-bottom: 4px; color: var(--navy); }
.feature-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 32px; margin-top: 20px; }
.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.process-step__num {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.process-step__content strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--navy);
}
.process-step__content p { font-size: 0.9rem; margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    list-style: none;
    transition: background 0.2s;
}
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e7096' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { background: var(--ice-light); }
.faq-item p { padding: 18px 24px; font-size: 0.9rem; border-top: 1px solid var(--gray-200); }

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-info-item__icon {
    width: 48px;
    height: 48px;
    background: var(--ice-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item__icon svg { width: 22px; height: 22px; color: var(--steel); }
.contact-info-item strong { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 4px; }
.contact-info-item a { font-size: 1rem; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--steel); }
.contact-info-item span { font-size: 1rem; color: var(--text); }

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-form h3 { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--steel);
    box-shadow: 0 0 0 3px rgba(78,112,150,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.form-privacy a { color: var(--steel); text-decoration: underline; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.alert--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* --- Footer --- */
.footer {
    background: var(--navy-dark);
    padding: 72px 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-logo {
    display: inline-block;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    padding: 7px 14px;
    margin-bottom: 20px;
}
.footer__brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.footer__brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer__col h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--steel-pale); }
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.footer__contact-item svg { width: 16px; height: 16px; color: var(--steel-light); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a,
.footer__contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--steel-pale); }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    gap: 16px;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* --- Legal Pages --- */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-top: 40px; border-top: 1px solid var(--gray-200); }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--navy); }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.legal-content ul li { color: var(--text-light); font-size: 0.95rem; margin-bottom: 6px; }
.legal-content a { color: var(--steel); text-decoration: underline; }

/* --- Dividers & Misc --- */
.divider { width: 60px; height: 3px; background: var(--steel); border-radius: 2px; margin: 16px 0; }
.divider--center { margin: 16px auto; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--ice-light);
    color: var(--steel);
}
.avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(78,112,150,0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--steel-pale);
    font-weight: 500;
}
.avail-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Mobile-only nav items: versteckt auf Desktop, sichtbar im aufgeklappten Burger-Menü */
.nav__item--mobile-only { display: none; }
.nav__link--portal { color: #dc2626 !important; font-weight: 700 !important; }
.nav__link--portal:hover { background: #fef2f2 !important; }

/* --- Mobile Navigation --- */
@media (max-width: 960px) {
    .nav__menu { display: none; position: fixed; inset: 80px 0 0 0; background: var(--white); flex-direction: column; padding: 24px; gap: 8px; border-top: 1px solid var(--gray-200); overflow-y: auto; align-items: flex-start; justify-content: flex-start; }
    .nav__menu.open { display: flex; }
    .nav__link { font-size: 1rem; padding: 12px 16px; width: 100%; }
    .nav__dropdown { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: all; box-shadow: none; border: 1px solid var(--gray-100); margin-top: 4px; width: 100%; }
    .nav__cta .btn { display: none; }
    .nav__cta--desktop-only { display: none !important; }
    .nav__hamburger { display: flex; }
    .hero__deco { display: none; }
    .nav__item--mobile-only { display: block; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about__visual { display: none; }
    .service-detail__intro { grid-template-columns: 1fr; }
    .service-detail__sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .services-5 { grid-template-columns: 1fr; }
    .services-5 .row2 { grid-template-columns: 1fr; max-width: 100%; }
    .services-4 { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-divider { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .section { padding: 64px 0; }
    .hero { padding: 80px 0 72px; }
    .contact-form { padding: 28px 20px; }
    .page-hero h1, .hero h1 {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* --- Utility --- */
.icon-sm { width: 14px !important; height: 14px !important; flex-shrink: 0; margin-top: 1px; }
