/*
 * sections.css – Hero, Hinweise, Sprechzeiten, Angebot, Team
 * Praxis Wagenseil Joomla 6 Template v2.0
 */

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
    background-color: var(--color-hero-bg);
    background-image:
        linear-gradient(270deg, #3B7FBC00 0%, #3B7FBC 40%),
        url('../images/hero-background.png');
    background-position: center center, 100% 0px;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, auto 190%;
    padding-top: 170px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__content { width: 70%; }

.hero__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: #F8F9FE;
    background: rgba(255,255,255,.15);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hero__title {
    font-size: 64px;
    line-height: 76px;
    margin-bottom: var(--space-6);
    color: #F8F9FE;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
}

.hero__title em {
    font-style: normal;
    color: var(--color-white);
}

.hero__text {
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    line-height: 28px;
    color: #F8F9FE;
    margin-bottom: var(--space-5);
    max-width: 75%;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
    margin-top: var(--space-8);
}

.hero__actions .btn--secondary {
    border-color: #F8F9FE;
    color: #F8F9FE;
    background: transparent;
}

.hero__actions .btn--secondary:hover {
    background: rgba(255,255,255,.15);
    color: #F8F9FE;
}

/* ─── Hinweise ──────────────────────────────────────────────── */
.section--hinweise {
    background: var(--color-bg-alt);
    padding-block: var(--space-10);
}

.section--hinweise .section__title {
    color: var(--color-primary-dark);
}

.vertretung-banner {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    margin-bottom: 0;
    display: flex;
}

.vertretung-banner p { max-width: 130%; }

/* ─── Sprechzeiten CTA ──────────────────────────────────────── */
.sprechzeiten-actions {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    margin-top: var(--space-10);
    flex-wrap: wrap;
}

.sprechzeiten-oder {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-style: italic;
}

.sprechzeiten-cta {
    background: var(--color-primary-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    margin-top: var(--space-10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    text-align: center;
}

.sprechzeiten-cta__oder {
    color: rgba(255,255,255,.75);
    font-size: var(--text-sm);
    margin: 0;
    max-width: none;
}

/* ─── Sprechzeiten ──────────────────────────────────────────── */
.sprechzeiten-card__icon {
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

/* ─── Angebot Intro ─────────────────────────────────────────── */
.angebot-intro { }

.angebot-intro__note {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-4);
    margin-top: var(--space-4);
}

/* ─── Team ──────────────────────────────────────────────────── */
.team-subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: calc(-1 * var(--space-8));
    margin-bottom: var(--space-12);
    max-width: none;
}

/* ─── Inhaltsseiten (Impressum etc.) ───────────────────────── */
.page-content {
    max-width: 720px;                  /* Lesbare Zeilenbreite */
   /* padding-top: var(--space-8);*/
}

.page-content h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    /*border-bottom: 1px solid var(--color-border);*/
}

.page-content p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-normal);
}

.page-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--color-primary-dark);
}

/* Joomla rendert den Artikel-Titel als h2 — ausblenden,
   weil wir ihn bereits über section__label + $this->title ausgeben */
.page-content .article-header,
.page-content .page-header { display: none; }
