/* ============================================================
   Secklehner – Design-Tokens
   Palette: Tannengrün, warmes Sand/Papier, Kupfer- & Goldakzent
   Typo: Fraunces (Display) + Work Sans (Text) + IBM Plex Mono (Daten)
   Signatur: "Reiseplakette" (Rundbadge) + gestrichelte Routenlinie
   ============================================================ */

:root {
  --pine: #2a2030;
  --pine-dark: #140f16;
  --sand: #fff1e2;
  --paper: #fffaf3;
  --rust: #ea580c;
  --rust-deep: #c2410c;
  --teal: #0891b2;
  --teal-deep: #0e7490;
  --gold: #d97706;
  --ink: #2f271c;
  --ink-soft: #5c5140;
  --line: rgba(47, 39, 28, 0.16);
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(20, 15, 22, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='28'%3E%3Cpath d='M0,14 Q35,2 70,14 T140,14' fill='none' stroke='%23ea580c' stroke-opacity='0.07' stroke-width='2'/%3E%3C/svg%3E");
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--pine-dark);
  margin: 0 0 0.4em;
  line-height: 1.12;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Sichtbarer Fokus für ALLE interaktiven Elemente (Tastatur-Bedienung) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* "Zum Hauptinhalt springen"-Link – für Tastatur-/Screenreader-Nutzer.
   Ist unsichtbar, bis er per Tab fokussiert wird. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--pine-dark);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
.btn-primary { background: var(--rust); color: var(--paper); box-shadow: 0 10px 24px -12px rgba(234,88,12,0.6); animation: cta-pulse 3.2s ease-in-out infinite; }
.btn-primary:hover { background: var(--rust-deep); transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 30px -12px rgba(234,88,12,0.75); animation-play-state: paused; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 24px -12px rgba(234,88,12,0.6); }
  50% { box-shadow: 0 10px 30px -8px rgba(234,88,12,0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
}
.btn-ghost { background: transparent; color: var(--pine-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--pine-dark);
  letter-spacing: 0.01em;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--rust); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pine);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone::before {
  content: "\260E";
  color: var(--rust);
}
.header-phone:hover { color: var(--rust); }
.header-cta { padding: 10px 20px; font-size: 0.88rem; }

/* Hamburger-Button – nur auf schmalen Bildschirmen sichtbar */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--pine-dark);
  border-radius: 2px;
}

/* Mobiles Ausklapp-Menü */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -22px rgba(20,15,22,0.35);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.mobile-nav a:first-child { border-top: none; }
.mobile-nav a.is-current { color: var(--rust); }

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 480px) {
  .header-cta-book { display: none; }
}

/* Hero: echtes (KI-generiertes) Sonnenuntergangs-Foto als Hintergrund,
   mit dunklem Schleier links für gute Lesbarkeit der Schrift */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(6,7,12,0.86) 0%, rgba(6,7,12,0.68) 44%, rgba(6,7,12,0.28) 70%),
    url("../images/hero-sunset.jpg") center 46% / cover no-repeat;
  color: var(--paper);
  padding: 132px 0 122px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 4; max-width: 700px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--paper); text-shadow: 0 2px 18px rgba(20,10,15,0.35); }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.hero-lede {
  font-size: 1.14rem;
  color: rgba(255, 250, 240, 0.95);
  text-shadow: 0 1px 12px rgba(6,7,12,0.5);
  max-width: 52ch;
  margin: 0 0 34px;
}


/* Vertrauens-Zeile – ruhig, fest, ohne Endlos-Scroll */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid rgba(20, 15, 22, 0.08);
  border-bottom: 1px solid rgba(20, 15, 22, 0.08);
  position: relative;
  z-index: 2;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 34px;
  padding: 15px 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
}
.trust-strip-inner span { position: relative; padding-left: 18px; }
.trust-strip-inner span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--rust);
}


/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-pop);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Listings */
.listings { padding: 88px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}
@media (max-width: 980px) {
  .slot-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; perspective: none; }
}

.slot-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.slot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(178, 90, 43, 0.35);
  box-shadow: 0 30px 54px -26px rgba(16, 32, 31, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .slot-card:hover { transform: none; }
}

