/* Korrektur zur v4: dynamisches Hero-MOTD und eine Stufe kleinere Seitentitel. */
/* Die Botschaft besteht stets aus zwei festen Zeilen, ohne Layout-Sprünge. */
main#hauptinhalt .hero-copy .hero-motd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Heavy, Impact, Arial, sans-serif;
    font-size: clamp(56px, 6.1vw, 98px);
    font-weight: normal;
    line-height: .98;
    letter-spacing: -.035em;
    width: 100%;
    max-width: 100%;
    margin: 22px 0 20px;
    transform: none;
    transform-origin: left center;
    text-wrap: nowrap;
    height: clamp(116px, 11.5vw, 176px);
    color: #f7f7f4;
    transition: opacity 260ms ease;
}
.hero-motd.hero-motd--changing { opacity: 0; }
.hero-motd__line { display: block; width: max-content; white-space: nowrap; }
.hero-motd__line--white { color: #fff; }
.hero-motd__line--red { color: #ed222a; }
/* Abschnittsüberschriften: gezielte Anpassung, ohne Formulare/Karten zu zerschießen. */
main#hauptinhalt .services .section-head h2 { font-size: clamp(26px, 2.75vw, 44px); line-height: 1.1; }
main#hauptinhalt .roadside-section h2 { font-size: clamp(27px, 2.9vw, 44px); line-height: 1.11; }
main#hauptinhalt .workshop-detail h2 { font-size: clamp(25px, 2.55vw, 39px); line-height: 1.12; }
main#hauptinhalt .booking-section h2 { font-size: clamp(27px, 3.05vw, 46px); line-height: 1.12; }
main#hauptinhalt .home-extra h2 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.2; }
main#hauptinhalt .services .card h3 { font-size: clamp(17px, 1.4vw, 22px); }
main#hauptinhalt .booking-panel h3 { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.25; }
main.feature-page>h1 { font-size: clamp(31px, 3.65vw, 55px) !important; }
main.feature-page>h2, main.feature-page section>h2 { font-size: clamp(22px, 2.35vw, 32px) !important; }
main.feature-page h3 { font-size: clamp(18px, 1.8vw, 20px); }
main.legal-layout .legal-title h1 { font-size: clamp(30px, 3.9vw, 49px) !important; }
main.legal-layout .legal-copy h2, main.legal-layout .legal-copy section h2 { font-size: clamp(20px, 1.85vw, 24px) !important; }
main.media-page h1 { font-size: clamp(31px, 4vw, 51px); }
main.media-page .media-card h2 { font-size: clamp(19px, 2vw, 23px); }
main.media-page .media-source h2 { font-size: clamp(20px, 2.1vw, 22px); }
.hero.live .scene-caption h2 { font-size: clamp(23px, 2.2vw, 33px); }
.site-dialog h2 { font-size: 22px; }
.cookie-gate h2 { font-size: clamp(23px, 3vw, 35px); }
.location-dialog h2 { font-size: clamp(23px, 4.4vw, 31px); }
@media (max-width: 700px) {
    main#hauptinhalt .hero-copy .hero-motd {
        font-size: clamp(46px, 11.2vw, 66px);
        line-height: .99;
        height: 108px;
        margin: 11px 0 12px;
    }
    main#hauptinhalt .services .section-head h2 { font-size: clamp(25px, 6.6vw, 32px); }
    main#hauptinhalt .roadside-section h2 { font-size: clamp(26px, 7.2vw, 33px); }
    main#hauptinhalt .workshop-detail h2 { font-size: clamp(24px, 6.9vw, 31px); }
    main#hauptinhalt .booking-section h2 { font-size: clamp(26px, 7.1vw, 34px); }
    main.feature-page>h1 { font-size: clamp(29px, 7.8vw, 39px) !important; }
    main.feature-page>h2, main.feature-page section>h2 { font-size: clamp(21px, 5.6vw, 27px) !important; }
    main.legal-layout .legal-title h1 { font-size: clamp(29px, 7.4vw, 36px) !important; }
    main.legal-layout .legal-copy h2, main.legal-layout .legal-copy section h2 { font-size: 20px !important; }
    main.media-page h1 { font-size: clamp(28px, 7.4vw, 36px); }
    main.media-page .media-card h2 { font-size: 20px; }
    .location-dialog h2 { font-size: 24px; }
    .hero.live .scene-caption h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    main#hauptinhalt .hero-copy .hero-motd { transition: none; }
}
