/* =============================================================
   Säulinghaus – Willkommensseite
   Eigenständiges Stylesheet, angelehnt an das Design der
   Widdersteinhütte. Überschriften: Dancing Script.
   Fließtext: Inter.
   WICHTIG – Größen-Korrektur:
   Auf der alten Seite waren die Überschriften teilweise KLEINER
   als der Fließtext. Hier ist das sauber gelöst: jede Überschrift
   (h1–h6) ist über feste, responsive Größen IMMER deutlich größer
   als der Fließtext (siehe Abschnitt "TYPOGRAFIE").
   ============================================================= */
:root {
    --cream:      #efe9db;   /* Seitenhintergrund, warm */
    --paper:      #f6f1e7;   /* Karten / helle Flächen */
    --ink:        #2c2a25;   /* Haupttextfarbe */
    --muted:      #6d685d;   /* Sekundärtext */
    --terra:      #b0563d;   /* Akzent (Terrakotta/Koralle) */
    --terra-dark: #8d4330;   /* Akzent dunkel */
    --olive:      #7d7a56;   /* zweiter, ruhiger Akzent */
    --line:       rgba(44, 42, 37, 0.14);
    --shadow:     0 24px 60px -30px rgba(44, 42, 37, 0.45);
    --radius:     14px;
    --wrap:       1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.075rem;          /* ~17px Basis-Fließtext */
    line-height: 1.78;
    font-weight: 400;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--terra); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terra-dark); }
img { max-width: 100%; display: block; }
/* =============================================================
   TYPOGRAFIE – hier wird der Größenfehler behoben
   Reihenfolge der Größen (immer > Fließtext 1.075rem):
   h1  ~ 3.5–8rem   |  h2 ~ 2.75–4.5rem  |  h3 ~ 1.9–2.4rem
   h4 ~ 1.7rem      |  h5 ~ 1.5rem        |  h6 ~ 1.35rem
   ============================================================= */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    line-height: 1.06;
    margin: 0 0 0.4em;
    color: var(--ink);
    text-transform: none;         /* Script niemals in Versalien */
    letter-spacing: 0;
}
h1, .h1 { font-size: clamp(3.4rem, 8.5vw, 7.5rem); line-height: 0.98; }
h2, .h2 { font-size: clamp(2.7rem, 5.2vw, 4.4rem); }
h3, .h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
h4, .h4 { font-size: clamp(1.7rem, 2.4vw, 2rem); }
h5, .h5 { font-size: 1.55rem; }
h6, .h6 { font-size: 1.35rem; }
/* Kleiner, gesperrter Sans-Serif-Reiter über den Überschriften */
.eyebrow {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--terra);
    margin: 0 0 1.1rem;
    display: inline-block;
}
.lead {
    font-size: 1.22rem;
    line-height: 1.7;
    color: var(--ink);
}
/* =============================================================
   LAYOUT-HILFEN
   ============================================================= */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.section { padding: 108px 0; position: relative; }
