/* ==========================================================================
   Angebote & Aktionsseiten – neu 30.09.2026
   Ergänzt css/custom.css. Einzige Anpassung an Bestehendem: Navigationsabstände
   zwischen 992 und 1199 px, damit der Menüpunkt «Angebote» in eine Zeile passt.
   ========================================================================== */

:root {
    --ang-navy: #051a3e;
    --ang-navy-hover: #0a2a5e;
    --ang-ink: #06122f;
    --ang-blue: #0a458f;
    --ang-text: #1f2a44;
    --ang-muted: #56617a;
    --ang-line: rgba(6, 18, 47, 0.12);
    --ang-serif: Georgia, "Times New Roman", Times, serif;
    --ang-hand: "Segoe Script", "Bradley Hand", "Snell Roundhand", "Brush Script MT", cursive;
}

/* Platzhalter: Inhalt ist von Dusan zu bestätigen (vor Veröffentlichung entfernen) */
.platzhalter {
    background: #fff4bf;
    color: #3b2f00;
    border: 1px dashed #c99a00;
    border-radius: 3px;
    padding: 0 3px;
    cursor: help;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Navigation: Platz für den zusätzlichen Menüpunkt «Angebote» (Desktop) */
@media (min-width: 992px) {
    .site-navbar__nav .nav-item .nav-link {
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-navbar__nav {
        padding-left: 0;
    }

    .site-navbar__nav .nav-item .nav-link {
        padding: 8px 6px;
        letter-spacing: 0.02em;
    }
}

@media (min-width: 1200px) {
    .site-navbar__nav {
        padding-left: 6%;
    }
}

/* Gemeinsame Buttons */
.aktion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 30px;
    border: 1.5px solid var(--ang-navy);
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aktion-btn:hover,
.aktion-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.aktion-btn:focus-visible {
    outline: 3px solid var(--ang-blue);
    outline-offset: 3px;
}

.aktion-btn--primary {
    background: var(--ang-navy);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(5, 26, 62, 0.22);
}

.aktion-btn--primary:hover,
.aktion-btn--primary:focus {
    background: var(--ang-navy-hover);
    color: #ffffff;
}

.aktion-btn--outline {
    background: #ffffff;
    color: var(--ang-navy);
}

.aktion-btn--outline:hover,
.aktion-btn--outline:focus {
    background: var(--ang-navy);
    color: #ffffff;
}

.aktion-btn--hell {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--ang-navy);
}

.aktion-btn--hell:focus-visible {
    outline-color: #5b9bff;
}

.aktion-btn--hell:hover,
.aktion-btn--hell:focus {
    background: #e3ecfb;
    border-color: #e3ecfb;
    color: var(--ang-navy);
}

/* ==========================================================================
   Startseite: Abschnitt «Aktuelle Angebote»
   ========================================================================== */

.angebote-section {
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 32%),
        linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
}

.angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 980px;
    margin: 0 auto;
}

.angebot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.24);
}

.angebot-card:focus-within {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.angebot-card__bild {
    position: relative;
    margin: 14px 14px 0;
    border-radius: 22px;
    overflow: hidden;
    background: #e9edf2;
}

.angebot-card__bild img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 22%;
}

.angebot-card__inhalt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px 24px;
}

.angebot-card__tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ang-navy);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.angebot-card h3 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.angebot-card__link,
.angebot-card__link:hover,
.angebot-card__link:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

/* ganze Karte klickbar, ein Link pro Karte */
.angebot-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.angebot-card__untertitel {
    margin: 0 0 14px;
    color: #475569;
}

.angebot-card__preis {
    margin: 0;
    color: #475569;
}

.angebot-card__preis strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ang-ink);
    white-space: nowrap;
}

.angebot-card__gratis {
    margin: 12px 0 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 69, 143, 0.1);
    color: var(--ang-blue);
    font-weight: 700;
    font-size: 0.95rem;
}

.angebot-card__frist {
    margin: 12px 0 18px;
    color: #475569;
    font-size: 0.95rem;
}

