/* ==========================================================
   Lindenhofpark – Stylesheet
   Reines CSS, keine Frameworks. Schriften lokal eingebunden.
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --see: #1f6f78;        /* Bodensee-Türkis */
  --see-dunkel: #134a52;
  --see-hell: #e3f1f0;
  --linde: #2f6b45;      /* Lindengrün */
  --linde-dunkel: #1d4a2e;
  --sand: #f7f2e8;       /* warmer Sand */
  --sand-dunkel: #ece3d1;
  --abend: #e0874a;      /* Abendsonne */
  --text: #1e2a2b;
  --text-leise: #56605f;
  --weiss: #ffffff;
  --radius: 18px;
  --schatten: 0 18px 40px -18px rgba(19, 50, 55, .35);
  --breite: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--see); text-underline-offset: .2em; }
a:hover { color: var(--see-dunkel); }
:focus-visible { outline: 3px solid var(--abend); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  color: var(--linde-dunkel);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--linde); color: #fff; padding: .7em 1.2em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--weiss { background: var(--weiss); }
.section--see { background: var(--see-dunkel); color: #e8f3f2; }
.section--see h2, .section--see h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--see); margin-bottom: 1rem;
}
.section--see .eyebrow { color: #9fd6d2; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.65; color: var(--text-leise); }
.center { text-align: center; }
.schmal { max-width: 46rem; margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 1.1rem 0;
  color: #fff;
}
.site-header.is-solid, .site-header--solid {
  background: rgba(247, 242, 232, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  color: var(--linde-dunkel);
  padding: .6rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: block; color: inherit; width: clamp(170px, 20vw, 230px); }
.logo svg { width: 100%; height: auto; display: block; }
.site-header:not(.is-solid):not(.site-header--solid) .logo { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.nav a {
  display: block; padding: .55em 1em; border-radius: 999px;
  color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background .2s;
}
.nav a:hover { background: rgba(255,255,255,.18); color: inherit; }
.site-header.is-solid .nav a:hover, .site-header--solid .nav a:hover { background: var(--sand-dunkel); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.22); }
.site-header.is-solid .nav a[aria-current="page"], .site-header--solid .nav a[aria-current="page"] { background: var(--linde); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 46px; height: 46px; padding: 11px; border-radius: 50%;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--sand); color: var(--linde-dunkel);
    padding: 6rem 1.5rem 2rem; transform: translateX(100%);
    transition: transform .35s ease; box-shadow: -20px 0 40px rgba(0,0,0,.15);
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.15rem; padding: .8em 1em; }
  .nav a[aria-current="page"] { background: var(--linde); color: #fff; }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-open .nav-toggle { color: var(--linde-dunkel); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; animation: zoom 22s ease-out forwards; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,30,35,.55) 0%, rgba(10,30,35,0) 28%),
    linear-gradient(0deg, rgba(10,30,35,.78) 0%, rgba(10,30,35,.25) 45%, rgba(10,30,35,0) 70%);
}
.hero__inhalt { padding: 0 0 clamp(4rem, 10vh, 7rem); max-width: 50rem; }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: #ffd9b8; }
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 36rem; opacity: .95; }
.hero .eyebrow, .seitenkopf .eyebrow, .cta .eyebrow { color: #bfe7e3; }
.scroll-hinweis {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px;
}
.scroll-hinweis::after {
  content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Seitenkopf der Unterseiten */
.seitenkopf {
  position: relative; min-height: 62svh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden;
}
.seitenkopf .hero__bild img { animation: none; }
.seitenkopf::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,30,35,.75) 0%, rgba(10,30,35,.15) 60%, rgba(10,30,35,.45) 100%);
}
.seitenkopf .hero__inhalt { padding-bottom: clamp(3rem, 7vh, 5rem); }
.seitenkopf h1 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--abend); color: #fff; border: 2px solid var(--abend);
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 24px -10px rgba(224,135,74,.8);
}
.btn:hover { color: #fff; transform: translateY(-2px); background: #d27637; border-color: #d27637; }
.btn--hell { background: transparent; border-color: rgba(255,255,255,.8); box-shadow: none; }
.btn--hell:hover { background: #fff; color: var(--linde-dunkel); border-color: #fff; }
.btn--gruen { background: var(--linde); border-color: var(--linde); box-shadow: 0 10px 24px -12px rgba(47,107,69,.8); }
.btn--gruen:hover { background: var(--linde-dunkel); border-color: var(--linde-dunkel); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.pfeil::after { content: "→"; transition: transform .2s; }
.btn:hover .pfeil::after, a:hover > .pfeil::after { transform: translateX(4px); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bild-stapel { position: relative; padding: 0 0 12% 12%; }
.bild-stapel img { border-radius: var(--radius); box-shadow: var(--schatten); }
.bild-stapel img:first-child { aspect-ratio: 4/5; object-fit: cover; width: 85%; margin-left: auto; }
.bild-stapel img:last-child { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--sand); }
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--sand-dunkel); }
.fakt strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--see); font-weight: 500; line-height: 1.1; }
.fakt span { font-size: .9rem; color: var(--text-leise); }