.section--tight { padding: 84px 0; }
.section-head { max-width: 760px; margin: 0 auto 62px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
/* Dekorative kleine Bergraute als Trenner */
.divider {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; margin: 0 0 22px; color: var(--terra);
}
.divider::before, .divider::after {
    content: ""; height: 1px; width: 54px; background: var(--line);
}
.divider svg { width: 22px; height: 22px; }
.section-head .divider { margin-bottom: 22px; }
/* Buttons (falls benötigt) */
.btn-terra {
    display: inline-block;
    background: var(--terra);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    transition: background .25s ease, transform .25s ease;
}
.btn-terra:hover { background: var(--terra-dark); color: #fff; transform: translateY(-2px); }
/* =============================================================
   HEADER / NAVIGATION
   ============================================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 34px;
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
    background: rgba(246, 241, 231, 0.96);
    box-shadow: 0 8px 30px -18px rgba(44,42,37,.5);
    padding: 12px 34px;
    backdrop-filter: blur(6px);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    transition: color .35s ease;
}
.brand .brand-sub {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-top: 4px;
    transition: color .35s ease;
}
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    transition: color .25s ease;
}
.nav-links a:hover { color: var(--terra); }
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-links a:hover { color: var(--terra); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; width: 44px; height: 44px;
}
.nav-toggle span {
    display: block; height: 2px; width: 26px; background: #fff; margin: 5px 0;
    transition: background .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
/* =============================================================
   HERO
   ============================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: #fff;
    padding: 120px 24px 140px;
    background-color: #3a3f42; /* Fallback falls Bild nicht lädt */
    overflow: hidden;
}
/* Hero-Hintergrundbild (Bild-Link steht im HTML: <img alt="Säulinghaus – Bildergalerie 1" class="hero-bg" ...>) */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
/* Dunkles Overlay über dem Bild für gute Textlesbarkeit */
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(30,28,24,.55) 0%, rgba(30,28,24,.25) 40%, rgba(30,28,24,.7) 100%);
}
.hero-inner { max-width: 900px; position: relative; z-index: 2; }
.hero-mark { position: relative; z-index: 2; width: 66px; height: auto; margin: 0 auto 26px; opacity: .95; }
.hero-title {
    color: #fff;
    margin: 0 0 24px;
    text-shadow: 3px 4px 18px rgba(0,0,0,.45);
}
.hero-sub {
    font-size: 1.28rem;
    line-height: 1.62;
    max-width: 660px;
    margin: 0 auto;
    color: rgba(255,255,255,.95);
    text-shadow: 1px 2px 10px rgba(0,0,0,.4);
    font-weight: 300;
}
/* Rundes Höhen-Siegel */
.hero-badge {
    position: absolute;
    right: 6%;
    bottom: 8%;
    width: 148px; height: 148px;
    z-index: 3;
}
.hero-badge .badge-ring { animation: badge-spin 26s linear infinite; transform-origin: center; }
.hero-badge text { fill: var(--ink); }
.hero-badge .badge-disc { fill: #ece7d7; }
.hero-badge .badge-center {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    font-size: 20px; fill: var(--terra);
}
@keyframes badge-spin { to { transform: rotate(360deg); } }
/* Scroll-Hinweis */
.scroll-cue {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.85);
    font-family: 'Inter', sans-serif; font-size: .66rem;
    letter-spacing: .22em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 42px; background: rgba(255,255,255,.7); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }
/* =============================================================
   ABSCHNITT: HERZLICH WILLKOMMEN (Text + Bild)
   ============================================================= */
.welcome { background: var(--cream); }
.welcome .row { align-items: center; }
.welcome-text .lead { margin-bottom: 1.3rem; }
.welcome-img-wrap { position: relative; }
.welcome-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%; height: 600px;
    object-fit: cover;
}
.welcome-img-wrap .badge-note {
    position: absolute; left: -26px; bottom: -26px;
    background: var(--terra); color: #fff;
    border-radius: var(--radius);
    padding: 20px 26px; box-shadow: var(--shadow);
    max-width: 220px;
}
.welcome-img-wrap .badge-note strong {
    font-family: 'Dancing Script', cursive; font-size: 2.1rem; font-weight: 700;
    display: block; line-height: 1;
}
.welcome-img-wrap .badge-note span {
    font-family: 'Inter', sans-serif; font-size: .72rem; letter-spacing: .16em;
    text-transform: uppercase; opacity: .9;
}
/* =============================================================
   ABSCHNITT: AUF EINEN BLICK (Öffnungszeiten)
   ============================================================= */
