/* =========================================================
   ROOT / THEME
   ========================================================= */
:root{
  --bg-page: #ffffff;
  --bg-content: #e6f6ed;

  --text-main: #000101;
  --nav-text: #00514a;

  --frame: #b4e4c5;

  --maxw: 1200px;
  --font: "Times New Roman", Times, serif;

  /* Abstände */
  --outer-gap: 20px;      /* Abstand Boxen zum Viewport links/rechts */
  --header-gap: 16px;     /* Abstand Header zum Viewport oben */
  --header-h-mobile: 140px;
  --header-h-desktop: 120px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*{ box-sizing: border-box; }

body{
  margin:0;
  background:var(--bg-page);
  color:var(--text-main);
  font-family:var(--font);
}

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

a{ color:inherit; }

/* =========================================================
   GLOBAL LAYOUT HELPERS (einheitliche Flucht)
   Header/Content/Footer sollen die gleiche Breite haben
   ========================================================= */
.content-box,
.site-footer{
  width: min(calc(100% - (var(--outer-gap) * 2)), var(--maxw));
  margin: var(--outer-gap) auto;
}

/* =========================================================
   HEADER (fixed, aber zentriert auf max-width)
   ========================================================= */
.site-header{
  position: fixed;
  top: var(--header-gap);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - (var(--header-gap) * 2)), var(--maxw));
  z-index: 1000;

  border:3px solid var(--frame);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 18px rgba(0,0,0,.12);
}

@media (max-width: 820px){
  .site-header{
    position: static;        /* nicht mehr fixed */
    left: auto;              /* wichtig: deine Zentrier-Logik raus */
    transform: none;         /* wichtig */
    width: auto;             /* wichtig: nicht mehr min(...), sondern normal */
    margin: var(--outer-gap) auto;  /* hübscher Abstand zum Rahmen */
  }

  .site-main{
    padding-top: 0;          /* weil Header nicht mehr überlappt */
  }
}
@media (max-width: 820px){
  .site-main{
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .content-box{
    margin-top: 12px !important; /* statt der fetten Lücke */
  }
}


.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 26px;
}

.brand-title{
  height:70px;
  width:auto;
}

/* NAV */
.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.nav a{
  padding:8px 14px;
  border-radius:999px;
  color:var(--nav-text);
  text-decoration:none;
  font-size:20px;
}

.nav a[aria-current="page"],
.site-footer a[aria-current="page"]{
  font-weight:700;
  color:var(--text-main);
  background:rgba(180,228,197,.45);
  box-shadow:0 0 18px rgba(180,228,197,.65);
}

/* =========================================================
   MAIN
   ========================================================= */
.site-main{
  padding-top: var(--header-h-mobile);
}

/* Content-Box Grundstil */
.content-box{
  background:var(--bg-content);
  border-radius:22px;
  box-shadow:0 14px 22px rgba(0,0,0,.16);
}

.content-inner{
  display:grid;
  gap:50px;
  padding:26px;
}

/* =========================================================
   ROMAN-SEITE (roman.html)
   ========================================================= */

/* Cover */
.cover{
  width:100%;
  height:auto;
}

/* Band-Info unter Cover */
.band-info{
  margin-top:20px;
  font-size:22px;
  text-align:center;
  margin-left:-16px; /* dein bestehender Feinschliff */
}

/* Text-Spalten */
.text-grid{
  display:grid;
  gap:50px;
}

.text-block{
  max-width:62ch;
  font-size:18px;
  line-height:1.55;
}

.text-block p{ margin:0 0 14px 0; }

/* Action Icons */
.actions{
  display:flex;
  gap:22px;
  margin-top:30px;
  align-items:center;
}

.action-btn{
  background:none !important;
  border:none !important;
  box-shadow:none !important;
  padding:0;
  margin:0;
  text-decoration:none;
}

.action-btn img{
  width:64px;
  height:64px;
  opacity:.95;
  transition:opacity .15s ease, transform .15s ease;
}

.action-btn:hover img{
  opacity:1;
  transform:translateY(-3px);
}

.action-btn:focus-visible{
  outline:2px solid var(--frame);
  outline-offset:4px;
  border-radius:8px;
}

/* =========================================================
   FOOTER
   - linksbündig, aber innerhalb der zentrierten max-width
   ========================================================= */
.site-footer{
  border:3px solid var(--frame);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 18px rgba(0,0,0,.12);
}

