/* ==========================================================================
   Felix Schenet – Webdesign aus dem Pinzgau
   Farben aus dem Logo: Stein (226,226,221) und Schwarz.
   ========================================================================== */

@font-face {
    font-family: "Anybody";
    src: url("../fonts/anybody.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 50% 150%;
    font-display: swap;
}
@font-face {
    font-family: "Newsreader";
    src: url("../fonts/newsreader.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Newsreader";
    src: url("../fonts/newsreader-italic.woff2") format("woff2");
    font-weight: 200 800;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Grundfarben */
    --stein: #E2E2DD;
    --schwarz: #000;
    /* aus beiden gemischt */
    --nebel: #C6C6C1;
    --geroell: #A2A29D;
    --fels: #55554F;
    --schiefer: #8C8C87;
    --grat: #2B2B29;

    /* Rollen (werden in .dunkel umgedreht) */
    --papier: var(--stein);
    --tinte: var(--schwarz);
    --leise: var(--fels);
    --linie: var(--nebel);

    --display: "Anybody", "Arial Narrow", "Helvetica Neue", sans-serif;
    --text: "Newsreader", Georgia, "Times New Roman", serif;
    --code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --rand: clamp(1rem, 4.5vw, 4.5rem);
    --rail: 0px;
    --rechts: calc(var(--rand) + var(--rail));
    --kopf-h: 10.5rem;       /* oben auf der Seite: ganzes Logo groß */
    --kopf-kompakt: 4.75rem; /* nach dem ersten Scrollen */
    --abschnitt: clamp(6rem, 12vw, 10rem);

    --federnd: cubic-bezier(.2, .8, .2, 1);
}

.dunkel {
    --papier: var(--schwarz);
    --tinte: var(--stein);
    --leise: var(--schiefer);
    --linie: var(--grat);
    background: var(--papier);
    color: var(--tinte);
}

/* Grundlagen ------------------------------------------------------------- */

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

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

body {
    margin: 0;
    padding-top: var(--kopf-h);
    background: var(--stein);
    color: var(--schwarz);
    font-family: var(--text);
    font-size: 1.1875rem;
    line-height: 1.55;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }

::selection { background: var(--schwarz); color: var(--stein); }
.dunkel ::selection { background: var(--stein); color: var(--schwarz); }

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 2px;
}

.sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sprung {
    position: fixed;
    left: 1rem; top: 1rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--schwarz);
    color: var(--stein);
    font-family: var(--display);
    transform: translateY(-200%);
}
.sprung:focus { transform: none; }

.titel {
    margin: 0 0 clamp(2.5rem, 6vw, 5rem);
    max-width: 12ch;
    font-family: var(--display);
    font-size: clamp(2.75rem, 7.5vw, 7rem);
    font-weight: 800;
    font-stretch: 62%;
    line-height: .88;
    letter-spacing: -.005em;
    text-wrap: balance;
}

/* Kopf ------------------------------------------------------------------- */

/* Eigene Leiste: der Inhalt beginnt darunter (siehe body padding-top) */
.kopf {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--kopf-h);
    padding: 0 var(--rand);
    border-bottom: 1px solid var(--nebel);
    background: var(--stein);
    color: var(--schwarz);
    transition: height .5s var(--federnd);
}
.kopf.ist-kompakt { height: var(--kopf-kompakt); }
.kopf a { color: inherit; text-decoration: none; }

/* Logo in Originalfarben, Grund = Seitenfarbe */
.wortmarke { display: block; }
.wortmarke img { width: auto; height: calc(var(--kopf-h) - 1.75rem); transition: height .5s var(--federnd); }
.kopf.ist-kompakt .wortmarke img { height: calc(var(--kopf-kompakt) - 1rem); }

