/* =====================================================================
   Panorama Nacht — gemeinsame Grundlage aller Seiten

   Hier stehen Farben, Schriften und das Grundgeruest (Navigation,
   Ueberschriften, Textfarben). Die seitenspezifischen Dateien
   (anreise.css, kontakt.css, ...) enthalten nur noch Layout, das
   wirklich nur ihre Seite betrifft.
   ===================================================================== */

:root {
  /* Serif fuer Ueberschriften, humanistische Sans fuer Fliesstext */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: Optima, Candara, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --night-900: #0a0e1a;
  --night-800: #131a2c;
  --gold-300: #f0c888;
  --gold-500: #d9a051;
  --linen-100: #f4efe3;
  --linen-300: #cfc7b4;
  --hairline: rgba(244, 239, 227, 0.18);
}

@font-face {
  font-family: acmeFont;
  src: url(../fonts/Acme-Regular.ttf);
}
@font-face {
  font-family: TitiniumFont;
  src: url(../fonts/TitilliumWeb-Regular.ttf);
}
@font-face {
  font-family: TitiniumFontItalic;
  src: url(../fonts/TitilliumWeb-Italic.ttf);
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
}

/* --- Grundflaeche ---------------------------------------------------- */
html {
  background-color: var(--night-900);
}
body {
  background-color: var(--night-900);
  color: var(--linen-300);
  font-family: var(--font-body);
}

/* --- Typografie ------------------------------------------------------
   Ueberschriften in Serif und in Gross-/Kleinschreibung. Versalien
   nehmen der Serif genau den Charakter, den sie tragen soll.          */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  color: var(--linen-100);
  line-height: 1.2;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.05em; }

p, li, td, th, label {
  font-family: var(--font-body);
  color: var(--linen-300);
  line-height: 1.6;
}

a {
  color: var(--gold-300);
}

/* Gold als Akzent fuer hervorgehobene Woerter in Ueberschriften */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold-300);
}

/* --- Navigation ------------------------------------------------------
   Nur eine feine Trennlinie, kein farbiger Balken.                    */
#navigation {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 80px;
  background-color: transparent;
  border-bottom: 1px solid var(--hairline);
}

#Logo {
  position: fixed;
  top: 14px;
  left: 1%;
  z-index: 41;
  float: left;
}
#Logo img {
  height: 52px;
  width: auto;
  display: block;
}

#menu {
  position: fixed;
  top: 26px;
  right: 28px;
  margin: 0;
  z-index: 43;
  display: flex;
  gap: 20px;
  align-items: center;
}
#menu a {
  float: none;
  font-family: var(--font-body);
  font-size: 1.05em;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--linen-300);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
#menu a:hover {
  color: var(--gold-300);
  border-bottom: 1px solid var(--gold-500);
  border-radius: 0;
}

/* --- Wiederkehrende Bausteine ---------------------------------------- */
.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 28px 80px;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.78em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.page-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px 2px rgba(217, 160, 81, 0.7);
}
.panel {
  background-color: rgba(19, 26, 44, 0.55);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 24px 26px;
}

/* --- Fusszeile -------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--hairline);
  background-color: var(--night-800);
  padding: 56px 0 0;
  margin-top: 56px;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.78em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer-grid p,
.footer-grid li {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.92em;
  line-height: 1.65;
  color: var(--linen-300);
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid a {
  color: var(--linen-300);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}
.footer-grid a:hover {
  color: var(--gold-300);
  text-decoration-color: var(--gold-500);
}
.footer .material-icons {
  font-size: 1.1em;
  margin-right: 8px;
  vertical-align: -3px;
  color: var(--gold-300);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin: 4px 0 0;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--gold-300);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  transform: translateY(-2px);
}
.footer-social .fa {
  font-size: 1.2em;
}
.footer-social img {
  width: 20px;
  height: 20px;
  display: block;
  border-radius: 50%;
}
.footer-social svg {
  display: block;
}
#login {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px 20px;
  text-align: right;
}
#login a {
  color: var(--linen-300);
  text-decoration: none;
  font-size: 0.78em;
  opacity: 0.65;
}
#login a:hover {
  color: var(--gold-300);
  opacity: 1;
}
#referals a {
  color: var(--linen-300);
  text-decoration: none;
}
#referals a:hover {
  color: var(--gold-300);
}

/* --- Mobil ------------------------------------------------------------ */
@media (max-width: 970px) {
  #navigation { height: 60px; }
  #menu { display: none; }
  .page-wrap { padding-top: 110px; }
}