/* ---------- Karten / Highlights ---------- */
.kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 3rem; }
.kopf h2 { margin: 0; }
.kopf p { max-width: 32rem; margin: 0; color: var(--text-leise); }
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.karte {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  aspect-ratio: 4/5; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--schatten);
}
.karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.karte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,28,32,.85) 0%, rgba(8,28,32,.1) 55%); }
.karte:hover img { transform: scale(1.06); }
.karte__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; }
.karte h3 { color: #fff; margin-bottom: .3em; }
.karte p { margin: 0; font-size: .96rem; opacity: .9; line-height: 1.55; }
.karte:hover { color: #fff; }

/* ---------- Panorama-Band ---------- */
.panorama { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.panorama > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panorama::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,45,52,.85) 0%, rgba(12,45,52,.45) 55%, rgba(12,45,52,.1) 100%); }
.panorama .container { padding: clamp(5rem, 12vw, 9rem) 0; }
.panorama h2 { color: #fff; max-width: 34rem; }
.panorama p { max-width: 32rem; }
.panorama .eyebrow { color: #bfe7e3; }
.gipfel { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: 1rem 2rem; }
.gipfel li { border-left: 2px solid var(--abend); padding-left: 1rem; line-height: 1.35; }
.gipfel strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.gipfel span { font-size: .88rem; opacity: .85; }

/* ---------- Jahreszeiten ---------- */
.jahreszeiten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.jz { background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -20px rgba(0,0,0,.4); }
.jz img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.jz div { padding: 1.3rem 1.4rem 1.5rem; }
.jz h3 { font-size: 1.3rem; margin-bottom: .35em; }
.jz p { margin: 0; font-size: .95rem; color: var(--text-leise); line-height: 1.6; }

/* ---------- Galerie ---------- */
.galerie-teaser { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.galerie-teaser a { border-radius: 14px; overflow: hidden; display: block; position: relative; }
.galerie-teaser a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galerie-teaser img, .galerie a img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.galerie-teaser a:hover img, .galerie a:hover img { transform: scale(1.05); }

.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2.5rem; }
.filter button {
  font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer;
  padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--sand-dunkel);
  background: var(--weiss); color: var(--text); transition: all .2s;
}
.filter button:hover { border-color: var(--linde); }
.filter button[aria-pressed="true"] { background: var(--linde); color: #fff; border-color: var(--linde); }

.galerie { columns: 3 300px; column-gap: 1rem; }
.galerie figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; background: var(--sand-dunkel); }
.galerie figure[hidden] { display: none; }
.galerie a { display: block; overflow: hidden; }
.galerie figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; color: #fff; font-size: .9rem;
  background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.galerie figure:hover figcaption, .galerie figure:focus-within figcaption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 22, .95);
  display: grid; place-items: center; padding: 4rem 4.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 9rem); width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #e6efee; text-align: center; font-size: .98rem; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
  .lightbox { padding: 4rem .8rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* ---------- Abschnitte "Entdecken" ---------- */
.ort { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ort + .ort { margin-top: clamp(4rem, 9vw, 7rem); }
.ort:nth-child(even) .ort__bild { order: 2; }
.ort__bild img { border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.ort__nr { font-family: var(--serif); font-size: 1rem; color: var(--abend); font-weight: 600; letter-spacing: .1em; display: block; margin-bottom: .4rem; }

.zeitleiste { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.zeitleiste li { border-top: 2px solid #5fb3ad; padding-top: 1rem; }
.zeitleiste strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: #fff; }
.zeitleiste span { font-size: .95rem; opacity: .9; }

/* ---------- Besuch ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info { background: var(--weiss); border-radius: var(--radius); padding: 2rem; box-shadow: 0 10px 30px -22px rgba(0,0,0,.45); }
.info h3 { display: flex; align-items: center; gap: .6rem; }
.info svg { width: 28px; height: 28px; flex: none; color: var(--see); }
.info p:last-child, .info ul:last-child { margin-bottom: 0; }
.info ul { padding-left: 1.1rem; margin: 0 0 1em; }
.tipps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 3rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.tipps li { position: relative; padding-left: 2.2rem; }
.tipps li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--see-hell); border: 2px solid var(--see); }
.hinweis { font-size: .9rem; color: var(--text-leise); margin-top: 2rem; }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; text-align: center; isolation: isolate; overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 35, 40, .55); }
.cta .container { padding: clamp(6rem, 14vw, 10rem) 0; }
.cta h2 { color: #fff; }
.cta p { max-width: 36rem; margin-inline: auto; font-size: 1.15rem; }
.cta .btn-reihe { justify-content: center; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding-top: 9rem; }
.rechtstext h1 { font-size: clamp(2rem, 4vw, 3rem); }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.platzhalter { background: #fff4d6; padding: .05em .35em; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--linde-dunkel); color: #d8e6dc; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { color: #fff; width: 200px; margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: #fff; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #d8e6dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-unten { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; opacity: .8; }

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .karten { grid-template-columns: repeat(2, 1fr); }
  .jahreszeiten { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .zeitleiste { grid-template-columns: repeat(2, 1fr); }
  .galerie-teaser { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 760px) {
  .intro-grid, .ort { grid-template-columns: 1fr; }
  .ort:nth-child(even) .ort__bild { order: 0; }
  .karten, .jahreszeiten, .info-grid, .tipps { grid-template-columns: 1fr; }
  .karte { aspect-ratio: 4/3.4; }
  .footer-grid { grid-template-columns: 1fr; }
  .gipfel { grid-template-columns: 1fr 1fr; }
  .fakten { grid-template-columns: repeat(3, 1fr); }
  .panorama::after { background: rgba(12,45,52,.6); }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .galerie-teaser { grid-auto-rows: 140px; }
  .fakten { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
}
@media print {
  .site-header, .scroll-hinweis, .lightbox, .filter { display: none !important; }
  .hero, .seitenkopf { min-height: auto; color: #000; }
}

/* Mobile: mehr Kontrast im Hero */
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(10,30,35,.88) 0%, rgba(10,30,35,.55) 50%, rgba(10,30,35,.25) 100%); }
  .hero__bild img { object-position: 65% center; }
  .hero .btn-reihe .btn { justify-content: center; }
}