.slot-card.is-empty {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 28px;
  color: var(--ink-soft);
  min-height: 340px;
}
.slot-card.is-empty h3 { font-size: 1.1rem; color: var(--ink-soft); }

.card-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.card-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s ease;
  cursor: zoom-in;
}
.card-gallery img.is-active { opacity: 1; }
.slot-card:hover .card-gallery img.is-active { transform: scale(1.06); }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 32, 31, 0.55);
  color: var(--paper);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-nav:hover { background: var(--rust); }

.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(250, 245, 234, 0.55);
}
.gallery-dots span.is-active { background: var(--paper); }

/* "Reiseplakette" Badge – das Signatur-Element */
.badge {
  position: absolute;
  top: -6px;
  right: 18px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-align: center;
  border: 2px dashed rgba(250, 245, 234, 0.55);
  box-shadow: 0 8px 18px -8px rgba(16, 32, 31, 0.6);
  z-index: 4;
  transition: transform 0.35s ease;
}
.slot-card:hover .badge { transform: rotate(-8deg) scale(1.05); }
.badge strong { font-size: 0.95rem; font-family: var(--font-body); line-height: 1; }

.slot-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
}
/* Ticket-Perforation zwischen Bild und Inhalt */
.slot-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  border-top: 2px dashed var(--line);
}

.slot-title { font-size: 1.2rem; margin: 6px 0 0; }
.slot-desc { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }

.slot-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.slot-specs span {
  white-space: nowrap;
  background: rgba(8,145,178,0.1);
  color: var(--teal-deep);
  padding: 3px 9px;
  border-radius: 999px;
}

.slot-willhaben {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rust-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
}
.slot-willhaben:hover { border-bottom-color: var(--rust-deep); }

.slot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.slot-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--rust); }
.slot-link { font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--pine-dark); }
.slot-link:hover { color: var(--rust); }

/* About */
.about {
  padding: 88px 0;
  background:
    radial-gradient(circle, rgba(234,88,12,0.12) 1.5px, transparent 1.5px) 0 0/28px 28px,
    var(--sand);
  background-attachment: fixed, scroll;
}
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text p { color: var(--ink-soft); }
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rust); }
.fact-value { font-family: var(--font-display); font-size: 1.05rem; color: var(--pine-dark); }

@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* Contact */
.contact { padding: 88px 0 110px; }
.contact-card {
  background: var(--pine);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-card .eyebrow { color: var(--gold); }
.contact-card h2 { color: var(--paper); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 24px; }
.contact-list div { display: flex; flex-direction: column; gap: 3px; }
.contact-list dt { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(250,245,234,0.6); }
.contact-list dd { margin: 0; font-size: 1rem; }
@media (max-width: 600px) {
  .contact-card { padding: 30px 22px; }
  .contact-list { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); }
.footer-admin-link { text-decoration: none; color: var(--ink-soft); opacity: 0.6; }
.footer-admin-link:hover { opacity: 1; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 32, 31, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox img { max-width: 88vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(250,245,234,0.1);
  color: var(--paper);
  border: 1px solid rgba(250,245,234,0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Archiv-Seite */
.main-nav a.is-current { color: var(--rust); }
.archive-hero {
  padding: 108px 0 56px;
  background: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='28'%3E%3Cpath d='M0,14 Q35,2 70,14 T140,14' fill='none' stroke='%23ea580c' stroke-opacity='0.09' stroke-width='2'/%3E%3C/svg%3E");
}
.archive-hero h1 { margin-top: 8px; }
.archive-lede { max-width: 60ch; color: var(--ink-soft); margin-top: 12px; }
.archive-listing { padding: 56px 0 96px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.archive-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.archive-card:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -26px rgba(16,32,31,0.5); }
.archive-card:hover .card-gallery img.is-active { transform: scale(1.06); }
.archive-card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.archive-img-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(16, 32, 31, 0.72);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
}
.archive-card-body { padding: 18px 20px 22px; }
.archive-card-body h3 { margin: 0 0 6px; font-size: 1.15rem; }
.archive-card-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.archive-empty { color: var(--ink-soft); padding: 40px 0; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .archive-card:hover { transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-gallery img { transition: none; }
}