.angebot-card__frist .fa {
    margin-right: 6px;
    color: var(--ang-blue);
}

.angebot-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    background: var(--ang-navy);
    color: #ffffff;
    font-weight: 700;
}

.angebot-card:hover .angebot-card__cta {
    background: var(--ang-navy-hover);
}

@media (min-width: 768px) {
    /* nur eine Karte: quer statt hoch */
    .angebot-card:only-child {
        flex-direction: row;
    }

    .angebot-card:only-child .angebot-card__bild {
        flex: 0 0 38%;
        min-height: 380px;
        margin: 14px 0 14px 14px;
    }

    .angebot-card:only-child .angebot-card__bild img {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .angebot-card:only-child .angebot-card__inhalt {
        justify-content: center;
        padding: 32px 36px;
    }
}

@media (max-width: 991px) {
    .angebote-section {
        padding: 70px 0 55px;
    }
}

/* ==========================================================================
   Aktionsseite (z. B. /schulthess-waschturm)
   ========================================================================== */

/* ---------- Hero ---------- */

.aktion-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: linear-gradient(100deg, #fbfcfd 0%, #eef1f4 100%);
    color: var(--ang-text);
}

.aktion-hero__text {
    padding: 40px 16px 40px;
}

.aktion-hero__overline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #46506a;
}

.aktion-hero__overline::after {
    content: "";
    flex: 0 1 84px;
    min-width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.aktion-hero__title {
    margin: 0 0 20px;
    font-family: var(--ang-serif);
    font-size: clamp(2.35rem, 9vw, 3.6rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ang-ink);
    text-wrap: balance;
}

.aktion-hero__title span {
    display: block;
    color: var(--ang-blue);
}

.aktion-hero__lead {
    max-width: 34em;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--ang-text);
}

.aktion-preis {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 26px 0;
    color: var(--ang-text);
    font-size: 1.05rem;
}

.aktion-preis__betrag {
    margin: 2px 0 4px;
    font-size: clamp(2.6rem, 11vw, 3.9rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ang-ink);
    white-space: nowrap;
}

.aktion-preis__gratis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 69, 143, 0.1);
    color: var(--ang-blue);
    font-size: 0.95rem;
    font-weight: 700;
}

.aktion-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.aktion-hero__frist {
    margin: 16px 0 0;
    font-size: 0.95rem;
    color: var(--ang-text);
}

.aktion-hero__frist span {
    color: var(--ang-muted);
}

.aktion-hero__media {
    position: relative;
    margin: 0;
}

.aktion-hero__media img {
    display: block;
    width: 100%;
    max-width: 568px;
    height: auto;
    margin: 0 auto;
}

/* ---------- Navy-Panel ---------- */