/* --- Inhaltsbereich der Unterseiten -----------------------------------
   Fast alle Unterseiten legen ihren Text in #maincont ab. Vorher lief
   der Fliesstext ueber die volle Fensterbreite; mit ~820px bleibt er
   lesbar. Auf mehreren Seiten stehen erfundene Tags (<p1>, <li2>,
   <a1>) im Markup -- die sind von Haus aus inline und brauchen
   display:block, damit Absaetze entstehen.                            */
#maincont {
  max-width: 820px;
  margin: 0 auto;
  padding: 130px 28px 70px;
}
#maincont p,
#maincont p1,
#maincont li2,
#maincont li {
  display: block;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.75;
  color: var(--linen-300);
  margin: 0 0 18px;
}
#maincont h1,
#maincont h2,
#maincont h3 {
  margin: 34px 0 16px;
}
#maincont h1:first-child,
#maincont h2:first-child {
  margin-top: 0;
}
#maincont a {
  color: var(--gold-300);
}
#maincont table {
  width: 100%;
  border-collapse: collapse;
}
#maincont td,
#maincont th {
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

/* Fusszeile etwas absetzen */
#referals {
  max-width: 1140px;
  margin: 12px auto 0;
  padding: 22px 28px 40px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-size: 0.85em;
  color: var(--linen-300);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 4px;
}
#referals p3 {
  color: var(--linen-300);
  margin: 0;
}
#referals a {
  position: relative;
  padding-left: 14px;
}
#referals a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 1px;
  background: var(--hairline);
}

/* Bilder und eingebettete Inhalte nie breiter als ihr Container --
   auf Breakfast.html lief das Foto sonst mit voller Dateibreite
   (2200px) aus der Seite heraus. */
img,
iframe,
video {
  max-width: 100%;
}
img {
  height: auto;
}

/* --- Fusszeile: Sozial-Icons ------------------------------------------
   Der Block stand mit margin-left:-30px und margin-top:-250px im
   Negativen und ragte dadurch ueber den rechten Seitenrand hinaus
   (horizontale Scrollleiste auf jeder Seite mit Fusszeile).          */
.socialmedia {
  margin-left: 0;
  margin-top: 0;
  max-width: 100%;
  overflow-x: auto;
}
.socialmedia table {
  margin-top: 0;
  margin-left: 0;
  border-spacing: 1.5em;
}
.socialmedia p {
  margin-top: 0;
}

/* =====================================================================
   Schiebemenue (.menuS) -- Nachtdesign

   Lag vorher in jeder Seiten-CSS erneut (weinrotes Panel, beiges
   Icon, cremefarbene Links). Jetzt nur noch hier. Die Toggle-Logik
   bleibt wie gehabt: das Panel ist sichtbar, der Pfeil schiebt es
   nach rechts aus dem Bild.
   ===================================================================== */
#menuToggle {
  display: none;
}

.menuS {
  position: fixed;
  top: 80px;
  right: 0;
  width: 250px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 50;
  padding: 22px 0 26px;
  background:
    radial-gradient(340px 220px at 100% 0%, rgba(217, 160, 81, 0.12), transparent 60%),
    rgba(10, 14, 26, 0.94);
  border-left: 1px solid var(--hairline);
  box-shadow: -22px 0 44px -26px rgba(0, 0, 0, 0.6);
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
#menuToggle:checked ~ .menuS {
  transform: translateX(100%);
}

.menuS-brand {
  margin: 0 24px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: 0.03em;
  color: var(--linen-100);
}
.menuS-brand em {
  font-style: italic;
  color: var(--gold-300);
}

