/*
Theme Name: Feldenkrais WP Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple, lightweight WordPress theme with demo content created on activation.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feldenkrais-wp-theme
Tags: blog, custom-menu, one-column, accessibility-ready
*/
/*section#block-10{display:none;}*/
:root{
  /*--bg:#ffffff;*/
  --text:#1a1a1a;
  --muted: #2e7cbb;
  --primary:#5d9ed3;
  --contrast: #a17e3B;
  --border:#e8e8e8;
  --card:#fafafa;
  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height: 100%; }
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Museo Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 500;  
  background-image: url("images/bein_halten.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}


a{ color:var(--muted); text-decoration:none; }
a:hover{ color:var(--contrast); }
strong{font-weight:900;}
h2,h3 {color: var(--muted);font-weight: 900;font-size:1.4em;
line-height:1.0;}
h1{
font-weight: 900;
font-size: clamp(2rem, 1.2vw + 1rem,  2.5rem);
line-height:1.0;
margin-bottom:0.5em;
color: var(--muted);
text-wrap:balance;
}

.container{
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto;
  background: transparent;
  border-radius: 1.5rem;
  padding: 2rem;
}

/*img#kreise{position:absolute;right:-0.1em;top:-130px;width: clamp(10rem, 20vw, 20rem);height:auto;z-index:800;}*/



.header-extra-svg{position:relative;width: clamp(10rem, 18vw, 18rem);height:auto;margin-top:-6.8rem;margin-left:13em;}


.site-header{
  border-bottom:1px solid var(--border);
  
  padding-top:0px;
background: rgba(255,255,255,1);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(10rem, 14vh, 20rem);
  z-index: 1000;
}
.site-header{ height:  11em;}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0;
  gap:1rem;
 
}
.site-branding{height:10em;}
.site-title{
  margin:0;
  font-size:1.1rem;
  letter-spacing:0.2px;
}
.site-title a{ color:var(--text); }
.site-description{
  margin:0.1rem 0 0;
  color:var(--muted);
  font-size:0.9rem;
}
.nav-wrapper{
  position: relative;
  margin-top:-0.5em;
}

.nav{
  display:flex;
  gap:0.9rem;
  flex-wrap:wrap;
  align-items:center;
}
.nav ul{
  list-style: none;        /* keine Bullets */
  margin: 0;
  padding: 0;

  display: flex;           /* horizontal */
  align-items: center;
  gap: 1rem;
}
.nav a{
  padding:0.4rem 0.6rem;
  border-radius:0.5rem;
  font-size: 1.1rem;
  text-transform:uppercase;
}
.nav a:hover{
  background:var(--card);
  text-decoration:none;
}

.main{
  padding:2rem 0;
}



.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:1.25rem;
}


.card, .widget_block {
  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-radius:0.8rem;
  padding:1.25rem;
}
.kursliste-item{  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  border-radius:0.8rem;
  padding:1.25rem;margin-bottom:0.8em; }
.card h2, .card h3{ margin-top:0; }
.widget_block {margin-bottom: 1rem;}
.post-card{
  border:1px solid var(--border);
  border-radius:0.8rem;
  overflow:hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}
.post-card .inner{
  padding:1.2rem;
}
.post-meta{
  color:var(--muted);
  font-size:0.9rem;
}

.wp-post-image{
  width:100%;
  height:auto;
  display:block;
}

/* Sidebar Kurse: Kontaktformular kompakt */
.sidebar .wpcf7 p { margin: 0 0 .6rem 0; }
.sidebar .wpcf7 input[type="text"],
.sidebar .wpcf7 input[type="email"],
.sidebar .wpcf7 input[type="tel"],
.sidebar .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
}

.sidebar .wpcf7 input[type="submit"]{
  width: 100%;
}


/* Sidebar Karten – Kurse */
.kurs-sidebar-card {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px;
  background: #fff;
}