.glance { background: var(--ink); color: #f3efe6; }
.glance .eyebrow { color: #e6a68f; }
.glance .section-head h2 { color: #fff; }
.glance .divider::before, .glance .divider::after { background: rgba(255,255,255,.2); }
.info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.info-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 42px 32px; text-align: center;
    transition: transform .3s ease, background .3s ease;
}
.info-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.info-card .ic { color: #e6a68f; margin-bottom: 18px; }
.info-card .ic svg { width: 40px; height: 40px; }
.info-card h3 { color: #fff; margin-bottom: .5rem; }
.info-card .info-line { color: #f3efe6; font-size: 1.06rem; line-height: 1.5; }
.info-card .info-line.big { font-size: 1.25rem; font-weight: 600; color: #fff; margin-top: 4px; }
/* =============================================================
   ABSCHNITT: WANDERROUTEN (Bild-Karten)
   ============================================================= */
.routes { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.route-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 45px -32px rgba(44,42,37,.5);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex; flex-direction: column;
}
.route-card:hover { transform: translateY(-8px); box-shadow: 0 30px 55px -30px rgba(44,42,37,.55); }
.route-card .route-img { height: 230px; overflow: hidden; }
.route-card .route-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.route-card:hover .route-img img { transform: scale(1.06); }
.route-body { padding: 30px 30px 34px; }
.route-body h3 { color: var(--terra-dark); margin-bottom: .55rem; }
.route-body p { color: var(--muted); margin-bottom: 0; font-size: 1.02rem; }
/* =============================================================
   ABSCHNITT: LEBEN AM BERG (Icon-Karten)
   ============================================================= */
.mountain-life { background: var(--cream); }
.life-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.life-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 46px 44px;
    display: flex; gap: 26px; align-items: flex-start;
}
.life-card .ic {
    flex: 0 0 auto;
    width: 66px; height: 66px; border-radius: 50%;
    background: var(--terra);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.life-card .ic svg { width: 32px; height: 32px; }
.life-card h3 { color: var(--ink); margin-bottom: .5rem; }
.life-card p { color: var(--muted); margin-bottom: .9rem; font-size: 1.02rem; }
/* =============================================================
   ABSCHNITT: ABSCHLUSS / EINLADUNG
   ============================================================= */
.invite {
    position: relative; color: #fff; text-align: center;
    padding: 130px 24px;
    background-color: #40453f;
    overflow: hidden;
}
/* Hintergrundbild (Bild-Link steht im HTML: <img alt="Säulinghaus – Bildergalerie 2" class="invite-bg" ...>) */
.invite-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.invite::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: rgba(28,26,22,.62);
}
.invite-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.invite h2 { color: #fff; text-shadow: 2px 3px 14px rgba(0,0,0,.4); margin-bottom: 1rem; }
.invite p { color: rgba(255,255,255,.94); font-size: 1.2rem; line-height: 1.7; }
.invite .signature {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    color: #fff; margin-top: 1.4rem; line-height: 1;
    text-shadow: 2px 3px 14px rgba(0,0,0,.4);
}
/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    background: var(--ink); color: #cfc9bc;
    text-align: center; padding: 58px 24px;
}
.site-footer .brand-name {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    font-size: 2.4rem; color: #fff; display: block; margin-bottom: 6px;
}
.site-footer .foot-sub {
    font-family: 'Inter', sans-serif; text-transform: uppercase;
    letter-spacing: .24em; font-size: .72rem; color: #e6a68f;
    margin-bottom: 20px;
}
.site-footer .foot-copy { font-size: .82rem; color: #8f897c; margin-top: 24px; }
/* =============================================================
   ANIMATION – sanftes Einblenden
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 991px) {
    .info-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .route-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .life-grid { grid-template-columns: 1fr; }
    .welcome .row > div { flex: 0 0 100%; max-width: 100%; }
    .welcome-img { height: auto; aspect-ratio: 16/10; margin-top: 40px; }
    .welcome-img-wrap .badge-note { left: 16px; bottom: -20px; }
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
        flex-direction: column; justify-content: center; gap: 26px;
        background: var(--paper); padding: 40px;
        transform: translateX(100%); transition: transform .35s ease;
        box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { color: var(--ink) !important; font-size: 1rem; }
    .nav-toggle { display: block; z-index: 60; }
    .hero-badge { width: 116px; height: 116px; right: 5%; bottom: 6%; }
}
@media (max-width: 600px) {
    .section { padding: 74px 0; }
    body { font-size: 1.02rem; }
    .hero-sub { font-size: 1.1rem; }
    .life-card { flex-direction: column; padding: 34px 28px; }
    .invite { background-attachment: scroll; padding: 90px 22px; }
    .hero-badge { display: none; }
    .site-header { padding: 16px 20px; }
    .welcome-img-wrap .badge-note { left: 0; }
}
.logo-default img {
max-width: 260px;
    padding: 10px;
}
.gallery .logo-default, .header-sticky .logo-default, .mainMenu-open .logo-default {
filter: none;
}
.header-sticky .logo-default img, .gallery .logo-default img {
height: 73px;
padding: 0;
}

/* =============================================================
   >>> FEHLERKORREKTUREN (nachträglich ergänzt) <<<
   Diese beiden Blöcke stehen bewusst GANZ AM ENDE, damit sie
   die vorhandenen Regeln zuverlässig überschreiben.
   ============================================================= */

/* -------------------------------------------------------------
   FIX 1 – Seitentitel-Überschrift war grün auf grün (unsichtbar).
   Der Titelbalken (z. B. "Bildergalerie") hat einen grünen
   Hintergrund; die Überschrift bekam vom Theme denselben Grünton
   als Textfarbe. Hier auf Weiß gesetzt -> gut lesbar.
   ------------------------------------------------------------- */
.page-title h1,
.page-title .h1 {
    color: #ffffff !important;
}

/* -------------------------------------------------------------
   FIX 2 – Sprach-Flagge saß unter dem Header statt oben rechts
   neben der Weltkugel.
   Ursache: die globale Regel  img { display: block; }  (siehe oben)
   macht auch die kleine Sprach-Flagge zum Block-Element, wodurch
   sie in eine neue Zeile umbricht. Hier wieder inline gestellt,
   damit sie direkt neben dem Globus-Symbol sitzt.
   ------------------------------------------------------------- */
.p-dropdown .langflag {
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 5px;
}