.footer-inner{
  display:flex;
  justify-content:flex-start; /* <-- links, aber NICHT am Browserrand */
  gap:18px;
  padding:14px 26px;
}

.site-footer a{
  color:var(--nav-text);
  text-decoration:none;
  font-size:16px;
}

/* =========================================================
   LANDING PAGE (index.html)
   ========================================================= */
.page-landing .content-inner{
  display:flex;
  justify-content:center;
}

.landing{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  gap:48px;
  max-width:1100px;
  margin:0 auto;
  padding:40px 0;
}

.landing-tree img{
  width:100%;
  max-width:340px;
  height:auto;
}

.landing-claim h1{
  font-size:36px;
  line-height:1.25;
  font-weight:normal;
  text-align:center;
  margin:0;
}

.landing-mamo img{
  width:100%;
  max-width:280px;
  height:auto;
  border-radius:22px;
  box-shadow:0 18px 30px rgba(0,0,0,.25);
}

/* =========================================================
   AUTOR-SEITE (author.html)
   ========================================================= */
.author-inner{
  width:100%;
}

.author-header{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap:40px;
  align-items:start;
}

.author-portrait-wrap{
  display:flex;
  justify-content:center;
}

.author-portrait{
  width:260px;
  height:auto;
  object-fit:contain;          /* <-- kein Abschneiden */
  border-radius:28px;
  box-shadow:0 14px 22px rgba(0,0,0,.18);
}

.author-text{
  max-width:92ch;
  font-size:18px;
  line-height:1.55;
}

.author-name{
  margin:0 0 10px 0;
  font-size:42px;
  line-height:1.02;
}

.author-divider{
  border:none;
  border-top:1px solid rgba(0,0,0,.10);
  margin:18px 0;
}

.works-wrap{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:26px;
  align-items:center;
}

.works-title{
  font-size:26px;
  font-weight:700;
  color:var(--nav-text);
  line-height:1.15;
}

.works-title span{
  font-weight:600;
  opacity:.6;
}

.works-grid{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  align-items:flex-end;
}

.work-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.work-cover{
  width:auto;  
  height:180px;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
}

.work-meta{
  display:flex;
  gap:10px;
  align-items:center;
}

.work-label{
  font-size:16px;
  opacity:.85;
}

.work-status{
  width:60px;
  height:auto;
}

/* VERÄNDERUNG! */

.work-cover-link{
  display:inline-block;
  position:relative;
  line-height:0; /* verhindert kleine "Textbaseline"-Lücke unter Bildern */
}

.work-zoom{
  position:absolute;
  right:10px;
  bottom:10px;
  background:rgba(0,0,0,.55);
  padding:6px 8px;
  border-radius:999px;
}
/* VERÄNDERUNG! */



/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Desktop / Tablet+ */
@media (min-width:820px){

  .site-main{
    padding-top: var(--header-h-desktop);
  }

  /* roman: 2 Spalten Layout + größere Icons */
  .content-inner{
    grid-template-columns:260px 1fr;
    align-items:start;
  }

  .text-grid{
    grid-template-columns:1fr 1fr;
  }

  .action-btn img{
    width:80px;
    height:80px;
  }

  /* cover leicht nach links (dein Feintuning) */
  .cover{
    margin-left:-12px;
  }
}

/* Landing: Tablet & kleiner */
@media (max-width:900px){
  .landing{
    grid-template-columns:1fr;
    gap:36px;
    text-align:center;
  }

  .landing-tree img,
  .landing-mamo img{
    margin:0 auto;
  }

  .landing-claim h1{
    font-size:32px;
  }
}

/* Landing: Handy */
@media (max-width:520px){
  .landing-claim h1{
    font-size:28px;
  }
}

/* Autor: kleiner als 820 */
@media (max-width:820px){
  .author-header{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }

  .author-portrait{
    width:240px;
    height:auto;
  }

  .author-text{
    text-align:left; /* wenn du komplett zentriert willst: auf center stellen */
  }

  .works-wrap{
    grid-template-columns:1fr;
  }

  .works-title{
    text-align:center;
  }

  .works-grid{
    justify-content:center;
  }
}
/* =========================================================
   AUTOR-SEITE: content-inner resetten
   ========================================================= */
.page-author .content-inner{
  display:block;
}

/* =========================================================
   ALUNA – HERKUNFT & BEDEUTUNG (aluna.html)
   ========================================================= */