.kurs-sidebar-card h3 {
  margin: 0 0 .75rem 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Telefon-Link */
.kurs-telefon-link {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

/* Formular kompakt */
.kurs-sidebar-card .wpcf7 p {
  margin: 0 0 .6rem 0;
}

.kurs-sidebar-card .wpcf7 input,
.kurs-sidebar-card .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
}

.kurs-sidebar-card .wpcf7 input[type="submit"] {
  width: 100%;
}
.kurs-form-betreff input[readonly]{
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  font-weight: 600;
}

/*---------------------*/

.site-footer{
    margin-top: auto;
  border-top:1px solid var(--border);
  padding:1rem 0;
  color:var(--muted);
  font-size:0.95rem;
  background: rgba(255,255,255,1);
}
.footer-menu{list-style: none;      /* keine Bullets */
  margin: 0;
  padding: 0;
  display: flex;         /* horizontal */
  gap: 1rem;
  flex-wrap: wrap;     
}
  .footer-inner{
  display: flex;
  align-items: center;        /* gleiche Höhe */
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy{
  margin: 0;
  text-align: left;
}
.footer-icon svg{
  width: auto;
  height: 36px;
  max-width: 220px;
  display: block;
  justify-content: flex-start;
}



.button{
  display:inline-block;
  padding:0.6rem 1rem;
  border-radius:0.8rem;
  background:var(--primary);
  color:#fff;
  border:0;
}
.button:hover{
  opacity:0.92;
  text-decoration:none;
}

.button.kursliste-details{position:absolute; top: 1rem; right: 1rem;}
.aside .button.kursliste-details{position:absolute; bottom: 1rem; right: 1rem;}
.kursliste-actions{position:absolute; top:0; right:0;}
.wpcf7-form input.wpcf7-submit {
  display:inline-block;
  padding:0.6rem 1rem;
  border-radius:0.8rem;
  background:var(--primary);
  color:#fff;
  border:0;
} 
.card.contactinfo {
  margin-bottom: 1rem;
}

/* NUR Sidebar/Widget */
.widget .sidebar-post{
  display:flex;
  flex-direction:column;
}

 .workshopliste-actions{
  position:static !important;     /* raus aus absolute */
  margin-top:auto;               /* nach unten */
  display:flex;
  justify-content:flex-end;       /* nach rechts */
  padding-top:0.8rem;
}
 .button.workshopliste-details{
  position:static !important;     /* sicherheitshalber */  
}

.widget .kursliste-fakten, .widget .kursliste-hinweis{display:none;}
.widget .kursliste-actions{  position:static !important;     /* raus aus absolute */
  margin-top:auto;               /* nach unten */
  display:flex;
  justify-content:flex-end;       /* nach rechts */
  padding-top:0.8rem;
}
.widget .kursliste-actions .button{position:static !important; }
.widget .kursliste-item{min-height:100px;}
.widget .kursliste-actions{  position:static !important;     /* raus aus absolute */
  margin-top:auto;               /* nach unten */
  display:flex;
  justify-content:flex-end;       /* nach rechts */
  padding-top:0.8rem;}

.cite-card{
border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-radius:0.8rem;
  padding:1rem 0.6rem;}
.quote { position: relative; min-height: 6rem; }
.quote p{padding:0px; border: 0px solid #f00;}
.quote-mark { position: absolute; width: 64px; opacity: 0.4; z-index: 2; }
.quote-mark--open { top: 10px; left: 10px; width: 600px;}
.quote-mark--close { right: -460px; bottom: -50px;width: 600px; }

.quote-caption{text-align: right;margin-top:-20px;padding-right:10px;}

hr{ border:0; border-top:1px solid var(--border); margin:2rem 0; }


/*Anpassungen*/
/* ===== Hamburger Navigation ===== */
.site-branding{
  display: flex;
  flex-direction: column;
}


/*----*/
a.site-logo {  margin-left: -30px;
  margin-top: -4.2em;
}
.site-logo svg{
  height: 80px;
  width: auto;
  display: block;
}


/*----*/

@media (max-width: 768px){
  .site-logo img{
    max-height: 50px;
  }
  .site-icon svg{
    position:absolute;
    top:-50px;
    left:300px;
    height: 200px;
    width:auto;
  }


}





/* Button */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Menü */
@media (max-width: 860px){
  .nav-toggle{
    display: flex;
  }
  .nav ul{
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-wrapper{
  position: fixed;
  top:4em;
  right: 2em;
  padding: 2em;
}

  /* aus Desktop-Nav wird Dropdown */
  .nav{
    position: fixed;
    top: 4rem;
    right: 0.3em;

    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 200px;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.5rem;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease;
  }

  .nav a{
    padding: 0.7rem 0.9rem;
    border-radius: 0.6rem;
  }

  .nav-wrapper.open .nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Hamburger -> X */
  .nav-wrapper.open .nav-toggle span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .nav-wrapper.open .nav-toggle span:nth-child(2){
    opacity: 0;
  }
  .nav-wrapper.open .nav-toggle span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Fullwidth-Seite: Grid auf 1 Spalte */


@media (min-width: 860px){

    /* Standard: Content + Sidebar nebeneinander */
  .grid{
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

    /* Fullwidth-Templates: nur 1 Spalte */
  body.page-template-page-full-width .grid,
  body.post-template-single-full-width .grid{
    grid-template-columns: 1fr;
  }
  
  }

  /*Sidebar Posts*/
  .sidebar-post {
  margin-bottom: 1.5em;
}

.sidebar-post-title {
  font-size: 1em;
  margin: 0 0 0.3em;
}

.sidebar-post-excerpt {
  font-size: 0.9em;
  line-height: 1.4;
}
.sidebar-readmore a::after {
  content: " →";
  display: inline-block;
  margin-left: 0.2em;
  transition: transform 0.2s ease;
}

/*Individuelle Formatierungen*/
.sidebar-image{width:100%;height:auto;}
.copyright{font-size:0.6rem; line-height:110%; text-align: right; margin-top:-2px;}
.fototitle{font-size:1.2em; font-weight:700;text-align:right;line-height:110%;}
.fototitle span{font-size:1em; font-weight:500;}