.aktion-panel {
    position: relative;
    overflow: hidden;
    padding: 44px 16px 170px;
    background: radial-gradient(120% 60% at 50% 0%, #0b2552 0%, var(--ang-navy) 62%);
    color: #ffffff;
}

.aktion-panel > * {
    position: relative;
    z-index: 1;
}

.aktion-panel .aktion-panel__berge {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 170px;
}

.aktion-panel__kopf {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.aktion-panel__marke {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
}

.aktion-panel__claim {
    margin: 14px 0 0;
    font-size: 0.72rem;
    line-height: 1.9;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.aktion-panel__vorteile {
    display: grid;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aktion-panel__vorteile li {
    display: flex;
    align-items: center;
    gap: 22px;
}

.aktion-panel__icon {
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 1.6rem;
}

.aktion-panel__vorteile strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.aktion-panel__vtext {
    display: block;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.aktion-panel__hand {
    max-width: 8.5em;
    margin: 36px 0 0 auto;
    font-family: var(--ang-hand);
    font-size: 1.6rem;
    line-height: 1.25;
    text-align: right;
    transform: rotate(-9deg);
    transform-origin: right center;
}

.aktion-panel__seit {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 0.9rem;
}

.ch-flag {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background:
        linear-gradient(#ffffff, #ffffff) center / 62% 20% no-repeat,
        linear-gradient(#ffffff, #ffffff) center / 20% 62% no-repeat,
        #da291c;
}

/* ---------- Leiste unter dem Hero ---------- */

.aktion-leiste {
    background: #ffffff;
    border-bottom: 1px solid var(--ang-line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.aktion-leiste__liste {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 0;
    padding: 24px 0;
    list-style: none;
}

.aktion-leiste__liste li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.aktion-leiste__liste .fa {
    flex: 0 0 34px;
    font-size: 1.75rem;
    text-align: center;
    color: var(--ang-navy);
}

.aktion-leiste__liste strong {
    display: block;
    font-size: 1rem;
    color: var(--ang-ink);
}

.aktion-leiste__txt {
    display: block;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--ang-muted);
}

/* AlpaTech-Logo (weisses SVG) als Maske in Navy eingefärbt */
.aktion-leiste__logo {
    flex: 0 0 92px;
    height: 64px;
    background: var(--ang-navy);
    -webkit-mask: url("../images/logo/Logo-02.svg") center / contain no-repeat;
    mask: url("../images/logo/Logo-02.svg") center / contain no-repeat;
}

@media (forced-colors: active) {
    .aktion-leiste__logo {
        forced-color-adjust: none;
        background: CanvasText;
    }
}

/* ---------- Mehr erfahren ---------- */

.aktion-seite .dienstleistung_section-header h2 {
    font-family: var(--ang-serif);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ang-ink);
}

.aktion-details {
    padding: 90px 0 40px;
}

.aktion-schritte {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 56px;
    padding: 0;
    list-style: none;
}

.aktion-schritte li,
.aktion-karte,
.aktion-faq details {
    background: #ffffff;
    border: 1px solid var(--ang-line);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.aktion-schritte li {
    padding: 28px 24px;
    border-radius: 22px;
}

.aktion-schritte__nr {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--ang-navy);
    color: #ffffff;
    font-family: var(--ang-serif);
    font-size: 1.3rem;
    font-weight: 700;
}

.aktion-schritte h3,
.aktion-karte h3,
.aktion-hinweis h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ang-ink);
}

.aktion-schritte p,
.aktion-hinweis p {
    margin: 0;
    line-height: 1.65;
    color: #475569;
}

.aktion-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.aktion-karte {
    padding: 30px 28px;
    border-radius: 22px;
}

.aktion-karte__preis {
    margin: 0 0 20px;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--ang-ink);
}

.aktion-karte__preis small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #475569;
}

.aktion-karte h4 {
    margin: 24px 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ang-muted);
}

.aktion-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aktion-liste li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 30px;
    line-height: 1.55;
    color: var(--ang-text);
}

.aktion-liste li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    font-family: FontAwesome;
    color: var(--ang-blue);
}

.aktion-liste--offen li::before {
    content: "\f05a";
    color: #b08600;
}

.aktion-hinweis {
    align-self: start;
    padding: 28px 26px;
    border-left: 4px solid var(--ang-blue);
    border-radius: 18px;
    background: #eaf1fc;
}

.aktion-hinweis h3 .fa {
    margin-right: 8px;
    color: var(--ang-blue);
}

.aktion-hinweis p + p {
    margin-top: 12px;
}

/* ---------- FAQ ---------- */

.aktion-faq {
    padding: 50px 0 40px;
}

.aktion-faq__liste {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.aktion-faq details {
    border-radius: 16px;
    box-shadow: none;
}

.aktion-faq summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 54px 14px 22px;
    font-weight: 700;
    color: var(--ang-ink);
    list-style: none;
    cursor: pointer;
}

.aktion-faq summary::-webkit-details-marker {
    display: none;
}

.aktion-faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ang-blue);
}

.aktion-faq details[open] summary::after {
    content: "\2013";
}

.aktion-faq summary:focus-visible {
    outline: 3px solid var(--ang-blue);
    outline-offset: 2px;
    border-radius: 16px;
}

.aktion-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    line-height: 1.65;
    color: #475569;
}

