/* =========================================================
   VERSION 1 – STABILER AUSGANGSSTAND
   Stand: Index & Angebot visuell stimmig,
   Text final abgestimmt,
   KEIN heller Hintergrund,
   Abstand Navi ↔ Inhalt NOCH NICHT final
   ========================================================= */

/* ======================================
   GRUNDLAYOUT
====================================== */

html, body {
    width: 100%;
    overflow-x: hidden; /* Schutz gegen seitliche Mini-Lücken/Überläufe */
}

body {
    margin: 0;
    margin-top: 10px; /* Hier wird der Abstand zum oberen Rand bestimmt */

    padding: 0;
    font-family: "Times New Roman", serif;
    background: url('Hintergrund_04.png') center/cover no-repeat;
}



/* ======================================
   NAVIGATION + DROPDOWN MENÜ
====================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    padding: 20px 0;
    font-size: 30px;
    font-family: "Perpetua Titling MT", serif;
    background: transparent;

    /* zurückgebrachter Schatten */
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);

    /* Navigation weich verblassen können */
    transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

/* Wenn man scrollt: ganze Leiste ausblenden */
nav.nav-faded {
    opacity: 0;
    pointer-events: none; /* nicht anklickbar, solange ausgeblendet */
}

/* Schrift in der Navi verblassen, Schatten bleibt aber */
nav.nav-faded a,
nav.nav-faded .nav-title {
    color: transparent;
}

/* Normale Navi-Links */
nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #5a442599; /* warm-transp Braun */
    font-weight: bold;
}

