/* PSG bewegt — site styles */

/* Fonts — self-hosted (GDPR-friendly) */
@font-face{font-family:"Newsreader";src:url("../assets/fonts/Newsreader-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Newsreader";src:url("../assets/fonts/Newsreader-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Newsreader";src:url("../assets/fonts/Newsreader-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Newsreader";src:url("../assets/fonts/Newsreader-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Newsreader";src:url("../assets/fonts/Newsreader-500-italic.woff2") format("woff2");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../assets/fonts/Atkinson-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../assets/fonts/Atkinson-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../assets/fonts/Atkinson-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Roboto Mono";src:url("../assets/fonts/RobotoMono-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto Mono";src:url("../assets/fonts/RobotoMono-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto Mono";src:url("../assets/fonts/RobotoMono-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#FAF8F4;font-family:"Atkinson Hyperlegible",system-ui,sans-serif;color:#5C564A;-webkit-font-smoothing:antialiased;text-wrap:pretty}
a{color:#7C6242;text-decoration:none}
a:hover{color:#6B5B45}
.nav a{color:#5C564A}
.nav a:hover{color:#7C6242}
.cta:hover{background:#6B5B45!important}
.ghost:hover{border-color:#3E5245!important;color:#2C2A24!important}
img{max-width:100%}
:focus-visible{outline:2px solid #3E5245;outline-offset:3px;border-radius:4px}

/* Hero band (practice room) — falls back to a calm sage gradient if the image is unavailable */
.hero-band{
  display:block;width:100%;height:420px;
  background:#919A83 linear-gradient(135deg,#9aa384 0%,#7c8a6e 55%,#5f6f57 100%);
  background-image:url("../assets/img/hero-band.jpg");
  background-size:cover;background-position:center 55%;background-repeat:no-repeat;
}

/* About: portrait + text, two columns on desktop */
.ueber{display:grid;grid-template-columns:minmax(0,400px) 1fr;gap:52px;align-items:center;max-width:1080px;margin:0 auto;padding:76px 40px}
.ueber-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:16px;display:block;background:#e7e3d9}
.ueber-text{max-width:580px}

/* Mobile navigation (burger) */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer}
.nav-toggle span{display:block;height:2px;width:24px;background:#2C2A24;border-radius:2px;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Responsive — overrides the inline styles on small screens only
   (hence !important). The desktop layout stays unchanged. */
@media (max-width:820px){
  .nav{padding:18px 22px!important;position:relative;flex-wrap:wrap}
  .nav-toggle{display:flex}
  .nav-links{
    display:none!important;width:100%;flex-direction:column;align-items:stretch!important;
    gap:6px!important;margin-top:16px
  }
  .nav-links.open{display:flex!important}
  .nav-links a{padding:12px 6px;font-size:17px!important}
  .nav-links a.cta{text-align:center;padding:14px 24px!important}

  #top{padding:40px 22px 44px!important}
  .eyebrow-serif{font-size:17px!important;margin-bottom:16px!important}
  .h1{font-size:40px!important}
  #top p{font-size:18px!important}
  .hero-actions{flex-direction:column}
  .hero-actions a{width:100%;text-align:center}

  .hero-band{height:240px}

  .ueber{grid-template-columns:1fr;gap:26px;text-align:center;max-width:520px}
  .ueber-photo img{max-width:320px;margin:0 auto}
  .ueber-text{max-width:none}

  .section-pad{padding:52px 22px!important}
  .svc-grid{grid-template-columns:1fr!important;gap:16px!important}
  .quote-box{padding:32px 26px!important}
  .quote-box blockquote{font-size:22px!important}
}

/* Contact: stack the card below the map early enough that the floating card
   never covers the map (or the consent placeholder's "Karte laden" button). */
@media (max-width:1000px){
  .kontakt{min-height:0!important}
  .kontakt .map-embed{position:relative;height:320px}
  .kontakt-inner{padding:0!important}
  .kontakt-card{width:100%!important;border-radius:0!important;box-shadow:none!important;padding:32px 22px!important}
  .kontakt .map-placeholder{justify-content:center;padding:24px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}

/* Map embed placeholder (loaded on consent).
   A dimmed, self-hosted preview of the location makes it look like the live
   map sits underneath; the notice + "Karte laden" button stay clearly legible
   in a small panel that is kept clear of the floating address card. */
.map-embed{position:absolute;inset:0}
.map-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding:24px 40px;text-align:center;overflow:hidden;background:#dfe3d8}
.map-placeholder::before{content:"";position:absolute;inset:0;background:url("../assets/img/map-preview.jpg") center/cover no-repeat;filter:blur(1.5px) saturate(.92);transform:scale(1.04)}
.map-placeholder::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(250,248,244,.34) 0%,rgba(62,82,69,.22) 100%)}
.map-ph-inner{position:relative;z-index:1;max-width:300px;background:rgba(250,248,244,.86);border:1px solid rgba(224,216,201,.7);border-radius:14px;box-shadow:0 6px 18px rgba(44,42,36,.12);padding:18px 20px;color:#6B6558}
.map-ph-title{font-family:'Roboto Mono',ui-monospace,monospace;font-weight:500;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#66734D;margin:0 0 8px}
.map-ph-text{font-size:13px;line-height:1.5;margin:0 0 14px;color:#6B6558}
.map-load-btn{font-weight:700;font-size:13.5px;line-height:1;padding:10px 18px;border:1.5px solid #BCC3AF;border-radius:10px;background:transparent;color:#3E5245;cursor:pointer;transition:border-color .18s,color .18s,background .18s}
.map-load-btn:hover{border-color:#3E5245;color:#2C2A24;background:rgba(62,82,69,.06)}
.map-ph-links{margin:12px 0 0}
.map-ph-links a{color:#66734D;font-size:12.5px}

/* Footer link that looks like the neighboring text links */
.linklike{background:none;border:0;padding:0;margin:0;font:inherit;color:#BFB3A2;cursor:pointer}
.linklike:hover{color:#fff;text-decoration:underline}

/* Footer: keep inline contact links in the footer's own text color */
footer a{color:inherit}
.foot-contact{text-decoration:underline;text-underline-offset:2px}
.foot-contact:hover{color:#fff}

/* Consent banner */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:1000;padding:16px}
.consent[hidden]{display:none}
.consent-box{max-width:1180px;margin:0 auto;background:#FAF8F4;border:1px solid #E0D8C9;border-radius:16px;box-shadow:0 16px 44px rgba(44,42,36,.24);padding:22px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.consent-main{flex:1 1 420px;min-width:260px}
.consent-title{font-family:"Newsreader",Georgia,serif;font-weight:500;font-size:20px;color:#2C2A24;margin:0 0 6px}
.consent-text{font-size:14.5px;line-height:1.55;margin:0;color:#5C564A}
/* Links inside running banner text must be distinguishable beyond colour alone */
.consent-text a,.booking-consent-text a{text-decoration:underline;text-underline-offset:2px}
.consent-actions{display:flex;flex-wrap:wrap;gap:10px}
.consent-btn{font-weight:700;font-size:14px;line-height:1;padding:12px 18px;border-radius:12px;border:0;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.consent-btn.cta{background:#7C6242;color:#fff}
.consent-btn.cta:hover{background:#6B5B45}
.consent-btn.ghost{background:transparent;border:1.5px solid #C9BCA7;color:#3E5245}
.consent-btn.ghost:hover{border-color:#3E5245;color:#2C2A24}
.consent-settings{flex-basis:100%;border-top:1px solid #E0D8C9;margin-top:2px;padding-top:16px;display:grid;gap:14px}
.consent-settings[hidden]{display:none}
.consent-cat{display:flex;gap:10px;font-size:14px;line-height:1.5;color:#5C564A}
.consent-cat input{margin:3px 0 0;flex:0 0 auto;accent-color:#3E5245}
.consent-cat strong{color:#2C2A24}
.consent-cat--locked{color:#8C8578}
.consent-settings-actions{display:flex;justify-content:flex-end}

@media (max-width:640px){
  .consent{padding:0}
  .consent-box{border-radius:16px 16px 0 0;border-left:0;border-right:0;border-bottom:0}
  .consent-actions{width:100%}
  .consent-actions .consent-btn{flex:1 1 auto}
}

/* Booking modal (opened by the "Termin buchen" buttons) */
.modal{width:calc(100% - 32px);max-width:560px;border:0;padding:0;background:transparent;color:#5C564A;overflow:visible}
.modal::backdrop{background:rgba(30,29,25,.55)}
.modal-inner{background:#FAF8F4;border-radius:16px;box-shadow:0 26px 64px rgba(44,42,36,.34);max-height:86vh;display:flex;flex-direction:column;overflow:hidden}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #E0D8C9}
.modal-title{font-family:"Newsreader",Georgia,serif;font-weight:500;font-size:24px;color:#2C2A24;margin:0}
.modal-close{width:40px;height:40px;flex:0 0 auto;border:0;border-radius:10px;background:transparent;color:#5C564A;font-size:26px;line-height:1;cursor:pointer;transition:background .18s,color .18s}
.modal-close:hover{background:#EFE9DE;color:#2C2A24}
.modal-body{padding:24px;overflow:auto}
.booking-consent-title{font-family:"Newsreader",Georgia,serif;font-weight:500;font-size:20px;color:#2C2A24;margin:0 0 8px}
.booking-consent-text{font-size:14.5px;line-height:1.55;margin:0 0 16px}
.booking-load-btn{font-weight:700;font-size:15px;line-height:1;padding:14px 26px;border:0;border-radius:12px;background:#7C6242;color:#fff;cursor:pointer;transition:background .18s}
.booking-load-btn:hover{background:#6B5B45}
.booking-alt{font-size:13px;line-height:1.6;color:#66734D;margin:14px 0 0}
.booking-target{min-height:120px}
.booking-soon{font-size:15px;line-height:1.6;margin:0}

@media (max-width:560px){
  .modal{width:100%;max-width:none;height:100%}
  .modal-inner{height:100%;max-height:100%;border-radius:0}
}

/* thevea booking widget: hide the vendor's floating launcher — booking is
   triggered by the site's own "Termin buchen" buttons. Revealed only as a
   fallback (js adds .thevea-fallback) if our trigger ever fails. */
oddc-bf-main-button,
oddc-bf-call-to-action{display:none!important}
html.thevea-fallback oddc-bf-main-button,
html.thevea-fallback oddc-bf-call-to-action{display:block!important}