/* ---------- Abschluss-CTA ---------- */

.aktion-cta {
    padding: 30px 0 90px;
}

.aktion-cta__band {
    position: relative;
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 40px 24px;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(90% 140% at 100% 0%, #0b2552 0%, var(--ang-navy) 60%);
    color: #ffffff;
}

.aktion-cta__band h2 {
    margin: 0 0 8px;
    font-family: var(--ang-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.aktion-cta__band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.aktion-cta__kontakt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 26px;
}

.aktion-cta__link,
.aktion-cta__link:hover,
.aktion-cta__link:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.aktion-cta__link:hover {
    color: #bfdbfe;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 575.98px) {
    .aktion-hero__overline {
        letter-spacing: 0.18em;
    }

    .aktion-hero__overline::after {
        display: none;
    }

    .aktion-panel {
        padding-bottom: 130px;
    }

    .aktion-panel .aktion-panel__berge {
        height: 130px;
    }

    .aktion-hero__actions .aktion-btn {
        flex: 1 1 100%;
    }

    .aktion-cta__kontakt .aktion-btn {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .aktion-leiste__liste {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 768–991 px: Hero einspaltig, Panel mit 3 Vorteilen nebeneinander */
@media (min-width: 768px) {
    .aktion-hero__text {
        padding: 56px 32px 56px calc((100vw - 720px) / 2 + 15px);
    }

    .aktion-panel {
        grid-column: 1 / -1;
        padding: 48px calc((100vw - 720px) / 2 + 15px) 150px;
    }

    .aktion-panel__vorteile {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aktion-panel__vorteile li {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .aktion-schritte {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aktion-cta__band {
        padding: 48px 44px;
    }
}

/* 992–1199 px: Text | Bild, Panel darunter */
@media (min-width: 992px) {
    .aktion-hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .aktion-hero__text {
        align-self: center;
        padding-left: calc((100vw - 960px) / 2 + 15px);
    }

    .aktion-hero__media {
        background: #dcdfe3;
    }

    .aktion-hero__media img {
        position: absolute;
        inset: 0;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: 0% 50%;
    }

    .aktion-panel {
        padding-left: calc((100vw - 960px) / 2 + 15px);
        padding-right: calc((100vw - 960px) / 2 + 15px);
    }

    .aktion-info {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

/* ≥1200 px: dreispaltig wie Entwurf (Text | Bild | Panel) */
@media (min-width: 1200px) {
    .aktion-hero {
        grid-template-columns: minmax(0, 1fr) clamp(380px, 29vw, 520px) clamp(320px, 24vw, 400px);
        min-height: clamp(620px, calc(100vh - 210px), 760px);
    }

    .aktion-hero__text {
        padding: 32px 32px 32px calc((100vw - 1170px) / 2 + 15px);
    }

    .aktion-hero__media img {
        object-position: 3% 50%;
    }

    .aktion-hero__title {
        font-size: clamp(2.9rem, 3.9vw, 3.6rem);
    }

    .aktion-preis__betrag {
        font-size: clamp(2.6rem, 4.2vw, 3.9rem);
    }

    .aktion-panel {
        grid-column: auto;
        padding: 48px 32px 64px;
    }

    .aktion-panel__kopf {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .aktion-panel__vorteile {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .aktion-panel__hand {
        margin-top: 24px;
    }

    .aktion-panel .aktion-panel__berge {
        height: 230px;
    }

    .aktion-panel__vorteile li {
        flex-direction: row;
        gap: 22px;
        text-align: left;
    }

    /* Spalten nach Inhalt, damit die Unterzeilen der Punkte 1–3 einzeilig bleiben */
    .aktion-leiste__liste {
        grid-template-columns: repeat(4, auto);
        justify-content: space-between;
    }

    .aktion-leiste__liste li:last-child .aktion-leiste__txt {
        max-width: 13em;
    }

    .aktion-leiste__liste li + li {
        padding-left: 20px;
        border-left: 1px solid var(--ang-line);
    }

    .aktion-cta__band {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}