/* wichtig: content-inner ist bei dir global Grid -> hier wollen wir eine vertikale Sequenz */
.page-aluna .aluna-inner{
  display: block;
  padding: 70px 0 90px;
}

/* ein „Bild + Wort“-Block */
.page-aluna .aluna-impression{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* das ist die „Luft“ zwischen den Motiven */
  margin-bottom: 65vh;
}

/* letztes Motiv etwas weniger Luft */
.page-aluna .aluna-impression:last-of-type{
  margin-bottom: 40vh;
}

/* Bild */
.page-aluna .aluna-img{
  width: clamp(220px, 25%, 360px);
  height: auto;

  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(0,0,0,.18);
  display: block;
}

/* Wort unter dem Bild */
.page-aluna .aluna-word{
  margin-top: 28px;
  font-size: 30px;
  letter-spacing: .02em;
  color: var(--nav-text);
  opacity: .9;
}

/* Video-Link am Ende */
.page-aluna .aluna-video{
  text-align: center;
  margin-top: 60px;
}

.page-aluna .aluna-video-link{
  display: inline-block;
  font-size: 24px;
  color: var(--nav-text);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--frame);
}

.page-aluna .aluna-video-link:hover{
  background: rgba(180,228,197,.35);
}

/* responsive: auf kleineren Screens Bild größer */
@media (max-width: 900px){
  .page-aluna .aluna-img{
    width: clamp(220px, 55%, 420px);
  }
  .page-aluna .aluna-impression{
    margin-bottom: 55vh;
  }
}

@media (max-width: 520px){
  .page-aluna .aluna-img{
    width: clamp(220px, 75%, 440px);
  }
  .page-aluna .aluna-word{
    font-size: 18px;
  }
}

.work-item a:hover .work-cover{
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.25));
}

/* =========================
   KONTAKT (Formular)
   ========================= */

.page-kontakt .content-inner{
  max-width: 820px;
  margin: 0 auto;
}

/* Formular-Layout */
.contact-form{
  margin-top: 18px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 560px;
}

/* Labels + Felder */
.field{
  display: grid;
  gap: 8px;
}

.label{
  font-size: 16px;
  color: var(--nav-text);
  opacity: .9;
}

/* Inputs */
.input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--frame);
  background: rgba(255,255,255,.75);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.2;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.textarea{
  resize: vertical;
  min-height: 170px;
}

.input:focus{
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(180,228,197,.55), 0 12px 22px rgba(0,0,0,.10);
}

