@font-face {
    font-family: 'ModernMuse';
    src: url('/assets/fonts/modernmuse/ModernMuse.woff2') format('woff2'),
         url('/assets/fonts/modernmuse/ModernMuse.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ParisineClair';
    src: url('/assets/fonts/parisine/ParisineClair-Regular.woff2') format('woff2'),
         url('/assets/fonts/parisine/ParisineClair-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
  /* Brand Core – aus den Website-Screenshots gemessen (Flächenfarben) */
  --brand-primary:       #a76b46; /* mittleres Terracotta-/Karamellbraun (kein Oliv/Taupe) – Blob-Flächen */
  --brand-primary-rgb: 167, 107, 70;
 	
 	--brand-milk-coffee: #dfd9d3;
 	
  --brand-primary-light: #bb774e; /* helles Kupfer-/Terracottabraun (kein Warmgrau/Creme) – Flächen, Kartenhintergründe */
 
  --brand-accent:        #a86b46; /* mittleres Terracottabraun – praktisch identisch mit --brand-primary (Δ nur 1 im Rot-Kanal) – Hover/aktiv */
  --brand-olive:        #726c4a; /* mittleres Terracottabraun – praktisch identisch mit --brand-primary (Δ nur 1 im Rot-Kanal) – Hover/aktiv */
	--brand-olive-rgb: 114, 108, 74;
	
  --brand-bg:            #fff;    /* Weiß – Seiten-Hintergrund */
  --brand-text:          #a86b46; /* mittleres Terracottabraun – Fließtext-Farbe */
  --brand-wte:           #f3f3f3;    /* Weiß – für Icons/Text auf dunklem Grund */
  --brand-wte-darker:           #ededed;
  --brand-wte-darker-rgb:    237, 237, 237;
  --brand-h:			#726c4a; /* dunkles Oliv/Moosgrün */
 
  /* Fonts */
  --font-body:    'ParisineClair', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'ModernMuse', Georgia, 'Times New Roman', serif;
  --font-heading-messi: 'ParisineClair', 'Helvetica Neue', Arial, sans-serif;
 
  --font-size-a: 18px;
  --font-size-heading-messi: 19px;
  --font-size-h: 50px;
  --font-size-h3: 24px;   /* Zwischenüberschriften (h3), gesperrt im Fließtext-Font */
   --font-size-h4: 18px;   /* Zwischenüberschriften (h3), gesperrt im Fließtext-Font */
  --font-weight-a:normal;
  --font-size-big: 9rem;
  
  --letter-spacing-a:.04em;
  --letter-spacing-b:.2em;
  --letter-spacing-c:.4em;
  --letter-spacing-h-m:.1em;
  --letter-spacing-h:.04em;
  --letter-spacing-h4: .08em;
 
  --line-height-a: 1rem;
  --line-height-p: 1.8rem;
  --line-height-h: 3.4rem;
  /* Header und Logo – Logohöhe ist an die Headerhöhe gekoppelt,
     Richtwert ca. 45% davon. Die Stufen werden weiter unten in den
     Media Queries überschrieben, alle Header-Regeln greifen auf die
     Variablen zu. */
  --header-height: 160px;
  --logo-div-height: 125px;
  --logo-height:    54px;

  /* Layout / Sections – grundlegende Gutter- und Breitenwerte, fluid per clamp() */
  --container-max-width: 1300px;                  /* harte Obergrenze der Inhaltsbreite (containermitrand) */
  --gutter:               clamp(1rem, 4vw, 3rem);  /* seitlicher Innenabstand, Mobile -> Desktop */
}
html {
font-size:var(--font-size-a);
}
body {
font-family: var(--font-body);
margin:0;
padding:0;
font-size:var(--font-size-a);
line-height:var(--line-height-a);
font-weight:normal;
background-color: var(--brand-bg);
color: var(--brand-text);
overflow-x:hidden;
width:100%;
height:100%;
display:block;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
position: relative;
}

strong {
font-weight:normal;
}

p, ul, li, h1, h2, a {
text-size-adjust: none;
-webkit-text-size-adjust:none;
-moz-appearance:none;
-webkit-appearance:none;
appearance:none;
outline:none;
hyphens:auto;
}
div.content p {
line-height:var(--line-height-p);
letter-spacing:var(--letter-spacing-a);
}

div.content .text p {
text-align:justify;

}
a:focus {
text-size-adjust:none;
-webkit-text-size-adjust:none;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
outline: none;
background-color:transparent;
}

pre {
display:none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-size:var(--font-size-h);
    letter-spacing:var(--letter-spacing-h);
    font-weight:var(--font-weight-a);
    color:var(--brand-h);
    text-transform: uppercase;
    line-height:var(--line-height-h);
}

h4 {
 font-family: var(--font-body);
    font-size: var(--font-size-h4);
    font-weight: normal;
    letter-spacing: var(--letter-spacing-h4);
    text-transform: uppercase;
    line-height: var(--line-height-p);
    color: var(--brand-primary);
    cursor: default;
    margin: 0 0 0 0em;
}

.header {
    width:100%;
    position:fixed;
    height: var(--header-height);
    top:0;
    left:0;
    z-index:30;
    display: flex;
    align-items: center;
}

.header .headerinner {
    display:flex;
    align-items: start;
    position:relative;
    background:transparent;
    height:100%;
    width:100%;
}

.header .logo {
    width:100%;
    position:relative;
    height: var(--logo-div-height);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align:center;
    display:flex;
    align-items: center;
    line-height:var(--line-height-a);
    cursor:pointer;
    z-index:300;
}

.header .logo span {
    text-transform: uppercase;
    position:relative;
    display:inline-block;
    letter-spacing:var(--letter-spacing-c);
    color:var(--brand-wte);
        cursor:pointer;
}

.header .logo span a {
color:var(--brand-wte);
text-decoration:none;

}
.header .logo span.logoschrift {
font-size:1.5rem;
letter-spacing:var(--letter-spacing-b);
}


/* =============================================================
   Logo als Bild
   Markup:
     <div class="logo" id="logo">
       <a href="..."><img src="/media/logo-nur-text.png" alt="Deine Weise Yoga"></a>
     </div>
   Die Text-Variante (span.logoschrift / span.logounterschrift) bleibt
   als Fallback im CSS stehen, falls irgendwo noch so ausgegeben wird.
   ============================================================= */

.header .logo a {
    display: block;
    line-height: 0;          /* kein Zeilenabstand unter dem Bild */
}

.header .logo a img {
    display: block;
    height: var(--logo-height);
    width: auto;                    /* Seitenverhältnis bleibt erhalten */
    max-width: min(100%, 320px);    /* Notbremse bei sehr breitem Logo */
    object-fit: contain;
}
.menu {
    position: fixed;
    right:0;
    top:0;
    width:32%;
    height:100vh;
    height:100dvh;
    background:transparent;
    z-index:15;
    padding-top:200px;
    padding-top: clamp(100px, 12vw, 220px);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

.menubu {
    position: fixed;
    top: 39px;
    right:4.5%;
    z-index:30;
}

.menubutton {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;

}

.menubutton .strich {
    display: block;
    width: 40px;
    height: 1.0px;
    background-color: var(--brand-wte);
    transition: background-color 0.3s ease;
}
.strich {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menubutton.open .strich:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}
.menubutton.open .strich:nth-child(2) {
    transform: translateY(-5.75px) rotate(-45deg);
}

.header,
.menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header.open,
.menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menu faehrt von rechts rein/raus */
.menu {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.menu.open {
    transform: translateX(0);
}

.menu.open {
    background-image: url('../../media/menuback.svg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    background-color: transparent; /* Fallback, falls SVG nicht lädt */
}

.menu.open h2 {
text-align:center;
margin-bottom: clamp(30px, 3vw, 50px);
line-height:1rem;
padding-left:1rem;
}

/* background-size: 100% 100% statt 100% (= 100% auto).
   Vorher richtete sich die Höhe der Welle nach ihrem Seitenverhältnis
   und nicht nach der Elementhöhe – je nach Viewportbreite war sie
   deshalb abgeschnitten oder ließ eine Lücke. Bei den flachen Wellen
   fällt das vertikale Strecken nicht auf. */
.header.open {
    background-image: url('../../media/header.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
    background-color: transparent; /* Fallback, falls SVG nicht lädt */
}

body.scrolled .header {
    background-image: url('../../media/header.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
    background-color: transparent; /* Fallback, falls SVG nicht lädt */
    visibility:visible;
    opacity:1;
    pointer-events: auto;
}

@media (min-width:1025px) and (max-width:1600px) {
:root {
    --header-height: 140px;
    --logo-height:    50px;
    --font-size-big: 6rem;
    --font-size-h: 2.5rem;
    --line-height-h: 3rem;
    --font-size-a: 18px;
    --line-height-p: 1.6rem;
}

.menu {

    padding-top: clamp(100px, 10vw, 180px);
    }

.header.open {

    background-size: 110%;
    background-color: transparent; /* Fallback, falls SVG nicht lädt */
}

body.scrolled .header {

    background-size: 110%;
    background-color: transparent; /* Fallback, falls SVG nicht lädt */

}
.header .logo {
width: 100%;
position: relative;
}

/* "stretch" ist kein gültiger Wert für background-size – der Browser
   ist auf "auto" zurückgefallen und hat die Grafik in Originalgröße
   gezeichnet. */
.header.open {
background-image: url('../../media/header.svg');
background-repeat: no-repeat;
background-position: bottom center;
background-size: 110%;
background-color: transparent;
}
.menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: transparent;
    z-index: 15;
    padding-top: 200px;
    padding-top: clamp(100px, 12vw, 220px);
    padding-left:5%;
}
}




.content {
position:relative;
width:100%;
height:auto;
top:0;
z-index:10;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display:block;
}

.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* left+right:0 statt nur left:gutter, sonst hat margin-inline:auto
   nichts zum Verteilen und der Block klebt links statt zentriert auf
   derselben Linie wie section .container zu liegen. */
.slide-overlay.textrahmen {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4%;
    z-index: 2;
    color: var(--brand-wte);
    width: calc(100% - 3.5 * var(--gutter));
    max-width: var(--container-max-width);
    margin-inline: auto;
}

.slide-overlay p {
    margin: 0 0 6px 0px;

    color: var(--brand-wte);
}


.button {
    display: inline-block;
    padding: 6px 16px;
    background:var(--brand-primary);
    color: #333;
    text-decoration: none;
    border-radius: 2px;
font-size:1rem;
    letter-spacing: 0.05em;
	color:var(--brand-wte);
}

.button:hover {
    background: rgba(var(--brand-primary-rgb), 0.85);
}

.button.oliv {
    display: inline-block;
    padding: 6px 16px;
    background:var(--brand-olive);
    color: #333;
    text-decoration: none;
    border-radius: 2px;
font-size:1rem;
    letter-spacing: 0.05em;
	color:var(--brand-wte);
}

.button.oliv:hover {
    background: rgba(var(--brand-olive-rgb), 0.85);
}

.button.white {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand-wte);
    color: #333;
    text-decoration: none;
    border-radius: 2px;
font-size:1rem;
    letter-spacing: 0.05em;
	color:var(--brand-primary);
}

.button.white:hover {
    background: rgba(255, 255, 255, 0.85);
}
/* Direkt aufeinanderfolgend (direkter Nachbar) */
.button + .button {
  margin-top: 15px;   /* z.B. Abstand zwischen zwei Buttons */
}

.slide-overlay.logo {
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 330px;
    max-width: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    position:absolute;
    transition:0.5s;
}
.slide-overlay .button {
margin-bottom:20px;

}
body.open .slide-overlay.logo {
opacity:0;
 width: 270px;
    height: 270px;
}


.slide-overlay.logo figure {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-overlay.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

[data-eversports-widget-id] {
	width: calc(100% - 2 * var(--gutter));
    max-width: var(--container-max-width);
    margin-inline: auto;
    box-sizing: border-box;
    
}

@media (max-width:1025px) {

.slide-overlay.logo {
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position:absolute;
    transition:0.5s;
}


}


/* =============================================================
   Sections – Grundlagen (containermitrand / conatinerrandabfallend)
   Nur Breite/Gutter der Section & Container. Positionierung einzelner
   Elemente (feld1, feld2, deco-1/2 ...) erfolgt je Artikel in
   specialREX_ARTICLE_ID.css.
   ============================================================= */
section.containermitrand,
section.conatinerrandabfallend {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding-top:5rem;
    padding-bottom:5rem;
}

/* Variante "mit Rand": Inhalt bleibt fluid, aber auf Lesebreite begrenzt
   und bekommt seitlichen Gutter – Section selbst kann trotzdem
   vollflächig (z.B. für Hintergrundbilder) bleiben.
   Gutter steckt in width (calc), nicht in padding: absolut positionierte
   Kinder (z.B. .feld0-.feld5 in special6.css) beziehen ihre %-Werte auf
   die Padding-Box des Containers – bei padding-inline würde deren 0%/100%
   trotzdem an der äußeren Kante liegen (padding wird bei position:absolute
   NICHT als Inset behandelt). Mit width:calc(100% - 2*gutter) ist der
   Gutter bereits Teil der Box selbst, wodurch auch die %-Positionierung
   der absoluten Felder ihn automatisch respektiert. */
section.containermitrand .container {
    width: calc(100% - 2 * var(--gutter));
    max-width: var(--container-max-width);
    margin-inline: auto;
    box-sizing: border-box;
          padding: 0 var(--gutter);  
}

/* Variante "randabfallend": kein Gutter, Container läuft bis an den
   Section-/Viewport-Rand. */
section.conatinerrandabfallend .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
}

[data-eversports-widget-id] {
	width: calc(100% - 2 * var(--gutter));
    max-width: var(--container-max-width);
    margin-inline: auto;
    box-sizing: border-box;
          padding: 0 var(--gutter);  
}

/* =============================================================
   Footer (.footer section – containermitrand, Variante "mehrspaltig"
   mit 4 Feldern: Adresse/Kontakt, Links, Instagram-Icon,
   d-footer-back.png als Wasserzeichen hinter feld0)
   ============================================================= */
.footer section.containermitrand {
    /* Fläche immer exakt so hoch wie die Section – sonst wächst die
       Grafik mit der Viewportbreite, während die Section-Höhe vom
       Inhalt bestimmt wird. Mobil (gestapelte Spalten) fiel das
       besonders auf. */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--brand-wte);
}
.footer section.containermitrand {
width: 100%;
position: relative;
box-sizing: border-box;
padding-top: 2rem;
padding-bottom: 1.5rem;
}
.footer section .container.mehrspaltig {
    position: relative; /* Bezugsrahmen für feld3 (position:absolute) */
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer section .mehrspaltig p {
    color: var(--brand-wte);
    line-height: var(--line-height-p);
    letter-spacing: var(--letter-spacing-a);
    margin: 0;
}

/* Feld0: "Deine Weise Yoga" + Adresse/Kontakt.
   z-index sorgt dafür, dass der Text über feld3 (Wasserzeichen) liegt.
   Eigenes Flex mit justify-content:flex-end, damit der Text (bei
   min-height:200px) genau wie feld1/feld2 unten in der Zeile sitzt,
   statt oben in der Box zu kleben. */
.footer section .mehrspaltig .feld0 {
    position: relative;
    z-index: 1;
    flex: 1 1 360px;
    max-width: 720px;
    min-height: 140px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.footer section .mehrspaltig .feld0 strong {
letter-spacing:var(--letter-spacing-b);
margin-top:10px;
position:relative;
font-weight:400;
display:inline-block;
}

.footer section .mehrspaltig .feld0 span.adressblock {

display:block;
margin-top:10px;
text-align:justify;
width:85%;
}

/* Feld1: Links (Gutscheine / Studiovermietung) */
.footer section .mehrspaltig .feld1 {
    flex: 0 1 auto;
}

/* Feld2: Instagram-Icon, rechtsbündig */
.footer section .mehrspaltig .feld2 {
    flex: 0 0 auto;
    margin-left: auto;
}

.footer section .mehrspaltig .feld2 .text figure {
    margin: 0;
}

.footer section .mehrspaltig .feld2 img {
    width: 38px;
    height: 38px;
    display: block;
    top:-3px;
    position:relative;
}


.footer section .mehrspaltig .feld3 {
    position: absolute;
    top: 15%;
    bottom: 0;
    left: -3%;
    z-index: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.footer section .mehrspaltig .feld3 .text,
.footer section .mehrspaltig .feld3 figure {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 80px;
}

.footer section .mehrspaltig .feld3 img {
    display: block;
    height: 100%;

    width: 80px;
    opacity:.8;
}
.footer a {
color:var(--brand-wte);
text-decoration: none;
}
.footer .adressblock {

}

body .footer {
z-index:200;
}



body .footer section {
z-index:200;
}


body.open .footer section {
z-index:14;
}

body.open .footer {
z-index:14;

}
article section:first-of-type {
padding-top:5rem;
position:relative;

}
article section:last-of-type {
padding-bottom:7rem;
position:relative;

}

@media (max-width: 1025px) {
    :root {
        --header-height: 100px;
        --logo-height:   46px;
        --logo-div-height:   100px;
        --line-height-h: 2rem;
        --font-size-h:27px;
        --font-size-big: 3rem;
    }
h1, h2, h3 {
    font-family: var(--font-heading);
    font-size:var(--font-size-h);
    letter-spacing:var(--letter-spacing-h);
    font-weight:var(--font-weight-a);
    color:var(--brand-h);
    text-transform: uppercase;
    line-height:var(--line-height-h);
}
section.containermitrand,
section.conatinerrandabfallend {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding-top:2rem;
    padding-bottom:2rem;
}
article section:first-of-type {
padding-top:3rem;
position:relative;

}
article section:last-of-type {
padding-bottom:2rem;
position:relative;

}

    .menubu {
        top: 22px;
        right: 6%;
    }

    .menu {
        width: 100%;
        padding-top: 150px;
        background-color: var(--brand-primary);
    }

    .menu.open {
        background-size:cover;
        background-position: top center;
        background-color:var(--brand-milk-coffee);
    }


	.header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background-image: url(../../media/header-mobil.svg);
        background-repeat: no-repeat;
        background-size: 145%;
        background-position: bottom center;
        background-color: transparent;
    }
    .header.open {
    background-image: url(../../media/header-mobil.svg);
        background-size: 145%;
        background-position: bottom center;
    }
	body.scrolled .header {
	background-image: url(../../media/header-mobil.svg);
		background-size: 145%;
        background-position: bottom center;
	
	}
.header .logo {
margin-top:-5px;
}
}
br.nurm { display:none; }
.nurd { display:inline; }

@media (max-width: 1025px) {
    :root {
    	  --font-size-a: 17px;
    	  --line-height-p:1.5rem;
    	  --font-size-heading-messi: 17px;
    	  --font-size-h3:20px:
    }
.nurd { display:none; }
	body.scrolled .header {
	background-image: url(../../media/header-mobil.svg);
		background-size: 145%;
        background-position: bottom center;
	
	}
    .footer section .container.mehrspaltig {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 0 0;
        padding: 0rem var(--gutter);
    }
	.footer section.containermitrand {
    /* Fläche immer exakt so hoch wie die Section – sonst wächst die
       Grafik mit der Viewportbreite, während die Section-Höhe vom
       Inhalt bestimmt wird. Mobil (gestapelte Spalten) fiel das
       besonders auf. */
       background-image:url(../../media/footer-mobil.svg)!important;
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--brand-wte);
	}
    .footer section .mehrspaltig .feld0 {
        max-width: 100%;
    }

    .footer section .mehrspaltig .feld2 {
        margin-left: 0;
    }
	
	.footer section .mehrspaltig .feld0 {
position: relative;
z-index: 1;
flex: 1;
max-width: 720px;
min-height: 140px;
padding-top: 0px;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
	.footer section .mehrspaltig .feld0 span.adressblock {
display: block;
margin-top: 15px;
text-align: justify;
width: 100%;
}
    /* Wasserzeichen bezieht sich auf die volle (jetzt gestapelte) Container-
       höhe -> würde nicht mehr nur hinter feld0 sitzen. Auf Mobile daher
       ausgeblendet statt falsch positioniert. */
    .footer section .mehrspaltig .feld3 {
        display: none;
    }
    br.nurm { display:block; }
    .mhide {
	display:none;
	}
}
button:focus {
  outline: none;
  box-shadow: none;
}

@media (min-width: 1025px) and (max-width:1200px) {
.footer {
font-size: 17px
}
.footer section .mehrspaltig .feld0 {
position: relative;
z-index: 1;
flex: 1 260px;
max-width: 700px;
min-height: 140px;
padding-top: 0px;
display: flex;
flex-direction: column;
justify-content: flex-end;
width:670px;
}
}