/* Unterseiten (Unternehmen, Events, Immobilien, Agenturen, Rechtliches).
   Grundlagen (Schrift, Kopfzeile, Knoepfe, Fusszeile, Berg) stehen in design.css. */

main { position: relative; z-index: 1; }
.inhalt { max-width: var(--breite); margin: 0 auto; }

/* ---------- Titel ---------- */
.seiten-hero {
    position: relative;
    min-height: 82vh;
    min-height: 82svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--kopf) + 5vh) var(--rand) clamp(3rem, 8vh, 6rem);
}
.seiten-hero .inhalt { width: 100%; }
.brotkrumen {
    display: inline-flex;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--akzent);
}
.brotkrumen a { color: var(--mute); transition: color 0.3s ease; }
.brotkrumen a:hover { color: #fff; }
.seiten-hero h1 {
    max-width: 15ch;
    font-family: var(--gross);
    font-weight: 900;
    font-size: clamp(2.5rem, 7.4vw, 7.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #fff;
    overflow-wrap: break-word;
    hyphens: manual;
}
.seiten-hero .vorspann {
    margin-top: 2rem;
    max-width: 44rem;
    font-family: var(--gross);
    font-weight: 200;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}
.seiten-hero .inhalt > * {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    animation: hero-rein 1.3s var(--sanft) forwards;
}
.seiten-hero .inhalt > :nth-child(1) { animation-delay: 0.35s; }
.seiten-hero .inhalt > :nth-child(2) { animation-delay: 0.5s; }
.seiten-hero .inhalt > :nth-child(3) { animation-delay: 0.7s; }
@keyframes hero-rein { to { opacity: 1; transform: none; filter: none; } }
.rechts-hero { min-height: min(52svh, 520px); }

/* ---------- Abschnitte ---------- */
.abschnitt {
    position: relative;
    padding: clamp(4rem, 9vw, 8rem) var(--rand);
    background: rgba(3, 6, 12, 0.5);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    backdrop-filter: blur(16px) saturate(130%);
    border-top: 1px solid var(--line);
}
.abschnitt.grau { background: rgba(10, 18, 36, 0.58); }
html.sparsam .abschnitt { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 8, 16, 0.86); }
.abschnitt .inhalt {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.seiten-hero + .abschnitt .inhalt { display: block; }
.abschnitt .inhalt > * { grid-column: 2; }
.abschnitt .inhalt > h2 {
    grid-column: 1;
    grid-row: 1 / span 6;
    font-family: var(--gross);
    font-weight: 900;
    font-size: clamp(1.7rem, 3.2vw, 2.9rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #fff;
}
.abschnitt .inhalt > .schritte,
.abschnitt .inhalt > .karten,
.abschnitt .inhalt > .hinweis { grid-column: 1 / -1; }
.abschnitt .inhalt > p {
    margin-bottom: 1.25rem;
    max-width: 44rem;
    color: var(--mute);
    font-size: clamp(1.02rem, 1.3vw, 1.2rem);
    line-height: 1.65;
}
.seiten-hero + .abschnitt { padding-top: clamp(3.5rem, 7vw, 6rem); }
.seiten-hero + .abschnitt .inhalt > p { max-width: 54rem; font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: rgba(255, 255, 255, 0.86); line-height: 1.6; }
.seiten-hero + .abschnitt .inhalt > p + p { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--mute); }

.liste { margin: 0.4rem 0 1rem; }
.liste li {
    position: relative;
    padding: 1rem 0 1rem 2.2rem;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    transition: padding 0.5s var(--sanft), color 0.3s ease, border-color 0.3s ease;
}
.liste li:first-child { border-top: 1px solid var(--line); }
.liste li::before {
    content: '';
    position: absolute;
    left: 0; top: 1.62rem;
    width: 1.2rem; height: 1.5px;
    background: var(--akzent);
    transition: width 0.5s var(--sanft);
}
.liste li:hover { padding-left: 2.8rem; color: #fff; border-color: rgba(0, 0, 0, 0.5); }
.liste li:hover::before { width: 1.9rem; }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1rem; }
.schritte > div {
    position: relative;
    padding: 2rem 1.8rem 2.2rem;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 60%), rgba(8, 13, 25, 0.5);
    transition: transform 0.7s var(--sanft), border-color 0.4s ease;
}
.schritte > div:hover { transform: translateY(-6px); border-color: rgba(0, 0, 0, 0.5); }
.schritt-nummer {
    display: block;
    font-family: var(--gross);
    font-weight: 900;
    font-size: clamp(3.4rem, 5.4vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}
.schritte h3 { font-family: var(--gross); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; margin-bottom: 0.8rem; }
.schritte p { color: var(--mute); font-size: 0.97rem; line-height: 1.6; max-width: none; margin: 0; }

/* ---------- Pakete ---------- */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.karte {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem 1.8rem;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 60%), rgba(8, 13, 25, 0.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 40px 80px -40px rgba(0,0,0,0.8);
    transition: transform 0.7s var(--sanft), border-color 0.4s ease;
}
.karte:hover { transform: translateY(-8px); border-color: rgba(0, 0, 0, 0.55); }
.karte h3 { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--akzent); margin-bottom: 1.4rem; }
.karte .liste { margin: 0 0 1.6rem; }
.karte .liste li { padding: 0.65rem 0 0.65rem 1.6rem; font-size: 0.95rem; }
.karte .liste li:first-child { border-top: 0; }
.karte .liste li::before { top: 1.28rem; width: 0.8rem; }
.karte .liste li:hover { padding-left: 1.6rem; }
.karte .liste li:hover::before { width: 0.8rem; }
.karte .preis {
    margin-top: auto;
    font-family: var(--gross);
    font-weight: 900;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    letter-spacing: -0.05em;
    line-height: 1;
    color: #fff;
}
.hinweis { margin-top: 1.6rem; max-width: 60rem; font-size: 0.8125rem; line-height: 1.6; color: var(--faint); }
.abschnitt .inhalt > .hinweis { margin-bottom: 0; }
.hinweis a { color: var(--mute); text-decoration: underline; text-underline-offset: 0.2em; }
.hinweis a:hover { color: #fff; }

/* ---------- Fragen ---------- */
.faq { grid-column: 2; }
.faq-eintrag { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.faq-eintrag:first-child { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.faq-eintrag h3 { font-family: var(--gross); font-weight: 900; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.7rem; }
.faq-eintrag p { color: var(--mute); font-size: 1rem; line-height: 1.65; max-width: 44rem; }

/* ---------- Abschluss ---------- */
.cta-block {
    position: relative;
    padding: clamp(5rem, 12vw, 10rem) var(--rand);
    background: linear-gradient(180deg, rgba(3, 6, 12, 0.5), rgba(3, 6, 12, 0.78));
    border-top: 1px solid var(--line);
    text-align: center;
}
.cta-block .inhalt { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.cta-block h2 {
    font-family: var(--gross);
    font-weight: 900;
    font-size: clamp(3.4rem, 12vw, 11rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.92);
}
.cta-block p { max-width: 36rem; color: var(--mute); font-size: 1.1rem; }
.weitere { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; margin-top: 1.4rem; }
.weitere a {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mute);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--line-stark);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.weitere a:hover { color: var(--akzent); border-color: var(--akzent); }

@media (max-width: 960px) {
    .abschnitt .inhalt { grid-template-columns: 1fr; }
    .abschnitt .inhalt > *, .abschnitt .inhalt > h2, .faq { grid-column: 1; grid-row: auto; }
    .abschnitt .inhalt > h2 { margin-bottom: 1.6rem; position: static; }
    .schritte, .karten { grid-template-columns: 1fr; }
}