/* Button */
.btn{
  border: 2px solid var(--frame);
  background: rgba(180,228,197,.35);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover{
  background: rgba(180,228,197,.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 22px rgba(0,0,0,.14);
}

.btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.contact-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hint{
  font-size: 15px;
  opacity: .7;
}

/* Honeypot unsichtbar */
.hp{
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Desktop: leicht zweispaltig, aber ruhig */
@media (min-width: 820px){
  .contact-grid{
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }
  .field-wide{
    grid-column: 1 / -1;
  }
}
/* ===== Mobile/Desktop Umschaltung für Navigation ===== */

/* Standard: Desktop-Menü sichtbar, Mobile-Menü versteckt */
.nav-desktop{ display:flex; }
.nav-mobile{ display:none; }

/* summary ohne Standard-Dreieck (optional) */
.nav-toggle::-webkit-details-marker{ display:none; }

/* Mobile: Desktop-Menü aus, Mobile-Menü an */
@media (max-width: 820px){
  .nav-desktop{ display:none; }
  .nav-mobile{ display:block; width:100%; }

  .header-inner{
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

  .nav-toggle{
    list-style:none;
    cursor:pointer;
    padding:10px 14px;
    border-radius:999px;
    color:var(--text-main);
    background:rgba(180,228,197,.35);
    box-shadow:0 0 18px rgba(180,228,197,.45);
    font-size:18px;
    font-weight:700;
    display:inline-block;
  }

  .nav-mobile[open] .nav-mobile-list{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    width:100%;
  }

  .nav-mobile-list a{
    padding:10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.55);
  }
}

/* =========================
   Datenschutz – Layout Fix
   ========================= */

.page-datenschutz .content-inner {
  /* Datenschutz soll als klassischer Fließtext laufen */
  max-width: 900px;
  margin: 0 auto;
  display: block;          /* killt Grid/Flex-Vererbung */
  columns: auto;           /* killt Mehrspalten-Layouts */
  column-count: 1;
  gap: 0;
}

.page-datenschutz .content-inner > * {
  /* verhindert, dass einzelne Elemente in Spalten/Grids verrutschen */
  break-inside: avoid;
}

.page-datenschutz h1 {
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.page-datenschutz h2 {
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}

.page-datenschutz p {
  margin: 0.75rem 0;
  line-height: 1.6;
}

.page-datenschutz ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding: 0;
}

.page-datenschutz li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

/* kleine "Karten"-Optik wie auf deinen Content-Box-Seiten */
.page-datenschutz .content-box {
  /* falls du schon eine content-box hast, wird das meist reichen;
     ansonsten macht es hier das Layout angenehmer */
  padding: 1.25rem;
}

.page-datenschutz .content-inner {
  max-width: 900px;
  margin: 0 0 0 0rem;   /* links leicht eingerückt */
  display: block;
}

.page-datenschutz .content-inner,
.page-impressum .content-inner {
  max-width: 900px;
  margin: 0 0 0 1rem; /* oder 2rem, wie bei dir gewählt */
  display: block;
}
/* =========================
   Danke-Seite – schön & ruhig
   ========================= */

.page-danke .content-inner{
  max-width: 900px;
  margin: 0 0 0 1rem;   /* wenn du 2rem willst: 2rem */
  display: block;        /* killt Grid/Flex-Vererbung */
  columns: auto;
  column-count: 1;
}

/* Alles als zusammenhängender Block */
.page-danke h1,
.page-danke p{
  margin: 0 0 1rem;
}

/* Schriftgröße für die komplette Nachricht angleichen */
.page-danke h1{
  font-size: 1.15rem;    /* anpassbar */
  font-weight: 700;
  line-height: 1.4;
}

.page-danke p{
  font-size: 1.15rem;    /* gleiche Größe wie h1 */
  line-height: 1.6;
}

/* Team-Zeile minimal betonen, ohne Größe zu ändern */
.page-danke p:last-of-type{
  font-weight: 700;
}

/* Danke: Button-Zeile zuverlässig ganz rechts */
.page-danke .btn-row{
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: .75rem;
}

.page-danke .btn{
  display: inline-block;
  margin-top: 0; /* Button-Abstand kommt jetzt vom btn-row */
}
.page-danke .content-box{
  padding-right: .75rem;  /* oder kleiner */
}

/* =========================
   Das Feld (Notizen) – Baukasten
   ========================= */

/* Einspaltig, volle Rahmenbreite, kein Grid/Spalten-Gedöns */
.page-feld .feld-inner{
  max-width: 900px;
  margin: 0 0 0 1rem;      /* wie Datenschutz/Impressum; wenn du willst: 2rem */
  display: block;
  columns: auto;
  column-count: 1;
}

.page-feld .feld-intro{
  margin: .75rem 0 1.25rem;
  line-height: 1.6;
}

/* Post-Grundblock */
.page-feld .feld-post{
  display: block;
}

/* Trenner zwischen Posts */
.page-feld .feld-sep{
  height: 3px;
  background: rgba(20, 80, 70, .18);   /* zart, im Aluna-Feld */
  margin: 1.5rem 0;                    /* immer gleicher Abstand */
  border-radius: 999px;
}

/* Text-Baustein (Breite voll ausnutzen) */
.page-feld .feld-title{
  margin: 1rem 0 .5rem;
  line-height: 1.2;
}

.page-feld .feld-text{
  margin: 0;
  line-height: 1.65;
}

/* Bild-Baustein (zentriert, definierte Größe, klickbar) */
.page-feld .feld-imglink{
  display: block;
  text-decoration: none;
}

.page-feld .feld-img{
  width: clamp(240px, 45vw, 520px);    /* anpassbar */
  height: auto;
  margin: 0 auto;                      /* zentriert */
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(0,0,0,.18);
  display: block;
  cursor: zoom-in;
}

/* LIGHTBOX ohne JS */
.page-feld .feld-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  z-index: 9999;
}

/* Aktiv, wenn #img-X in der URL steht */
.page-feld .feld-lightbox:target{
  display: flex;
}

/* Klickfläche zum Schließen */
.page-feld .feld-lightbox-close{
  position: absolute;
  inset: 0;
}

/* Bild in der Lightbox */
.page-feld .feld-lightbox-img{
  max-width: 92vw;
  max-height: 88vh;
  height: auto;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  cursor: zoom-out;
  position: relative;
  z-index: 1;
}
/* Feld: Bildgröße soll wirklich zählen, nicht von globalen Regeln kaputt gemacht werden */
.page-feld .feld-img{
  max-width: none;     /* killt globale max-width:100% Regeln */
}

.page-feld .content-inner{
  display: block;
  gap: 0;
}
.page-feld .feld-inner{
  max-width: none;     /* <- volle Breite */
  margin: 0;           /* <- kein künstliches Einrücken */
}

/* =========================
   Das Feld – Typografie
   ========================= */

.page-feld{
  font-size: 18px;     /* Basisgröße für alles im Feld */
  line-height: 1.65;
}

.page-feld .feld-title{
  font-size: 24px;
  line-height: 1.25;
  margin-top: 0;
}

.page-feld .feld-text,
.page-feld .feld-intro{
  font-size: 22px;
  line-height: 1.35;
}

.page-feld h1{
  margin: 0 0 1.0rem;
}

.page-feld h2{
  margin: 2rem 0 1rem;
}

.page-feld .feld-lightbox-imglink{
  display: inline-block;
  text-decoration: none;
  cursor: zoom-out;
  position: relative;
  z-index: 2; /* über dem Close-Overlay */
}


.page-feld .feld-imglink{ margin-bottom: 1.25rem; }
.page-feld .feld-title{ margin: 0 0 .6rem; }

/* Defaults */
.page-feld .feld-post{
  text-align: left;          /* Text default links */
}

.page-feld .feld-img{
  margin-left: auto;
  margin-right: auto;        /* Bild default zentriert */
}

.page-feld .feld-post[data-align="m"]{
  text-align: center;
}

.page-feld .feld-post[data-align="r"]{
  text-align: right;
}

.page-feld .feld-post[data-align="l"] .feld-img{
  margin-left: 0;
  margin-right: auto;
}

.page-feld .feld-post[data-align="m"] .feld-img{
  margin-left: auto;
  margin-right: auto;
}

.page-feld .feld-post[data-align="r"] .feld-img{
  margin-left: auto;
  margin-right: 0;
}
/* Default */
.page-feld .feld-title,
.page-feld .feld-text{
  text-align: left;
}

/* data-align steuert Text */
.page-feld [data-align="m"]{
  text-align: center;
}

.page-feld [data-align="r"]{
  text-align: right;
}

.site-footer {
  margin-top: 3rem;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-right: 1.2rem;
  text-decoration: none;
}

.footer-telegram img {
  width: 35px;      /* anpassen nach Geschmack */
  height: 35px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-telegram:hover {
  transform: translateY(-3px);
}

/* Lightbox: standardmäßig unsichtbar */
.feld-lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.78);
}

/* Wenn der Hash in der URL auf die ID zeigt -> sichtbar */
.feld-lightbox:target{
  display: block;
}

/* Klickfläche zum Schließen (ganzer Hintergrund) */
.feld-lightbox-close{
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

/* Optional: Link um das Bild herum (auch zum Schließen) */
.feld-lightbox-imglink{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: zoom-out;
}

/* Das Bild: mittig, maximal Bildschirmgröße */
.feld-lightbox-img{
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.35));
}

