/* Temporaere Landingpage "Schön sauber" – Farben und Schrift angelehnt an das bisherige Shop-Theme */
:root {
    --red: #de281a;
    --red-dark: #b81f13;
    --text: #4a4a4a;
    --text-strong: #272727;
    --bg-light: #f4f4f4;
    --line: #e2e2e2;
    --footer-bg: #2f3337;
    --footer-text: #c9ced3;
    --footer-head: #ffffff;
    --max: 1600px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(40px, 6vw, 72px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

main {
    flex: 1 0 auto; /* Footer bei kurzen Seiten am unteren Fensterrand */
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--red);
}

a:hover {
    color: var(--red-dark);
}

a:focus-visible,
.cta__button:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

h1,
h2 {
    margin: 0 0 0.6em;
    color: var(--red);
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Ueberschriften nur an Wortgrenzen umbrechen, keine Silbentrennung */
h1,
h2,
h3,
h4 {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
}

h1 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
}

h3,
h4 {
    color: var(--text-strong);
    line-height: 1.3;
}

p {
    margin: 0 0 1em;
}

/* Inhaltsbreite: max. 1600 px und nie breiter als das Fenster */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.text {
    max-width: 52rem;
}

.text--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

/* Kopfzeile: Logo links, Service-Hotline rechts */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 96px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-header__logo img {
    display: block;
    width: clamp(150px, 22vw, 230px);
    height: auto;
}

.hotline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1.3;
}

.hotline__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.hotline__number {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hotline__number .icon {
    width: 1em;
    height: 1em;
}

.hotline__hours {
    font-size: 0.8rem;
}

/* Hero: immer volle Fensterbreite, Hoehe skaliert mit (Grafik je Fensterbreite per <picture>) */
.hero picture {
    display: block;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* Abschnitte */
.section {
    padding: var(--section) 0;
}

.section--gray {
    background: var(--bg-light);
}

/* Relaunch-Hinweis */
.intro {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.cta {
    margin-top: 2rem;
    padding: 1.75rem 1.25rem;
    border-top: 1px solid var(--line);
}

.cta__lead {
    margin-bottom: 1rem;
    color: var(--text-strong);
    font-weight: 700;
}

.cta__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(222, 40, 26, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover-Effekt nur, wenn die Nummer ein Link ist (Smartphones) */
a.cta__button:hover {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-1px);
}

.cta__button .icon {
    width: 1.1em;
    height: 1.1em;
}

.cta__hours {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
}

/* Sortiment */
.sortiment__image {
    display: block;
    margin: 0 auto 2rem;
}

/* Leistungs-Kacheln: Desktop 3, Tablet 2, Smartphone 1 Spalte – alle gleich gross */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
    padding: 20px 24px;
    border-top: 4px solid var(--red);
    background: var(--bg-light);
    color: var(--text-strong);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Fachberatung */
.advisors__title {
    margin: 2.5rem 0 1.25rem;
    font-size: 1.35rem;
}

.advisors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.advisor {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
}

.advisor__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.advisor__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6e6e6;
    color: #b5b5b5;
}

.advisor__body {
    padding: 20px 22px 22px;
}

.advisor__name {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
}

.advisor__area {
    margin-bottom: 0.8rem;
}

.advisor__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-wrap: anywhere;
}

.advisor__label {
    font-weight: 700;
}

/* Rechtsseiten */
.back {
    max-width: 60rem;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
}

.back a {
    text-decoration: none;
}

/* Rechtstexte mittig im Inhaltsbereich, damit die Seitenueberschrift auf der Seite zentriert steht */
.legal {
    max-width: 60rem;
    margin: 0 auto;
    overflow-wrap: break-word;
}

.legal__content h1,
.legal h2,
.legal h3 {
    color: var(--text-strong);
    text-align: left;
    text-transform: none;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 1.2rem;
    margin: 1.75em 0 0.6em;
}

.legal ul,
.legal ol {
    padding-left: 1.4em;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 0.95rem;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.site-footer__title {
    margin: 0 0 0.75rem;
    text-align: left;
    color: var(--footer-head);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.site-footer p {
    margin: 0 0 0.6rem;
}

.site-footer a {
    color: var(--footer-head);
}

.site-footer a:hover {
    color: var(--footer-text);
}

.site-footer a:focus-visible {
    outline-color: #fff;
}

.site-footer__phone .tel {
    color: var(--footer-head);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav a {
    text-decoration: none;
    font-weight: 700;
}

.site-footer__nav a:hover,
.site-footer__nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Tablet */
@media (max-width: 1023px) {
    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Fachberater: ab 760 px drei Boxen nebeneinander, darunter untereinander (mittlere Breite: Foto links) */
@media (max-width: 759px) {
    .advisors {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 759px) {
    .advisor {
        flex-direction: row;
    }

    .advisor__photo {
        flex: 0 0 40%;
        width: 40%;
        height: auto;
    }
}

/* Smartphone */
@media (max-width: 599px) {
    .site-header__inner {
        min-height: 72px;
    }

    .hotline__label,
    .hotline__hours {
        display: none;
    }

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

    .tile {
        min-height: 5.5rem;
    }

    .intro {
        font-size: 1rem;
    }

    .cta {
        padding-left: 0;
        padding-right: 0;
    }

    .cta__button {
        padding: 14px 22px;
    }

    .site-footer__inner {
        flex-direction: column;
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta__button {
        transition: none;
    }
}
