/* Betreuungshelden – schlichtes weißes Theme mit blauem Akzent */

:root {
    --text: #1a1a1a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #17699a;         /* Blau aus dem Logo */
    --brand-dark: #114f75;
    --link: #17699a;
    --max: 960px;
    --content: 720px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

/* ---------- Kopfzeile (Logo) ---------- */
.site-header {
    flex-shrink: 0;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-brand {
    display: inline-block;
    line-height: 0;
}

.site-brand img {
    height: 92px;
    width: auto;
    display: block;
}

.site-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand);
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    text-decoration: none;
    white-space: nowrap;
}

.site-phone:hover {
    color: var(--brand-dark);
}

.site-phone svg {
    width: 1.15em;
    height: 1.15em;
    fill: currentColor;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .site-brand img { height: 56px; }
    .site-phone { font-size: 0.95rem; }
    .site-phone span { display: none; }
    .site-phone svg { width: 1.5em; height: 1.5em; }
}

/* ---------- Startseite: Hero ---------- */
.hero {
    padding: 0 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 3.5rem;
    align-items: center;
}

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

.hero-text h1 {
    color: var(--brand);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.7rem;
}

.hero-text h2 {
    color: var(--brand);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 700;
    margin: 1.2rem 0 0.5rem;
}

.hero-text p {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 0 0 0.7rem;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-text .coming-soon {
    color: var(--text);
    font-weight: 500;
    margin-top: 1.1rem;
}

.hero-text a {
    color: var(--brand);
}

.hero-slogan {
    color: var(--brand);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
}

.subline {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 0.85rem 0 0;
    max-width: 42ch;
}

.coming-soon {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 500;
    margin: 1.35rem 0 0;
}

.hero-image {
    margin: 0;
    max-width: 100%;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 12px 34px rgba(17, 79, 117, 0.14);
}

@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }
    .hero-text {
        text-align: center;
    }
    .subline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }
    .hero-image img {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Standorte ---------- */
.standorte {
    padding-top: 1rem;
    text-align: center;
}

.standorte h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.standorte-intro {
    color: var(--muted);
    margin: 0 0 2rem;
}

.standort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.standort-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.standort-card img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(17, 79, 117, 0.14);
}

.standort-card figcaption {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.standort-card .badge {
    align-self: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: #e8f1f7;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.15rem;
}

.standort-card .name {
    font-weight: 600;
    font-size: 1.05rem;
}

.standort-card .regions {
    color: var(--brand);
    font-size: 0.95rem;
}

/* ---------- Inhaltsseiten (Impressum, Datenschutz) ---------- */
.page {
    max-width: var(--content);
    margin: 0 auto;
}

.page h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
}

.page h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 0.5rem;
}

.page h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.page p { margin: 0 0 1rem; }
.page a { color: var(--link); }
.page ul { padding-left: 1.25rem; }

/* ---------- Fußzeile ---------- */
.site-footer {
    flex-shrink: 0;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    margin-right: 1.25rem;
}
.footer-nav a:last-child { margin-right: 0; }
.footer-nav a:hover { color: var(--brand); text-decoration: underline; }
.footer-copy { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
    .standort-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 520px) {
    body { font-size: 17px; }
    .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero Call-to-Action Button ---------- */
.hero-cta-wrap { margin: 1.35rem 0 0; }
.hero-text a.hero-cta {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    padding: 0.72rem 1.5rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}
.hero-text a.hero-cta:hover { background: var(--brand-dark); color: #fff; }