.menuS ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menuS li {
  list-style: none;
}
.menuS a {
  position: relative;
  display: block;
  padding: 11px 40px 11px 24px;
  font-family: var(--font-body);
  font-size: 0.98em;
  letter-spacing: 0.01em;
  color: var(--linen-300);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.menuS a::after {
  content: "\2192";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(-6px, -50%);
  opacity: 0;
  color: var(--gold-500);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.menuS a:hover {
  color: var(--gold-300);
  border-left-color: var(--gold-500);
  background-color: rgba(217, 160, 81, 0.07);
}
.menuS a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* "Weitere Infos" als Gruppe statt als Aufklapp-Menue: im schmalen
   Panel ist ein Hover-Untermenue kaum treffsicher zu bedienen. */
.menuS-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.menuS-label {
  margin: 0 0 6px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 0.72em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.menuS-group a {
  font-size: 0.92em;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Schaltflaeche zum Ein- und Ausblenden */
.menu-icon {
  position: fixed;
  /* Unterhalb der Navigationsleiste: auf Höhe 22px lag der Knopf genau
     auf den Links (Home/Anreise/Kontakt/Impressum) und fing deren
     Klicks ab. */
  top: 96px;
  right: 266px;
  z-index: 60;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--linen-300);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9em;
  line-height: 1;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              right 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease, border-color 0.2s ease;
}
.menu-icon:hover {
  color: var(--gold-300);
  border-color: var(--gold-500);
}
#menuToggle:checked ~ .menu-icon {
  right: 16px;
  transform: rotate(180deg);
}

@media (max-width: 970px) {
  .menuS {
    top: 60px;
    width: min(78vw, 300px);
    max-height: calc(100vh - 60px);
    /* Auf schmalen Geraeten verdeckt ein dauerhaft offenes Panel den
       halben Bildschirm -- hier startet es geschlossen. */
    transform: translateX(100%);
  }
  #menuToggle:checked ~ .menuS {
    transform: translateX(0);
  }
  .menu-icon {
    top: 14px;
    right: 16px;
  }
  #menuToggle:checked ~ .menu-icon {
    right: min(78vw, 300px);
    transform: rotate(180deg);
  }
}


/* =====================================================================
   Gemeinsame Bausteine (Karten, Sektionskoepfe, Zustimmungsknopf)

   Lagen vorher in ferienwohnung.css und galten damit nur fuer
   Startseite/Preise/Ausfluege/Gastronomie. Wohnraum & Co. luden
   sie nie -- dort standen die Karten voellig ungestylt.
   ===================================================================== */
.media-card{
    position:relative;
    z-index:4;
    background-color: rgba(10,14,26,0.55);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 20px;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
#VideoDrohne.videotoggle{ transition-delay: .12s; }
.media-card-title{
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15em;
    color: var(--linen-100);
    margin: 0 0 14px;
}
#Video a1, #VideoDrohne a1, #Mapscont a1{
    display:none;
}
.section-inner{
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}
.section-eyebrow{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 12px;
    font-family: var(--font-body);
    font-size:0.78em;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color: var(--gold-300);
}
.section-eyebrow::before{
    content:"";
    flex:0 0 auto;
    width:7px;
    height:7px;
    border-radius:50%;
    background: var(--gold-500);
    box-shadow: 0 0 10px 2px rgba(217,160,81,0.7);
}
.section-title{
    margin:0;
    font-family: var(--font-display);
    font-weight:400;
    font-size:2em;
    line-height:1.15;
    color: var(--linen-100);
    text-transform:none;
}
.media-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: start;
}
.consent-btn{
    display:inline-block;
    padding:10px 20px;
    background: transparent;
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size:0.92em;
    letter-spacing:0.02em;
    border:1px solid var(--gold-500);
    border-radius:999px;
    cursor:pointer;
    transition: background .2s ease, color .2s ease;
}
.consent-hint{
    margin:12px 0 0;
    font-family: var(--font-body);
    font-size:0.78em;
    line-height:1.5;
    color: var(--linen-300);
    opacity:0.75;
}
.event-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    align-items: start;
}
.event-card-title{
    margin:0 0 4px;
    font-family: var(--font-display);
    font-weight:400;
    font-size:1.25em;
    color: var(--linen-100);
    text-transform:none;
}
.event-row{
    display:flex;
    gap:16px;
    padding:11px 0;
    border-top:1px solid var(--hairline);
}
.event-date{
    flex:0 0 132px;
    font-family: var(--font-body);
    font-size:0.86em;
    color: var(--gold-300);
    font-variant-numeric: tabular-nums;
}
.event-card-note{
    margin:16px 0 0;
    padding-top:14px;
    border-top:1px solid var(--hairline);
    font-family: var(--font-body);
    font-size:0.85em;
    color: var(--linen-300);
    opacity:0.8;
}
#VideoDrohne.videotoggle{
		margin-left: 2%;
		
	}

.media-card.videotoggle{
    opacity: 1;
    transform: none;
}
.media-card iframe{
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    border: 0;
    border-radius: 6px;
    display: block;
}
.section-head{
    margin-bottom: 34px;
}
.section-title em{
    font-style:italic;
    color: var(--gold-300);
}
.consent-btn:hover{
    background: var(--gold-500);
    color:#1c1305;
}
.event-card{
    background-color: rgba(10,14,26,0.55);
    border:1px solid var(--hairline);
    border-radius:10px;
    padding:22px 24px;
}
.event-row:first-of-type{
    border-top:0;
}