/* Button unten rechts */
.back-to-top-wrapper {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 2000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Sichtbarkeit */
.show-top-button {
    opacity: 1;
    pointer-events: auto;
}

/* DER BUTTON – sehr klein & elegant */
.back-to-top {
    display: inline-block;
    padding: 4px 10px;
    font-family: "Perpetua Titling MT", serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;

    color: #456b2e;                          /* Grün */
    background: rgba(255, 255, 255, 0.15);   /* sehr dezent */
    backdrop-filter: blur(2px);
    border-radius: 6px;

    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

/* Hover */
.back-to-top:hover {
    color: rgba(112, 85, 50, 0.85);          /* Braun */
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

/* Container für "Medien" */
.nav-item {
    display: inline-block;
    position: relative;
}

.nav-title {
    margin: 0 20px;
    color: #5a442599;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

/* Dropdown-Bereich */
.nav-submenu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    padding: 14px 22px 14px;
    margin-top: 0;

    background: rgb(239, 183, 61);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

    font-size: 20px;
    white-space: nowrap;
    text-align: center;
    z-index: 1100;
}

.nav-submenu.open {
  display: block;
}
/* Links im Dropdown — BRAUN normal */
.nav-submenu a {
    color: rgba(112, 85, 50, 0.75);
    text-decoration: none;
    display: block;
    padding: 6px 0;
    font-weight: bold;
    transition: color 0.18s ease-in-out;
}

/* Hover — GRÜN */
.nav-submenu a:hover {
    color: #456b2e; /* Flyer-Grün */
}

/* Hover-Grün für Hauptnavigation */
nav a:hover {
    color: #456b2e; /* Flyer-Grün */
}

/* Dropdown anzeigen bei Hover */
.nav-item:hover .nav-submenu {
    display: block;
}


/* ======================================
   WRAPPER & KELTISCHER RAHMEN
====================================== */

.wrapper {
    max-width: 1200px;
    margin: 0 auto;

    /* STABILISATOR: verhindert Kanten-Lücken bei schmalen Fenstern */
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;   /* passt für Index */

    box-sizing: border-box;
}


.content-frame {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 10px auto 20px;
    padding: 40px;
    background: url('keltische-umrandung.png') no-repeat center center;
    background-size: contain;
    box-sizing: border-box;
    overflow: hidden;
}

/* ======================================
   INHALTSBEREICH
====================================== */

.content-inner {
    position: relative;
    z-index: 1;
    padding-top: 30px; /* Beispielwert */

    padding: 30px 2vw 50px;
    box-sizing: border-box;
}

/* ======================================
   TEXTE & ORNAMENTE
====================================== */

.main-title {
    font-family: "Perpetua Titling MT Light", serif;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    color: #456b2e; /* Grün wie Flyer */
    letter-spacing: 7px;
}

.ornament {
    text-align: center;
    margin: 10px auto 0;
    margin-bottom: 20px;

}

.ornament.bottom {
    margin-top: 10px;
    margin-bottom: 5px;
}

.ornament img {
    width: 80%;
    max-width: 500px;
}

/* Harfenbild */
.image-placeholder {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.image-placeholder img.harfenbild {
    width: 70%;
    max-width: 700px;
    height: auto;
    border-radius: 5px;
}

/* Untertitel */
.subtitle {
    font-family: "Perpetua Titling MT", serif;
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
    color: #015601;
    line-height: 1.5;
    letter-spacing: 7px;
}

/* „live & visuell“ */
.live-text {
    font-family: "Lucida Calligraphy", cursive;
    text-align: center;
    font-size: 26px;
    margin-top: 10px;
}

/* Trennlinie */
.divider {
    width: 40%;
    margin: 30px auto;
    border: none;
    border-top: 2px solid #004200;
}

/* Fließtext */
.flyer-text {
    font-family: "Perpetua Titling MT", serif;
    text-align: center;

    max-width: 680px;
    margin: 38px auto 0;

    font-size: 22px;
    line-height: 1.9;

    font-weight: 500;                 /* ⭐ DAS fehlte dir gerade */
    letter-spacing: 0.5px;            /* ⭐ nicht zu weit, sonst wird’s dünn */

    color: rgba(75, 55, 35, 0.9);/* heller & warm (nicht zu dunkel) */

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.flyer-text p {
    margin-bottom: 34px;     /* mehr Atem zwischen Absätzen */
}


/* NUR Angebot: heller Hintergrund im Rahmen */
/* TEMP AUS – heller Hintergrund */
/*
.page-angebot .content-frame::before {
    content: "";
    position: absolute;
    top: 120px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.28);
    z-index: 0;
    border-radius: 4px;
}
*/

/* Inhalt darüber */
.page-angebot .content-inner {
    position: relative;
    z-index: 1;
    padding-top: 5px;   /* war 70px → rutscht sichtbar hoch */


}
/* Spezifische Regel für die Index-Seite */
.page-index .content-inner {
  padding-top: 40px; /* Beispielwert, den du anpassen kannst */
}

.hoerproben-background {
  background-image: url('pfad/zur/harfe.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 /* opacity: 0.3;  Leichte Transparenz, damit der Hintergrund dezent bleibt */
  z-index: -1; /* Hintergrund hinter den Inhalten anordnen*/}

/* ======================================
   FOOTER (EINBLENDEN UNTEN)
====================================== */

/* Fußleiste einblenden, wenn man unten ist */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;

    background: transparent;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.25);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 18px;
    box-sizing: border-box;

    z-index: 999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Sichtbar-Klasse */
.show-footer {
    opacity: 1;
    pointer-events: auto;
}

/* Linker Bereich – Copyright */
.footer-left {
    flex: 1;
    text-align: left;
}

.footer-copy {
    font-family: "Perpetua Titling MT", serif;
    font-size: 12px;
    color: rgba(112, 85, 50, 0.85);
    letter-spacing: 1px;
}

/* Mitte – Impressum & Datenschutz */
.footer-center {
    flex: 1;
    text-align: center;
}

.footer-link {
    font-family: "Perpetua Titling MT", serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: rgba(112, 85, 50, 0.75);
    text-decoration: none;
    padding: 0 8px;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: #456b2e;
}

.footer-separator {
    color: rgba(112, 85, 50, 0.55);
    font-size: 18px;
}

/* Rechter Bereich (leer für perfekte Zentrierung) */
.footer-right {
    flex: 1;
}

.under-construction {
    font-family: "Perpetua Titling MT", serif;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(112, 85, 50, 0.85);
    max-width: 600px;
    margin: 40px auto;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
/* SCHRITT 2 – Harfe hinter Audio-Rahmen */

/* Gemeinsamer Bereich für alle Hörproben */
.audio-section {
  position: relative;
}

/* EINE Harfe hinter allen Audio-Rahmen */
.audio-section::before {
  content: "";
  position: absolute;

  top: 180px;      /* Harfe tiefer, damit Überschrift frei bleibt */
 right: -120px;
 left: auto;
transform: none;
  width: 420px;
  height: 800px;

  background-size: contain;

 /* opacity: 0.18;    nur einmal, sauber */
  z-index: 0;
  pointer-events: none;
}

/* Audio-Rahmen liegen darüber */
.audio-frame,
h1, h2, p {
  position: relative;
  z-index: 2;
}


.harfe-bg{
  position: absolute;
  right: -50px;
  top: 50px;          /* sitzt schön im oberen Gold */
  width: auto;
  opacity: 0.18;
  height: auto;

  z-index: 1;          /* Grundebene */
  pointer-events: none;
}

.audio-wrapper{
  position: relative;
  overflow: hidden;
  isolation: isolate; /* extrem wichtig für saubere Ebenen */
}

/* Touch/Safari: Submenu per Klasse öffnen */
nav ul ul { 
  display: none;
}

nav ul ul.open {
  display: block;
}