.kopf-hoehe {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: .9375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.kopf-cta {
    padding: .42em 1em .48em;
    border: 1.5px solid currentColor;
    border-radius: 99px;
    font-family: var(--display);
    font-size: .9375rem;
    font-weight: 600;
    font-stretch: 90%;
    transition: background .25s, color .25s, font-stretch .4s var(--federnd);
}
.kopf-cta:hover { background: var(--schwarz); color: var(--stein); font-stretch: 110%; }

/* Höhenmesser (Navigation) ---------------------------------------------- */

.hoehenmesser {
    position: fixed;
    top: 50%;
    right: clamp(.75rem, 1.6vw, 1.75rem);
    z-index: 40;
    width: 3rem;
    height: min(62vh, 36rem);
    color: var(--stein);
    font-family: var(--display);
    mix-blend-mode: difference;
    transform: translateY(-50%);
}

.hm-skala { position: absolute; inset: 0; }
.hm-skala::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 1.5px;
    background: currentColor;
}
.hm-strich {
    position: absolute;
    right: 0;
    top: calc((1 - var(--p)) * 100%);
    width: 6px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.hm-strich.gross { width: 12px; opacity: 1; }

.hm-stationen { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.js .hm-stationen li {
    position: absolute;
    right: -6px;
    top: calc((1 - var(--p, 0)) * 100%);
    transform: translateY(-50%);
}
.hm-stationen a {
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: var(--schwarz);
    color: inherit;
    text-decoration: none;
    transition: background .3s, transform .3s var(--federnd);
}
.hm-stationen a::before { /* größere Trefferfläche */
    content: "";
    position: absolute;
    inset: -8px -10px;
}
.hm-stationen a[aria-current] { background: currentColor; }
.hm-stationen a:hover { transform: scale(1.35); }

.hm-stationen span {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    padding: .18em .6em .24em;
    border-radius: 99px;
    background: var(--stein);
    color: var(--schwarz);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(6px, -50%);
    transition: opacity .25s, transform .35s var(--federnd);
    pointer-events: none;
}
.hoehenmesser:hover .hm-stationen span,
.hoehenmesser:focus-within .hm-stationen span { opacity: 1; transform: translate(0, -50%); }
.hoehenmesser:hover .hm-zeiger,
.hoehenmesser:focus-within .hm-zeiger { opacity: 0; }

.hm-zeiger {
    position: absolute;
    right: 12px;
    top: calc((1 - var(--p, 0)) * 100%);
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transform: translateY(-50%);
    transition: opacity .2s;
}
.hm-zeiger::after {
    content: "";
    border-left: 7px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Tal (Einstieg) --------------------------------------------------------- */

.tal {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100vh - var(--kopf-h));
    min-height: max(calc(100svh - var(--kopf-h)), 32rem);
    padding: 3rem var(--rechts) clamp(2rem, 5vw, 4rem) var(--rand);
    overflow: hidden;
    cursor: crosshair;
    touch-action: pan-y;
}

.topo { position: absolute; inset: 0; width: 100%; height: 100%; }

.peilung {
    position: absolute;
    left: 0; top: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}
.peilung.ist-sichtbar { opacity: 1; }
.peilung-wert {
    position: absolute;
    left: 14px; top: 12px;
    padding: .12em .45em .16em;
    background: var(--schwarz);
    color: var(--stein);
    font-family: var(--display);
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    border-radius: 3px;
}

.tal-inhalt { position: relative; z-index: 1; }

.name {
    margin: 0 0 0 -.03em;
    font-family: var(--display);
    font-size: clamp(4.25rem, min(17.5vw, 29vh), 16.5rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.01em;
}
.name-zeile { display: block; }
.bs {
    display: inline-block;
    font-variation-settings: "wdth" 70, "wght" 800;
    transition: font-variation-settings .6s var(--federnd);
}

.tal-fuss {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    gap: 1rem 2rem;
    align-items: end;
    margin-top: clamp(1.25rem, 3vw, 2.5rem);
}

/* Halo wie bei Kartenbeschriftungen – bleibt über den Höhenlinien lesbar */
.rolle, .tal-text {
    text-shadow: 0 0 3px var(--stein), 0 0 8px var(--stein), 0 0 14px var(--stein);
}
.rolle {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 650;
    font-stretch: 88%;
}
.tal-text { margin: 0; max-width: 34ch; }

/* Einstiegsmoment */
.js .bs {
    animation: aufrichten 1.3s var(--federnd) backwards;
    animation-delay: calc(150ms + var(--i) * 55ms);
}
.js .tal-fuss, .js .kopf, .js .hoehenmesser { animation: auftauchen 1s ease-out 1.1s backwards; }

@keyframes aufrichten {
    from { opacity: 0; font-variation-settings: "wdth" 50, "wght" 150; transform: translateY(.1em); }
}
@keyframes auftauchen { from { opacity: 0; } }

/* Über mich -------------------------------------------------------------- */

.ueber { padding: clamp(6rem, 13vw, 11rem) var(--rechts) clamp(5rem, 10vw, 8rem) var(--rand); }

/* Aussage links, Gipfelfoto rechts */
.ueber-kopf {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    max-width: 82rem;
}

.aussage {
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 3.1rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -.012em;
    text-wrap: pretty;
}
.wort { transition: opacity .25s linear; }

/* Gipfelfoto: Duoton in Logofarben, beim Überfahren (am Handy per Antippen) in Farbe */
.portrait { justify-self: end; width: 100%; max-width: 27rem; margin: 0; }
.portrait-bild {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 10px;
    background: var(--nebel);
}
.portrait-bild img { width: 100%; height: 100%; object-fit: cover; }
.portrait-duo { position: absolute; inset: 0; transition: opacity 1.1s ease; }
.portrait-bild.in-farbe .portrait-duo { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
    .portrait-bild:hover .portrait-duo { opacity: 0; }
}
.portrait-hoehe {
    position: absolute;
    top: .8rem;
    left: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2em .55em .24em;
    border-radius: 3px;
    background: var(--schwarz);
    color: var(--stein);
    font-family: var(--display);
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.portrait-hoehe svg { width: .7rem; fill: currentColor; }
.portrait figcaption { max-width: 36ch; margin-top: 1rem; color: var(--leise); font-size: 1rem; line-height: 1.5; }
.portrait-titel {
    display: block;
    margin-bottom: .2rem;
    color: var(--tinte);
    font-family: var(--display);
    font-size: 1.0625rem;
    font-weight: 700;
    font-stretch: 85%;
}
.portrait figcaption a { color: var(--tinte); text-underline-offset: .2em; }

.marken {
    --luecke: clamp(2rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem var(--luecke);
    max-width: 76rem;
    margin: clamp(4rem, 8vw, 7rem) 0 0;
    padding: 0;
    list-style: none;
}

/* Bergsilhouetten: reichen bis in den Spaltenabstand, damit sich die drei
   Berge nebeneinander zu einem Panorama verbinden */
.berg {
    display: block;
    width: calc(100% + var(--luecke) + 2px); /* 2px Überlappung gegen Haarlinien an den Nähten */
    max-width: none;
    height: clamp(6rem, 10vw, 9rem);
}
.marke:last-child .berg { width: 100%; }
.berg-fern { fill: var(--nebel); --s: 0; }
.berg-hinten { fill: var(--geroell); --s: 1; }
.berg-vorne { fill: var(--schwarz); --s: 2; }
/* Schnee hat die Farbe des Himmels – die Kontur entlang des Grats hält den Gipfel sichtbar */
.berg-schnee { fill: var(--stein); stroke: var(--schwarz); stroke-width: 1.4px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Beim Hineinscrollen steigen die Ketten gestaffelt auf */
.js .berg-fern, .js .berg-hinten, .js .berg-vorne {
    transform: translateY(100%);
    transform-box: view-box;
    transition: transform 1.3s var(--federnd);
    transition-delay: calc(var(--nr) * 160ms + var(--s) * 120ms);
}
.js .marken.ist-sichtbar .berg-fern,
.js .marken.ist-sichtbar .berg-hinten,
.js .marken.ist-sichtbar .berg-vorne { transform: none; }

.marke h3 {
    margin: 1.35rem 0 .45rem;
    font-family: var(--display);
    font-size: 1.375rem;
    font-weight: 700;
    font-stretch: 80%;
    line-height: 1.1;
}
.marke p { margin: 0; max-width: 32ch; color: var(--leise); font-size: 1.0625rem; }

/* Leistungen ------------------------------------------------------------- */

.leistungen { padding: var(--abschnitt) var(--rechts) var(--abschnitt) var(--rand); }

.leistungen-feld { position: relative; min-height: 30rem; }

.leistungen-liste {
    width: 52%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--linie);
}
.leistung { border-bottom: 1px solid var(--linie); }
.leistung-h { margin: 0; font: inherit; }

.leistung-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 0 1.05rem;
    border: 0;
    background: none;
    color: var(--leise);
    font-family: var(--display);
    font-size: clamp(1.9rem, 3.6vw, 3.25rem);
    font-weight: 700;
    font-stretch: 70%;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    transition: color .3s, font-stretch .6s var(--federnd);
}
.leistung-kopf::after {
    content: "";
    flex: none;
    width: .34em;
    height: .34em;
    border: 2px solid currentColor;
    border-radius: 50%;
    transition: background .3s;
}
.leistung:hover .leistung-kopf,
.ist-aktiv .leistung-kopf { color: var(--tinte); }
.ist-aktiv .leistung-kopf { font-stretch: 112%; }
.ist-aktiv .leistung-kopf::after { background: currentColor; }

.leistung-text {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .55s var(--federnd);
}
.js .leistung-text { grid-template-rows: 0fr; }
.js .ist-aktiv .leistung-text { grid-template-rows: 1fr; }
.leistung-text > div { overflow: hidden; }
.leistung-text p { max-width: 40ch; margin: 0 0 1rem; color: var(--leise); }

.leistung-anfrage {
    display: inline-block;
    margin-bottom: 1.6rem;
    color: var(--tinte);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .28em;
}

.leistung-bild { display: none; }
.js .leistung-bild {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.98);
    transition: opacity .35s, transform .5s var(--federnd), visibility 0s .5s;
}
.js .ist-aktiv .leistung-bild {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .45s .08s, transform .7s .08s var(--federnd), visibility 0s;
}

/* Bühnen der Leistungen */
.vis {
    display: flex;
    flex-direction: column;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border: 1px solid #3A3A37;
    border-radius: 12px;
    background: var(--schwarz);
    color: var(--stein);
}
.vis-leiste {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    height: 2.4rem;
    border-bottom: 1px solid var(--grat);
    font-family: var(--display);
    font-size: .75rem;
    color: var(--schiefer);
}
.vis-leiste span {
    display: inline-flex;
    align-items: center;
    padding: .12em 1.4em .16em;
    border: 1px solid var(--grat);
    border-radius: 99px;
}
.vis-flaeche { position: relative; flex: 1; margin: 0; padding: 1.25rem; }

/* Raster */
.vis-raster .vis-flaeche { margin: 1.25rem; padding: 0; }
.vis-raster i {
    position: absolute;
    border: 1.5px solid var(--stein);
    border-radius: 4px;
    background:
        linear-gradient(var(--fels), var(--fels)) 10px 12px / 46% 3px no-repeat,
        linear-gradient(var(--grat), var(--grat)) 10px 21px / 30% 3px no-repeat;
    transition: left .9s cubic-bezier(.7, 0, .2, 1), top .9s cubic-bezier(.7, 0, .2, 1),
                width .9s cubic-bezier(.7, 0, .2, 1), height .9s cubic-bezier(.7, 0, .2, 1);
}
.vis-raster i:nth-child(1) { background: var(--stein); }
.vis-raster i:nth-child(2) { background: repeating-linear-gradient(135deg, var(--schiefer) 0 1px, transparent 1px 7px); }

/* Code */
.vis-code .vis-flaeche {
    overflow: hidden;
    font-family: var(--code);
    font-size: clamp(.7rem, .95vw, .875rem);
    line-height: 1.75;
    white-space: pre-wrap;
}
.vis-code .php { color: var(--schiefer); }
.vis-code .kommentar { color: var(--fels); font-style: italic; }
.schreibmarke {
    display: inline-block;
    width: .55em;
    height: 1.1em;
    background: var(--stein);
    vertical-align: text-bottom;
    animation: blinken 1s steps(1) infinite;
}
@keyframes blinken { 50% { opacity: 0; } }

/* Relaunch: vorher / nachher */
@property --teil {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 50%;
}
/* Position setzt script.js (Automatik, Maus, Finger). Waagrecht wischen schiebt, senkrecht scrollt. */
.vis-relaunch .vis-flaeche {
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.rl-alt {
    position: absolute;
    inset: 0;
    padding: .9rem;
    background: var(--nebel) repeating-conic-gradient(#BDBDB8 0 25%, transparent 0 50%) 0 0 / 14px 14px;
    color: var(--schwarz);
    font-family: "Times New Roman", Times, serif;
    text-align: center;
}
.rl-alt p { margin: 0; }
.rl-alt-titel {
    font-size: clamp(.85rem, 1.25vw, 1.1rem);
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
    text-shadow: 2px 2px 0 var(--geroell);
}
.rl-alt-menue { margin: .5rem 0 !important; font-size: .75rem; }
.rl-alt-box {
    display: grid;
    place-items: center;
    width: 72%;
    height: 40%;
    margin: .5rem auto;
    border: 4px ridge var(--geroell);
    background: var(--geroell);
    font-size: .75rem;
}
.rl-alt-zaehler {
    display: inline-block;
    padding: 1px 6px;
    background: var(--schwarz);
    color: var(--stein);
    font-family: "Courier New", monospace;
    font-size: .6875rem;
}
.rl-neu {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    background: var(--schwarz);
    clip-path: inset(0 0 0 var(--teil));
}
.rl-neu-titel {
    margin: 0 0 .9rem;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    font-stretch: 62%;
    line-height: .9;
}
.rl-neu-bild {
    position: relative;
    height: 36%;
    overflow: hidden;
    border-radius: 6px;
    background: var(--stein);
}
.rl-neu-bild::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: var(--schwarz);
    clip-path: polygon(0 100%, 0 62%, 16% 24%, 28% 46%, 47% 0, 64% 52%, 79% 30%, 100% 68%, 100% 100%);
}
.rl-neu-zeilen i {
    display: block;
    width: 80%;
    height: 5px;
    margin-top: 9px;
    border-radius: 3px;
    background: var(--fels);
}
.rl-neu-zeilen i:nth-child(2) { width: 64%; }
.rl-neu-zeilen i:nth-child(3) { width: 72%; }
.rl-neu-knopf {
    display: block;
    width: 5.5rem;
    height: 1.5rem;
    margin-top: 14px;
    border-radius: 99px;
    background: var(--stein);
}
.rl-teiler {
    position: absolute;
    top: 0; bottom: 0;
    left: var(--teil);
    width: 2px;
    background: var(--stein);
    transform: translateX(-1px);
}
.rl-teiler::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 1.5rem; height: 1.5rem;
    border: 2px solid var(--stein);
    border-radius: 50%;
    background: var(--schwarz);
    transform: translate(-50%, -50%);
}
.rl-marke {
    position: absolute;
    bottom: .6rem;
    padding: .1rem .55rem .14rem;
    border-radius: 99px;
    font-family: var(--display);
    font-size: .75rem;
    font-weight: 600;
}
.rl-marke-alt { left: .6rem; background: var(--schwarz); color: var(--stein); }
.rl-marke-neu { right: .6rem; background: var(--stein); color: var(--schwarz); }
.vis-relaunch { cursor: ew-resize; }

/* Sichtbarkeit */
.seo-suche::before {
    content: "";
    width: .6em; height: .6em;
    margin-right: .55em;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}
.seo-liste { margin: 0; padding: 0; list-style: none; }
.seo-liste li {
    position: absolute;
    left: 1.25rem; right: 1.25rem;
    top: calc(1rem + var(--platz, 0) * ((100% - 2rem) / 5));
    height: calc((100% - 2rem) / 5 - 8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 .9rem;
    border: 1px solid var(--grat);
    border-radius: 8px;
    transition: top .75s cubic-bezier(.7, 0, .2, 1);
}
.seo-liste b { display: block; width: 42%; height: 7px; border-radius: 3px; background: var(--fels); }
.seo-liste i { display: block; width: 86%; height: 4px; border-radius: 2px; background: var(--grat); }
.seo-liste i + i { width: 58%; }
.seo-liste .seo-ihre { z-index: 1; border-color: var(--stein); background: var(--stein); }
.seo-ihre b {
    width: auto;
    height: auto;
    background: none;
    color: var(--schwarz);
    font-family: var(--display);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1;
}
.seo-ihre i { background: var(--schiefer); }

/* Betreuung */
.vis-puls .vis-flaeche { display: flex; flex-direction: column; gap: 1.1rem; }
.puls-rahmen {
    position: relative;
    height: 42%;
    overflow: hidden;
    border-bottom: 1px solid var(--grat);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.puls-kurve { position: absolute; top: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.puls-kurve path {
    fill: none;
    stroke: var(--stein);
    stroke-width: 2;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.ist-aktiv .puls-kurve { animation: puls 3.2s linear infinite; }
@keyframes puls { to { transform: translateX(-50%); } }

.puls-liste {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--display);
    font-size: .9375rem;
}
.puls-liste li { display: flex; align-items: center; gap: .65rem; color: var(--schiefer); }
.puls-liste li::before {
    content: "";
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.ist-aktiv .puls-liste li { animation: erledigt 6s infinite; }
.ist-aktiv .puls-liste li::before { animation: erledigt-kreis 6s infinite; }
.puls-liste li:nth-child(2), .puls-liste li:nth-child(2)::before { animation-delay: .7s !important; }
.puls-liste li:nth-child(3), .puls-liste li:nth-child(3)::before { animation-delay: 1.4s !important; }
.puls-liste li:nth-child(4), .puls-liste li:nth-child(4)::before { animation-delay: 2.1s !important; }
@keyframes erledigt { 0%, 6% { color: var(--schiefer); } 10%, 82% { color: var(--stein); } 90%, 100% { color: var(--schiefer); } }
@keyframes erledigt-kreis { 0%, 6% { background-color: transparent; } 10%, 82% { background-color: var(--stein); } 90%, 100% { background-color: transparent; } }

/* Arbeiten --------------------------------------------------------------- */

.arbeiten { padding: var(--abschnitt) var(--rechts) var(--abschnitt) var(--rand); }

.projekte { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.projekt { border-bottom: 1px solid var(--linie); transition: opacity .35s; }

.projekt-zeile {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(1.25rem, 2.4vw, 2rem) 0;
    color: inherit;
    text-decoration: none;
}

/* Logo: immer sichtbar, Kachel übernimmt die Grundfarbe des Logos */
.projekt-logo {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--logo-grund, var(--stein));
    color: var(--schwarz);
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
}
.projekt-logo img { width: 94%; height: 94%; object-fit: contain; }

.projekt-titel {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.1vw, 2.9rem);
    font-weight: 700;
    font-stretch: 72%;
    line-height: 1;
    text-wrap: balance;
    transition: font-stretch .6s var(--federnd);
}
.projekt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.5rem;
    margin-top: .65rem;
    color: var(--leise);
    font-family: var(--display);
    font-size: .9375rem;
    font-stretch: 88%;
}

.projekt-rand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .55rem;
    font-family: var(--display);
    font-size: .9375rem;
    white-space: nowrap;
}
.projekt-jahr { color: var(--leise); font-stretch: 88%; }
.projekt-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .8rem .32rem;
    border: 1px solid var(--linie);
    border-radius: 99px;
    font-weight: 600;
    transition: background .25s, color .25s, border-color .25s;
}
.projekt-status svg { width: .7rem; height: .7rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.projekt-status.ist-offline { border-style: dashed; color: var(--leise); font-weight: 500; }
a.projekt-zeile:hover .projekt-status,
a.projekt-zeile:focus-visible .projekt-status { border-color: var(--tinte); background: var(--tinte); color: var(--papier); }

@media (hover: hover) and (pointer: fine) {
    .projekte:hover .projekt { opacity: .45; }
    .projekte:hover .projekt:hover { opacity: 1; }
    .projekt:hover .projekt-titel { font-stretch: 84%; }
}

/* Screenshot: eigener Platz, schwebt am Desktop neben dem Zeiger */
.projekt-vorschau { display: none; }
.vorschau-rahmen {
    overflow: hidden;
    border: 1px solid #3A3A37;
    border-radius: 10px;
    background: var(--schwarz);
}
.vorschau-leiste {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.9rem;
    border-bottom: 1px solid var(--grat);
    color: var(--schiefer);
    font-family: var(--display);
    font-size: .6875rem;
}
.vorschau-leiste span { padding: .08em 1.2em .12em; border: 1px solid var(--grat); border-radius: 99px; }
.vorschau-rahmen img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }

.schwebe {
    position: fixed;
    left: 0; top: 0;
    z-index: 30;
    width: clamp(15rem, 21vw, 20rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.schwebe.ist-sichtbar { opacity: 1; }

/* Ablauf (Serpentinen) --------------------------------------------------- */

.aufstieg { padding: var(--abschnitt) var(--rechts) clamp(5rem, 10vw, 8rem) var(--rand); }

.pfad { position: relative; }
.pfad-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
    pointer-events: none;
}
.pfad-spur {
    fill: none;
    stroke: var(--schwarz);
    stroke-opacity: .3;
    stroke-width: 2;
    stroke-dasharray: 1 8;
    stroke-linecap: round;
}
.pfad-linie { fill: none; stroke: var(--schwarz); stroke-width: 3; stroke-linecap: round; }

.etappen {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.etappe { position: relative; width: 42%; }
.etappe + .etappe { margin-top: clamp(-2.5rem, -2vw, -1rem); }
.etappe:nth-child(odd) { padding-right: 5rem; }
.etappe:nth-child(even) { margin-left: 58%; padding-left: 5rem; }

.etappe-punkt {
    position: absolute;
    top: -.2rem;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--schwarz);
    border-radius: 50%;
    background: var(--stein);
    font-family: var(--display);
    font-size: 1.125rem;
    font-weight: 800;
    transition: background .35s, color .35s, transform .6s cubic-bezier(.3, 1.7, .5, 1);
}
.etappe:nth-child(odd) .etappe-punkt { right: 0; }
.etappe:nth-child(even) .etappe-punkt { left: 0; }
.etappe.ist-erreicht .etappe-punkt { background: var(--schwarz); color: var(--stein); transform: scale(1.1); }

.etappe h3 {
    margin: .2rem 0 .5rem;
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 700;
    font-stretch: 80%;
    line-height: 1.05;
}
.etappe p { max-width: 36ch; margin: 0 0 clamp(4rem, 8vw, 6rem); color: var(--leise); font-size: 1.0625rem; }

/* Preise ----------------------------------------------------------------- */

.preise {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem 5rem;
    align-items: center;
    padding: var(--abschnitt) var(--rechts) clamp(4rem, 8vw, 6rem) var(--rand);
}
.preise .titel { max-width: 11ch; margin-bottom: 1.75rem; }
.preise-antwort {
    margin: 0 0 1.5rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.15;
}
.preise-text p:not(.preise-antwort) { max-width: 42ch; margin: 0 0 1rem; }
.preise-text .preise-leise { color: var(--leise); font-size: 1.0625rem; }

.wegweiser {
    position: relative;
    display: block;
    width: min(100%, 25rem);
    height: 29rem;
    margin: 0 auto;
    color: var(--stein);
    font-family: var(--display);
    text-decoration: none;
}
.wegweiser::after { /* Boden */
    content: "";
    position: absolute;
    left: -.5rem; right: 45%;
    bottom: 0;
    height: 2px;
    background: var(--schwarz);
}
.ww-pfosten {
    position: absolute;
    left: 2.2rem;
    top: 0; bottom: 0;
    width: .8rem;
    border-radius: 3px 3px 0 0;
    background: var(--schwarz);
}
.ww-standort, .ww-schild { position: absolute; left: 0; z-index: 1; background: var(--schwarz); }
.ww-standort {
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    width: 13.5rem;
    padding: .6rem .85rem .65rem;
    border-radius: 4px;
    box-shadow: inset 0 0 0 3px var(--schwarz), inset 0 0 0 4.5px var(--stein);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
}
.ww-standort > span:last-child { font-variant-numeric: tabular-nums; color: var(--schiefer); }
.ww-schild {
    top: 6.5rem;
    display: grid;
    gap: .45rem;
    width: 100%;
    padding: 1rem 3.6rem 1rem 1.2rem;
    clip-path: polygon(0 0, calc(100% - 2.6rem) 0, 100% 50%, calc(100% - 2.6rem) 100%, 0 100%);
    transform-origin: 2.6rem 50%;
    transition: transform .9s cubic-bezier(.3, 1.9, .4, 1);
}
.ww-zeile {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    font-weight: 700;
    font-stretch: 85%;
}
.ww-zeile span:last-child { font-weight: 500; white-space: nowrap; }
.wegweiser:hover .ww-schild,
.wegweiser:focus-visible .ww-schild { transform: rotate(-4deg); }
.wegweiser:focus-visible { outline-offset: 10px; }

/* Panorama --------------------------------------------------------------- */

.panorama {
    position: relative;
    height: clamp(16rem, 38vw, 32rem);
    overflow: hidden;
    margin-bottom: -1px;
    background: var(--stein);
}
.panorama-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}
.ebene-1 { fill: var(--nebel); }
.ebene-2 { fill: var(--geroell); }
.ebene-3 { fill: var(--fels); }
.ebene-4 { fill: var(--schwarz); }
.panorama-text {
    position: absolute;
    top: clamp(1.5rem, 5vw, 4.5rem);
    left: var(--rand);
    z-index: 1;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    font-stretch: 62%;
    line-height: 1;
}

/* Gipfelbuch (Kontakt) --------------------------------------------------- */

.gipfelbuch {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) var(--rechts) var(--abschnitt) var(--rand);
}
.sterne { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.gipfel-kopf, .buch { position: relative; }

.gipfel-marke {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.1rem;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
}
.gipfel-marke svg { width: 1.1rem; fill: currentColor; }
.gipfelbuch .titel { margin-bottom: 1.25rem; }
.gipfel-intro { max-width: 36ch; margin: 0 0 clamp(2.5rem, 5vw, 4rem); color: var(--leise); font-size: 1.375rem; }

.buch { max-width: 60rem; }
.buch-satz {
    margin: 0 0 2.25rem;
    font-size: clamp(1.45rem, 2.7vw, 2.35rem);
    line-height: 1.8;
    text-wrap: pretty;
}

.feld { position: relative; display: inline-block; max-width: 100%; }
.feld input, .feld select {
    max-width: 100%;
    min-width: 3ch;
    margin: 0;
    padding: 0 .15em;
    border: 0;
    border-bottom: 2px dashed var(--fels);
    border-radius: 0;
    background: transparent;
    color: var(--tinte);
    font: inherit;
    font-style: italic;
    line-height: 1.25;
    transition: border-color .25s, background-color .25s;
}
@supports (field-sizing: content) {
    .feld input, .feld select { field-sizing: content; }
}
.feld input::placeholder { color: #7C7C77; opacity: 1; }
.feld input:focus, .feld select:focus {
    outline: none;
    border-bottom: 2px solid var(--stein);
    background-color: rgba(226, 226, 221, .08);
}
.feld select {
    padding-right: 1.1em;
    appearance: none;
    -webkit-appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23E2E2DD' stroke-width='1.6'/%3E%3C/svg%3E") right .1em center / .5em no-repeat;
    cursor: pointer;
}
.feld select option { background: var(--stein); color: var(--schwarz); font-style: normal; }

[data-fehler] input, [data-fehler] select, [data-fehler] textarea { border-bottom-style: solid; border-bottom-color: var(--stein); }
.feld[data-fehler]::after, .buch-check[data-fehler] input::after {
    content: "!";
    position: absolute;
    top: -.15em;
    right: -.6em;
    display: grid;
    place-items: center;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: var(--stein);
    color: var(--schwarz);
    font-family: var(--display);
    font-size: .5em;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.buch-nachricht { display: block; margin-bottom: 1.75rem; }
.buch-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--leise);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 600;
}
.buch-nachricht textarea {
    display: block;
    width: 100%;
    min-height: 9rem;
    padding: 0 .25rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(transparent calc(2.25rem - 1px), var(--grat) calc(2.25rem - 1px)) 0 0 / 100% 2.25rem local;
    color: var(--tinte);
    font-family: var(--text);
    font-size: 1.25rem;
    line-height: 2.25rem;
    resize: vertical;
}
.buch-nachricht textarea::placeholder { color: #7C7C77; opacity: 1; }
.buch-nachricht textarea:focus { outline: none; background-color: rgba(226, 226, 221, .05); }
.buch-nachricht textarea:focus-visible { outline: 2px solid var(--stein); outline-offset: 6px; }
.buch-nachricht[data-fehler] textarea { box-shadow: 0 2px 0 var(--stein); }

.buch-check {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    max-width: 46rem;
    margin-bottom: 2.25rem;
    color: var(--leise);
    font-size: 1rem;
    cursor: pointer;
}
.buch-check input {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin: .12rem 0 0;
    border: 1.5px solid var(--stein);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.buch-check input:checked {
    background: var(--stein) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.buch-check[data-fehler] input::after { font-size: .8rem; top: -.55rem; right: -.65rem; }
.buch-check a, .buch-direkt a, .buch-status a { color: var(--tinte); text-underline-offset: .2em; }

.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.buch-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.buch-senden {
    padding: 1rem 1.8rem 1.05rem;
    border: 0;
    border-radius: 99px;
    background: var(--stein);
    color: var(--schwarz);
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 700;
    font-stretch: 85%;
    cursor: pointer;
    transition: font-stretch .5s var(--federnd), transform .2s;
}
.buch-senden:hover { font-stretch: 118%; }
.buch-senden:active { transform: scale(.97); }
.buch-senden[disabled] { opacity: .6; cursor: progress; }
.buch-direkt { margin: 0; color: var(--leise); font-size: 1rem; }

.buch-status { margin-top: 1.75rem; font-size: 1.0625rem; }
.buch-status:empty { margin: 0; }
.buch-status p { margin: 0; max-width: 52ch; }
.buch-fehler { margin: 0; padding-left: 1.1rem; }
.buch-fehler li + li { margin-top: .25rem; }

.buch.ist-eingetragen > :not(.buch-status) { display: none; }
.buch.ist-eingetragen .buch-status { margin-top: 0; }
.danke-titel {
    margin: 0 0 1rem !important;
    font-family: var(--display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: .9;
    animation: aufrichten-block 1.2s var(--federnd) backwards;
}
.buch-danke p:not(.danke-titel) { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.buch-danke .danke-test { margin-top: 1.25rem; color: var(--leise); font-size: 1rem !important; font-style: italic; }
@keyframes aufrichten-block {
    from { opacity: 0; font-stretch: 50%; }
    to { opacity: 1; font-stretch: 100%; }
}

/* Fuß -------------------------------------------------------------------- */

.fuss {
    padding: clamp(3rem, 6vw, 4.5rem) var(--rechts) 1.75rem var(--rand);
    border-top: 1px solid var(--grat);
}
.fuss-reihe {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: start;
}
.fuss-logo { width: 8.5rem; height: auto; border-radius: 10px; }
.fuss-zeit { max-width: 17ch; margin: 0; color: var(--leise); font-size: 1rem; }
.ortszeit { color: var(--tinte); font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.fuss-links { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.fuss-links a {
    color: var(--tinte);
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .35s var(--federnd);
}
.fuss-links a:hover { background-size: 100% 1px; }

.abfahrt {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.1rem .64rem;
    border: 1.5px solid currentColor;
    border-radius: 99px;
    background: none;
    color: var(--tinte);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s, color .25s;
}
.abfahrt:hover { background: var(--tinte); color: var(--papier); }
.abfahrt svg { width: 1.7rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fuss-klein { margin: 3rem 0 0; color: var(--leise); font-size: .875rem; }

/* Impressum -------------------------------------------------------------- */

.recht-kopf {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 46vh;
    padding: 4rem var(--rechts) 3rem var(--rand);
    overflow: hidden;
}
.recht-kopf .titel { position: relative; margin: 0; }
.recht-kopf .topo {
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
}

.recht { padding: clamp(2rem, 5vw, 4rem) var(--rechts) clamp(5rem, 10vw, 8rem) var(--rand); }
.recht-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 1rem 4rem;
    padding: 2.5rem 0;
    border-top: 1.5px solid var(--schwarz);
}
.recht-block h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 800;
    font-stretch: 70%;
    line-height: 1.1;
}
.recht-block h3 { margin: 1.75rem 0 .4rem; font-family: var(--display); font-size: 1.125rem; font-weight: 700; }
.recht-block h3:first-child { margin-top: 0; }
.recht p { max-width: 62ch; margin: 0 0 1rem; }
.recht a { color: inherit; text-underline-offset: .2em; }
.recht-leise { color: var(--leise); }
.recht-liste {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: .9rem 2rem;
    margin: 1.5rem 0 0;
}
.recht-liste dt { padding-top: .15em; font-family: var(--display); font-size: 1rem; font-weight: 600; }
.recht-liste dd { margin: 0; }

/* Anpassungen ------------------------------------------------------------ */

@media (min-width: 1000px) {
    /* --rechts neu berechnen, sonst bleibt der Wert von :root (ohne Höhenmesser) stehen */
    .seite-start { --rail: 4.75rem; --rechts: calc(var(--rand) + var(--rail)); }
    .kopf-hoehe { display: none; }
}

@media (max-width: 999px) {
    .hoehenmesser { display: none; }
    .leistungen-liste { width: 54%; }
    .js .leistung-bild { width: 40%; }
    .projekt-zeile { grid-template-columns: 4.75rem minmax(0, 1fr) auto; }
    .fuss-reihe { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 1.125rem; }
    :root { --kopf-h: 7.25rem; --kopf-kompakt: 4.25rem; }
    .kopf-cta { font-size: .875rem; }

    .name { font-size: 22vw; }
    .tal-fuss { grid-template-columns: 1fr; }
    .ueber-kopf { grid-template-columns: 1fr; }
    .portrait { justify-self: start; max-width: 26rem; }
    .marken { grid-template-columns: 1fr; }
    .berg, .marke:last-child .berg { width: 100%; height: 6.5rem; }

    .leistungen-feld { min-height: 0; }
    .leistungen-liste { width: 100%; }
    .js .leistung-bild {
        position: static;
        display: none;
        width: 100%;
        margin-bottom: 1.5rem;
        transform: none;
    }
    .js .ist-aktiv .leistung-bild { display: block; }
    .ist-aktiv .leistung-kopf { font-stretch: 100%; }


    .projekt-zeile { grid-template-columns: 4rem minmax(0, 1fr); align-items: start; }
    .projekt-rand {
        grid-column: 2;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: .5rem 1rem;
    }

    .etappe, .etappe:nth-child(even), .etappe:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 0 4.25rem;
    }
    .etappe + .etappe { margin-top: 0; }
    .etappe:nth-child(odd) .etappe-punkt { right: auto; left: 0; }
    .etappe p { margin-bottom: 3rem; }

    .preise { grid-template-columns: 1fr; }
    .wegweiser { height: 18rem; margin: 0; }

    .buch-satz { line-height: 1.9; }

    .fuss-reihe { grid-template-columns: 1fr; }
    .recht-block, .recht-liste { grid-template-columns: 1fr; }
    .recht-liste { gap: .2rem; }
    .recht-liste dd { margin-bottom: 1rem; }
}

@media (hover: none), (max-width: 760px) {
    .projekt-vorschau { display: block; margin: 0 0 1.5rem; }
    .schwebe { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}