.work-cover-link{
  display: inline-block;
  position: relative;
  line-height: 0;
}

.work-zoom{
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,.55);
  padding: 6px 8px;
  border-radius: 999px;
}

/* Damit die action-audio Einheit wie ein normaler action-btn im actions-Row sitzt */
.action-audio{
  position: relative;
  display: inline-block;
}

/* Verhindert Sprung nach oben beim Klick auf das Icon */
.action-audio > .action-btn{
  cursor: pointer;
}

/* Tooltip (dezent) */
.tooltip::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
  background: rgba(0,0,0,.75);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 1000;
}

.tooltip::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 1000;
}

/* Audio-Popup: standardmäßig unsichtbar */
.audio-pop{
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  width: min(340px, 80vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 1000;
}

/* Player-Box (damit es nicht “nackt” ist) */
.audio-pop audio{
  width: 100%;
  display: block;
}

/* Sichtbar bei Hover (Desktop) und Focus-within (Tastatur) */
.action-audio:hover .audio-pop,
.action-audio:focus-within .audio-pop{
  opacity: 1;
  pointer-events: auto;
}

.action-audio:hover::after,
.action-audio:hover::before,
.action-audio:focus-within::after,
.action-audio:focus-within::before{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;
  border: none;
  background: none;

  line-height: 1;
}

button.action-btn {
  vertical-align: middle;
}

