:root{
  --bg:#000;
  --text: rgba(255,255,255,0.88);
  --text-strong:#fff;
  --muted: rgba(255,255,255,0.72);
  --hair: rgba(255,255,255,0.12);
  --btn: rgba(255,255,255,0.10);
  --btn-hover: rgba(255,255,255,0.16);
  --radius: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size:18px;
  line-height:1.7;
}

a{color:inherit}
a:hover{opacity:.92}

header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.header-inner{
  width:100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px 14px;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}


.menu-toggle{
  display:none;
  border:1px solid var(--hair);
  background: rgba(255,255,255,0.04);
  color: var(--text-strong);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 16px;
  cursor:pointer;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap: wrap;
  gap:8px;
}

.nav a{
  text-decoration:none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size:20px;
  color: rgba(255,255,255,0.86);
  border: 1px solid transparent;
}
.nav a:hover{background: var(--btn)}
.nav a.active{
  border-color: var(--hair);
  background: rgba(255,255,255,0.08);
  color: var(--text-strong);
}

main{
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 22px 0;
}

.section{
  width:100%;
  margin: 0 auto;
  padding: 24px 0 12px;
}

h1,h2,h3{
  margin:0 0 10px 0;
  color: var(--text-strong);
  letter-spacing: 0.02em;
  line-height:1.15;
}
h1{font-size: clamp(34px, 4.2vw, 56px);}
h2{font-size: clamp(22px, 2.2vw, 30px);}
h3{font-size: 20px;}

.claim{margin: 0 0 14px 0; color: var(--text);}
.muted{color: var(--muted)}

.card{
  width:100%;
  border:1px solid var(--hair);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 18px 18px;
}

.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,0.06);
  text-decoration:none;
  color: var(--text-strong);
  cursor:pointer;
}
.btn:hover{background: var(--btn-hover)}
.btn.primary{background: rgba(255,255,255,0.12);}

footer{
  margin-top: 30px;
  padding: 14px 22px 26px;
  border-top: 1px solid var(--hair);
  color: rgba(255,255,255,0.70);
}
footer .footer-inner{
  max-width:1120px;
  margin:0 auto;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-links-title{
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.footer-links a{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: rgba(255,255,255,0.82);
}

.footer-links a:hover{
  background: rgba(255,255,255,0.08);
}

#legal-details{
  margin-top: 12px;
  border:1px solid var(--hair);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
}
#legal-details summary{
  cursor:pointer;
  font-weight:700;
  color: rgba(255,255,255,.85);
  list-style:none;
}
#legal-details summary::-webkit-details-marker{display:none}
#legal-details[open] summary{margin-bottom:10px}

.legal-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

/* Trailer full-bleed */
.full-bleed{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}
.video-wrap{
  border-top:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
  background: rgba(255,255,255,0.02);
}
video{width:100%; height:auto; display:block;}

/* Mobile */
@media (max-width: 860px){
  body{font-size:16.5px; line-height:1.65;}

  .header-inner{
    padding: 14px 16px 12px;
    gap: 10px;
  }
  
  .nav.open{display:flex}
  .nav a{width:100%; justify-content:center; font-size:18px; padding: 12px 14px;}
  main{padding: 22px 16px 0;}
}

/* --- Layout Optimierung Dez 2025 --- */
.site-wrapper, .content, main {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

header {
    text-align: center;
    padding: 48px 0 32px;
}

header img, .logo img {
    max-width: 420px;
    width: 100%;
    margin: 0 auto 24px;
    display: block;
}

nav {
    margin-top: 16px;
}

nav ul {
    justify-content: center;
    gap: 32px;
}

nav a {
    font-size: 1.1rem;
}

.trailer video {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}


/* --- Banner exakt so breit wie Menüband --- */
header {
    max-width: 1100px;
    margin: 0 auto;
}

header img, .logo img {
    width: 100%;
    max-width: 100%;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
}


/* === FINALE HEADER-FIX: Bild = Menübreite === */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

header {
    text-align: center;
}

header img,
.logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 24px;
}

nav {
    width: 100%;
}

nav ul {
    display: flex;
    justify-content: center;
}

main,
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.trailer video {
    width: 100%;
    display: block;
}



/* === Layout Harmonisierung: Header/Nav/Main exakt gleich breit === */
:root{
  --container: 1200px;
  --gutter: 56px;
}

@media (max-width: 1024px){
  :root{ --gutter: 20px; }
}

/* Ein Container für Header, Nav, Content, Footer */
.header-inner,
main,
footer .footer-inner,
.content,
.site-wrapper{
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}

/* === Typografie: ruhiger Fliesstext / Blocksatz (nur Desktop) === */
p, .claim, .muted{
  text-align: left;
  text-wrap: pretty;
}

@media (min-width: 900px){
  p, .claim, .muted{
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

/* Auf sehr schmalen Screens bleibt linksbündig für bessere Lesbarkeit */
@media (max-width: 520px){
  p, .claim, .muted{
    text-align: left !important;
    hyphens: manual;
  }
}



/* === V6: Logo/Banner exakt Containerbreite === */
.brand{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand img{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display:block;
}

/* Nav ebenfalls exakt Containerbreite */
.nav{
  width: 100%;
}

/* etwas Luft unter Logo */
.header-inner{ gap: 14px; padding-top: 22px; padding-bottom: 16px; }


/* === V7: Inhalt exakt so breit wie Banner & Menü (gleicher Container) === */
main, .section, .card, footer .footer-inner, .header-inner{
  max-width: var(--container) !important;
}


/* === V7: Fliesstext-Rhythmus === */
.claim{ margin: 0 0 14px 0; }
.section .muted{ font-size: 1.02em; }
.section p{ margin-top: 0; }



/* === V8: Keynote Layout mit Foto rechts (Desktop) === */
.keynote-hero { padding-top: 10px; }
.keynote-layout{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.keynote-image{
  display:flex;
  justify-content:flex-end;
}

.keynote-image img{
  width: 100%;
  max-width: 420px;
  height: auto;
  display:block;
  border-radius: 14px;
  filter: grayscale(100%);
  opacity: 0.98;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.keynote-image img:hover{
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Mobile: Foto unter Text */
@media (max-width: 900px){
  .keynote-layout{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .keynote-image{
    justify-content: center;
  }
  .keynote-image img{
    max-width: 320px;
  }
}


/* === V9: Banner ~60% der bisherigen Grösse (Logo + Header-Höhe) === */
.header-inner{ padding-top: 14px !important; padding-bottom: 12px !important; }
.brand img{
  width: 60% !important;
  max-width: 60% !important;
  height: auto !important;
  margin-bottom: 14px !important;
}
@media (max-width: 900px){
  .brand img{ width: 78% !important; max-width: 78% !important; }
}

/* === V9: Keynote-Bild so hoch wie Titel+Text (strecken) === */
.keynote-layout{ align-items: stretch !important; }
.keynote-text{ align-self: stretch; }
.keynote-image{ align-self: stretch; align-items: stretch; }
.keynote-image img{
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain;
}

/* === V9: Social Icons === */
.social-links{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top: 14px;
}
.social-links a{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.social-links a:hover{ background: rgba(255,255,255,0.10); }
.social-links svg{ width:18px; height:18px; fill: rgba(255,255,255,0.9); }

.header-social-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-social-links a{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.header-social-links a:hover{
  background: rgba(255,255,255,0.10);
}

.header-social-links svg{
  width:18px;
  height:18px;
}


/* === V10: Keynote Foto exakt so hoch wie Textblock links === */
.keynote-layout{ align-items: stretch !important; }
.keynote-text{ align-self: stretch; }
.keynote-image{ align-self: stretch; height: 100%; display:flex; }
.keynote-image img{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 14px;
}
@media (max-width: 900px){
  .keynote-image{ height: auto; }
  .keynote-image img{ height: auto !important; width: 100% !important; object-fit: contain !important; }
}

/* === V10: Trailer Video immer Container-breit (auch beim Abspielen) === */
.video-wrap{
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding-left: var(--gutter, 56px);
  padding-right: var(--gutter, 56px);
}
@media (max-width: 1024px){
  .video-wrap{ padding-left: 20px; padding-right: 20px; }
}
.video-wrap video{
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* === V11: Bild-Beschriftung beim Hover (Caption Overlay) === */
.figure-hover{
  position: relative;
  width: 100%;
  height: 100%;
}

.figure-hover img{
  display:block;
  width:100%;
  height:100%;
}

.figure-hover .caption{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.figure-hover:hover .caption,
.figure-hover:focus-within .caption{
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: Caption immer sichtbar (dezent), da kein Hover */
@media (hover: none){
  .figure-hover .caption{
    opacity: 1;
    transform: none;
    background: rgba(0,0,0,0.58);
  }
}

/* Header Tooltip (kleine Beschriftung beim Hover) */
.brand{
  position: relative;
}
.brand .brand-tooltip{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: -10px;
  translate: 0 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
  z-index: 5;
}
.brand:hover .brand-tooltip{ opacity: 1; }
@media (max-width: 600px){
  .brand .brand-tooltip{
    white-space: normal;
    width: min(92vw, 520px);
    text-align: center;
  }
}

/* === V12: Accessibility (Skip-Link + Fokus sichtbar) === */
.skip-link{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.95);
  text-decoration:none;
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

:focus-visible{
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 4px;
}

/* === V15: Trailer Video – bessere Einbettung + Beschriftung === */
.trailer-figure{
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.trailer-figure video{
  width: 100% !important;
  height: auto !important;
  max-height: 68vh;
  display: block;
}

.trailer-hero-video{
  aspect-ratio: 19 / 9;
  width: min(100%, 980px);
  margin: 0 auto;
}

.trailer-hero-video video{
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
}

.home-video-section{
  padding-top: 10px !important;
}

.home-header-video{
  width: 100%;
  padding: 18px 22px 0;
}

.home-header-video-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.home-header-video .trailer-hero-video{
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
}

.media-panel{
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(40,31,16,0.9), rgba(18,18,18,0.94));
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.media-panel-copy h2{
  margin-bottom: 12px;
}

.media-panel-copy .muted{
  margin-bottom: 0;
}

.home-video-section .video-wrap{
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-video-section .trailer-hero-video{
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
}

.trailer-figure .caption{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.trailer-figure:hover .caption,
.trailer-figure:focus-within .caption{
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: Caption immer sichtbar (dezent), da kein Hover */
@media (hover: none){
  .trailer-figure .caption{
    opacity: 1;
    transform: none;
    background: rgba(0,0,0,0.58);
  }
  .trailer-figure video{
    max-height: none;
  }
}

/* Layout: two columns (text + portrait) */
.two-col{display:block}
@media (min-width: 900px){
  .two-col{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:start}
}
.portrait-card{border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);padding:12px}
.portrait-card img{display:block;width:100%;height:auto;border-radius:999px;border:2px solid rgba(255,255,255,.18);background:#000}
.portrait-card figcaption{font-size:.95rem;color:rgba(255,255,255,.72);margin-top:10px}

/* Social links */
.social a[aria-disabled="true"]{opacity:.45;pointer-events:none}
.social a[aria-disabled="true"] svg{filter:grayscale(1)}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

main h1{margin-top:0}


/* ===== Layout tightening & consistency overrides (v17) ===== */
:root{
  --content-max: 1100px;
  --content-pad: 48px;
}

/* Make header/brand/nav tighter and centered */
header{
  padding: 14px 0 10px !important;
}
header .header-inner{
  max-width: var(--content-max) !important;
  margin: 0 auto !important;
  padding: 0 var(--content-pad) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
header .brand{
  margin: 0 !important;
}
header .brand img{
  width: 100% !important;
  max-width: 560px !important; /* matches menu width nicely */
  height: auto !important;
  display: block !important;
}
header nav{
  margin-top: 0 !important;
}
header nav ul{
  justify-content: center !important;
  gap: 28px !important;
}
header nav a{
  font-size: 1.05rem !important;
}

/* Reduce whitespace between nav and page title/content */
main.page{
  padding-top: 18px !important;
}
.container{
  max-width: var(--content-max) !important;
  margin: 0 auto !important;
  padding-left: var(--content-pad) !important;
  padding-right: var(--content-pad) !important;
}

/* About title + small portrait on the right */
.page-head-with-avatar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.page-head-with-avatar h1{
  margin: 0;
}
.avatar{
  margin: 0;
  flex: 0 0 auto;
}
.avatar img{
  width: 190px;
  height: 190px;
  border-radius: 999px;
  object-fit: cover;
}

/* Disabled social icons look */
.social a[aria-disabled="true"]{
  opacity: .45;
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 820px){
  :root{ --content-pad: 20px; }
  header .brand img{ max-width: 420px !important; }
  header nav ul{ gap: 18px !important; }
  header nav a{ font-size: 1rem !important; }
  .page-head-with-avatar{ flex-direction: column; align-items: flex-start; }
  .avatar img{ width: 150px; height: 150px; }
}


/* === V18: Fliesstext statt Blocksatz === */
p, li, .content p, .content li, .section p, .section li{
  text-align: left !important;
  text-justify: auto !important;
  hyphens: auto;
}

/* === V22: Kontakt – Buttons neben Titel === */
.contact-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.contact-header .contact-buttons{
  display:flex;
  gap:12px;
}
@media (max-width: 768px){
  .contact-header{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* === V23: Kontakt – Buttons rechts neben Titel + Social Icons unten === */
.contact-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.contact-header .btn-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width: 768px){
  .contact-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .contact-header .btn-row{
    justify-content:flex-start;
    width:100%;
  }
}

/* === V24: Feinschliff – Überschriften ruhiger + weniger Umbruch === */
h1{
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0.2px;
}
.page-title{
  margin-top: 0;
}
@media (max-width: 768px){
  h1{
    font-size: 1.75rem;
  }
}

/* === V24: Einheitliche Inhaltsbreite === */
.container, .content, main{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* === V25: Über mich – grosses Bild rechts wie Keynote === */
.about-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:flex-start;
}
.about-image img{
  width:100%;
  height:auto;
  border-radius:12px;
}
@media (max-width: 900px){
  .about-layout{
    grid-template-columns:1fr;
  }
}

/* === V28: Go-Live – Accessibility & Konsistenz === */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  z-index:9999;
  border-radius:10px;
  background:#fff;
  color:#000;
}
a:focus-visible, button:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}

/* === V29: Design-Feinschliff fuer das neue breite Logo === */
header{
  padding: 0 !important;
}

header .header-inner{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

header .brand{
  width: auto;
  justify-content: flex-start;
  gap: 14px;
  flex: 0 0 auto;
}

header .brand img{
  max-width: 78px !important;
  width: 78px !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 18px;
  flex: 0 0 auto;
}

header .nav{
  justify-content: flex-end !important;
  gap: 6px;
  flex: 1 1 auto;
}

.header-social-links{
  margin-right: auto;
}

.brand-tooltip{
  display: none !important;
}

main{
  padding-top: 18px !important;
}

.section{
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}

.keynote-hero{
  padding-top: 0 !important;
}

.keynote-layout{
  gap: 36px !important;
}

.page-title{
  margin-bottom: 12px;
  text-align: left;
}

.contact-header{
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: left;
  align-items: flex-start;
}

.contact-header .btn-row{
  justify-content: flex-start !important;
}

.contact-overview{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: start;
}

.contact-overview-copy,
.contact-overview-map{
  min-width: 0;
}

.price-list{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.map-embed{
  position: relative;
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.map-embed iframe{
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.map-embed-action{
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.price-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.price-row strong{
  color: #fff;
  white-space: nowrap;
}

h1{
  margin-bottom: 6px;
}

#k-title + .claim{
  text-align: left !important;
  margin-bottom: 18px;
}

footer{
  margin-top: 20px;
}

@media (max-width: 900px){
  header .header-inner{
    gap: 14px !important;
    align-items: flex-start !important;
  }

  header .brand img{
    max-width: 64px !important;
    width: 64px !important;
  }

  .keynote-layout{
    gap: 24px !important;
  }
}

@media (max-width: 700px){
  header .header-inner{
    flex-direction: column !important;
    align-items: stretch !important;
  }

  header .brand{
    justify-content: flex-start;
  }

  header .nav{
    justify-content: flex-start !important;
  }

  .header-social-links{
    margin-right: 0;
    justify-content: flex-start;
  }

}

@media (min-width: 1100px){
  :root{
    --sidebar-width: 286px;
  }

  body{
    position: relative;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }

  header{
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid var(--hair);
    border-bottom: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
      rgba(0,0,0,0.92);
    z-index: 2;
  }

  header .header-inner{
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none !important;
    height: 100vh;
    padding: 28px 14px 22px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
  }

  header .brand{
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: center;
    margin-top: 4px;
  }

  header .brand img{
    width: 278px !important;
    max-width: 278px !important;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  }

  header .nav{
    flex: 0 0 auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 10px;
    margin-top: 8px;
  }

  .header-social-links{
    margin-right: 0;
    justify-content: center;
  }

  .nav a{
    width: 100%;
    text-align: center;
    padding: 11px 14px;
    font-size: 1rem;
  }

  main{
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 1;
    align-self: stretch;
    width: 100%;
    max-width: 1240px;
    margin: 0;
    padding: 32px 40px 0 !important;
  }

  main::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("2015 Bierbrauerei 710 - 4576 hell.JPG");
    background-repeat: no-repeat;
    background-position: right 40px center;
    background-size: min(34vw, 520px) auto;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
  }

  main > *{
    position: relative;
    z-index: 1;
  }

  footer{
    grid-column: 2;
    grid-row: 2;
    position: relative;
    z-index: 1;
    align-self: end;
    margin-top: 24px;
    padding-left: 40px;
    padding-right: 40px;
  }

  footer .footer-inner{
    max-width: 1240px;
    margin: 0;
  }
}

/* === V30: Startseite klarer und wertiger === */
body{
  background:
    radial-gradient(circle at top right, rgba(185, 134, 44, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 24%),
    #050505;
}

.home-hero{
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
}

.hero-backdrop{
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(193, 145, 57, 0.22), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.home-hero .keynote-layout{
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px !important;
  padding: 28px;
  border-radius: 28px;
}

.hero-copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker{
  margin: 0 0 10px;
  color: #d0a24a;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead{
  max-width: 38rem;
  font-size: 1.08rem;
}

.hero-points{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 8px;
}

.hero-points span{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
}

.hero-visual .figure-hover,
.hero-visual .figure-hover img{
  min-height: 100%;
}

.hero-visual{
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-visual .figure-hover{
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.hero-visual .figure-hover img{
  border-radius: 0;
}

.section-intro{
  margin-bottom: 20px;
}

.split-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.feature-grid,
.path-grid,
.product-grid{
  display: grid;
  gap: 18px;
}

.feature-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.path-card,
.product-card,
.cta-panel{
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.feature-card{
  padding: 24px;
}

.feature-card h3,
.product-copy h3{
  margin-bottom: 8px;
}

.product-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card{
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.product-image{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 26px 18px 14px;
  background:
    radial-gradient(circle at top, rgba(208, 162, 74, 0.14), transparent 52%),
    rgba(0,0,0,0.14);
}

.product-image img{
  max-height: 280px;
  width: auto;
  max-width: 100%;
  filter: grayscale(1);
  transition: filter .25s ease, transform .25s ease;
}

.product-copy{
  padding: 0 24px 24px;
}

.product-card:hover{
  transform: translateY(-4px);
  border-color: rgba(208, 162, 74, 0.44);
  background: linear-gradient(180deg, rgba(208, 162, 74, 0.12), rgba(255,255,255,0.04));
}

.product-card:hover .product-image img,
.product-card:focus-visible .product-image img{
  filter: grayscale(0);
  transform: translateY(-2px);
}

.beer-grid img{
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 10px 0 18px;
}

.beer-list{
  display: grid;
  gap: 22px;
}

.beer-entry{
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.beer-entry-image{
  display: flex;
  align-items: center;
  justify-content: center;
}

.beer-entry-image img{
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

.beer-entry-copy h2{
  margin-bottom: 8px;
}

.beer-entry-copy p{
  margin: 0;
}

.path-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card{
  display: block;
  text-decoration: none;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.path-card strong{
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: #fff;
}

.path-card span{
  color: rgba(255,255,255,0.74);
}

.path-card:hover{
  transform: translateY(-4px);
  border-color: rgba(208, 162, 74, 0.44);
  background: linear-gradient(180deg, rgba(208, 162, 74, 0.12), rgba(255,255,255,0.04));
}

.gallery-page{
  padding-top: 10px !important;
}

.team-image-swap{
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 430px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 14px;
}

.team-image-swap img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease, transform .35s ease;
}

.team-image-base{
  opacity: 1;
}

.team-image-hover{
  position: absolute;
  inset: 0;
  opacity: 0;
}

.team-image-gion-centered{
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
}

.team-image-gion-photo{
  object-position: center 8%;
}

.team-image-swap:hover .team-image-hover,
.team-image-swap:focus-visible .team-image-hover{
  opacity: 1;
}

.team-image-swap:hover .team-image-base,
.team-image-swap:focus-visible .team-image-base{
  opacity: 0;
}


.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item{
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  isolation: isolate;
  cursor: pointer;
}

.gallery-item img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img{
  transform: scale(1.05);
}

.gallery-item .overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.74));
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-item:hover .overlay,
.gallery-item:focus-within .overlay{
  opacity: 1;
}

.gallery-item .overlay h2{
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 72px 20px 24px;
  background: rgba(0,0,0,0.9);
}

.lightbox[aria-hidden="false"]{
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner{
  width: min(900px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #101010;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.lightbox-inner h2{
  margin-bottom: 18px;
}

.lightbox-images{
  display: grid;
  gap: 18px;
}

.lightbox-images img{
  width: min(100%, 680px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}

.lightbox-close{
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cta-panel{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

@media (max-width: 1099px){
  body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  header{
    position: sticky;
    top: 0;
    height: auto;
    border-right: 0;
  }

  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  header .header-inner{
    align-items: center !important;
  }

  header .nav{
    width: 100%;
    justify-content: center !important;
  }

  main{
    flex: 1 0 auto;
    width: 100%;
  }

  footer{
    margin-top: auto;
    width: 100%;
  }
}

@media (max-width: 900px){
  .home-hero .keynote-layout,
  .media-panel,
  .feature-grid,
  .product-grid,
  .path-grid{
    grid-template-columns: 1fr;
  }

  .split-head,
  .cta-panel{
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero .keynote-layout{
    padding: 22px;
  }

  .media-panel{
    padding: 22px;
  }

  .home-header-video{
    padding: 12px var(--gutter) 0;
  }

  .product-image{
    min-height: 260px;
  }

  .beer-entry{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .beer-entry-image{
    justify-content: flex-start;
  }
}

@media (max-width: 700px){
  .menu-toggle{
    display: inline-flex;
    align-self: flex-start;
  }

  header .nav{
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
  }

  header .nav.open{
    display: flex;
  }

  .nav a{
    width: 100%;
    text-align: center;
  }

  .hero-backdrop{
    inset: 0;
  }

  .home-hero .keynote-layout{
    padding: 18px;
  }
}

/* === Responsive Stabilisierung 2026 === */
html{
  -webkit-text-size-adjust: 100%;
}

body{
  overflow-x: hidden;
}

img,
video{
  max-width: 100%;
}

.btn,
.nav a,
.social-links a,
.header-social-links a{
  touch-action: manipulation;
}

header{
  width: 100%;
  max-width: none !important;
  padding-top: max(10px, env(safe-area-inset-top)) !important;
}

main,
footer .footer-inner,
.header-inner{
  width: min(100%, 1200px);
}

@media (min-width: 1100px){
  body{
    display: block !important;
    min-height: 100vh;
  }

  header{
    position: fixed !important;
    top: 0;
    left: 0;
    width: var(--sidebar-width) !important;
    top: 0;
    height: 100dvh !important;
    overflow: hidden !important;
    border-right: 1px solid var(--hair) !important;
    border-bottom: 0 !important;
  }

  header .header-inner{
    height: 100% !important;
    max-width: none !important;
    width: 100% !important;
    padding: 18px 12px 12px !important;
    overflow: hidden !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  header .brand{
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 4px !important;
  }

  header .brand img{
    width: 248px !important;
    max-width: 248px !important;
    margin: 0 !important;
  }

  header .nav{
    width: 100% !important;
    flex: 0 0 auto;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: 0 !important;
  }

  .header-social-links{
    order: 0;
    margin-right: 0 !important;
    gap: 10px !important;
  }

  .header-social-links a{
    width: 38px !important;
    height: 38px !important;
  }

  .nav a{
    padding: 10px 14px !important;
    font-size: 1rem !important;
  }

  .menu-toggle{
    display: none !important;
  }

  main{
    max-width: none !important;
    margin: 0 0 0 var(--sidebar-width) !important;
    padding: 26px 22px 0 !important;
  }

  main::before{
    display: none;
  }

  footer{
    margin-left: var(--sidebar-width) !important;
    margin-top: 24px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  footer .footer-inner{
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 1024px){
  :root{
    --gutter: 20px;
  }

  body{
    font-size: 16.5px;
    line-height: 1.65;
  }

  header .header-inner{
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px var(--gutter) !important;
  }

  header .brand{
    width: auto;
    flex: 0 0 auto;
  }

  header .brand img{
    width: 68px !important;
    max-width: 68px !important;
    margin: 0 !important;
  }

  .header-social-links{
    order: 2;
    margin-right: auto !important;
    gap: 8px;
  }

  .header-social-links a{
    width: 36px;
    height: 36px;
  }

  .menu-toggle{
    display: inline-flex !important;
    order: 3;
    align-self: center;
  }

  header .nav{
    order: 4;
    width: 100% !important;
    display: none;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px;
    padding-top: 8px;
  }

  header .nav.open{
    display: flex !important;
  }

  .nav a{
    width: 100%;
    font-size: 1rem !important;
    text-align: center;
    padding: 12px 14px;
  }

  main{
    padding: 22px var(--gutter) 0 !important;
  }

  .contact-overview{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-video-section .video-wrap{
    width: 100%;
    max-width: none;
  }

  .home-hero{
    overflow: visible;
  }

  .home-hero .keynote-layout{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
  }

  .hero-copy{
    justify-content: flex-start;
  }

  .hero-visual{
    justify-content: flex-start;
  }

  .hero-visual .figure-hover{
    max-width: 100%;
  }

  .feature-grid,
  .path-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-head,
  .cta-panel{
    flex-direction: column;
    align-items: flex-start;
  }

  .beer-entry{
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .beer-entry-image{
    justify-content: center;
  }

  .beer-entry-image img{
    max-width: 130px;
  }

  .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox{
    padding: 64px 14px 18px;
  }

  .lightbox-inner{
    width: min(100%, 760px);
    padding: 18px;
  }
}

@media (max-width: 640px){
  :root{
    --gutter: 16px;
  }

  .media-panel{
    padding: 18px;
    border-radius: 22px;
    gap: 18px;
  }

  .home-header-video .trailer-hero-video{
    border-radius: 18px;
  }

  h1{
    font-size: 1.9rem !important;
  }

  h2{
    font-size: 1.3rem;
  }

  .header-social-links{
    width: 100%;
    order: 4;
    justify-content: flex-start !important;
    margin-right: 0 !important;
  }

  .menu-toggle{
    order: 2;
    margin-left: auto;
  }

  header .nav{
    order: 5;
  }

  .btn-row{
    width: 100%;
  }

  .btn{
    width: 100%;
  }

  .hero-points{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-points span{
    text-align: center;
  }

  .feature-grid,
  .path-grid,
  .gallery-grid{
    grid-template-columns: 1fr;
  }

  .product-image{
    min-height: 220px;
  }

  .beer-entry{
    grid-template-columns: 1fr;
  }

  .beer-entry-image{
    justify-content: flex-start;
  }

  .price-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-links{
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links a{
    justify-content: center;
  }

  .lightbox-close{
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .map-embed-action{
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
  }
}

/* === Finale Breiten-Fixes === */
html,
body{
  max-width: 100%;
  overflow-x: clip;
}

body *{
  min-width: 0;
}

main,
footer,
header,
.section,
.footer-inner,
.header-inner,
.keynote-layout,
.feature-grid,
.product-grid,
.path-grid,
.gallery-grid,
.about-layout,
.beer-entry,
.split-head,
.cta-panel,
.media-panel{
  max-width: 100%;
}

.full-bleed{
  width: 100%;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
}

.split-head,
.cta-panel{
  gap: 16px;
  flex-wrap: wrap;
}

.split-head > *,
.cta-panel > *{
  min-width: 0;
}

.split-head .btn,
.cta-panel .btn{
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.feature-card,
.product-card,
.path-card,
.card,
.about-card,
.portrait-card,
.gallery-card,
.beer-entry,
.media-panel,
.cta-panel{
  min-width: 0;
  overflow: hidden;
}

.product-image img,
.gallery-card img,
.beer-entry-image img,
.hero-visual img,
.about-figure img,
.portrait-card img,
video,
iframe{
  max-width: 100%;
}

@media (min-width: 1025px){
  .home-header-video{
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    padding: 26px 22px 0;
  }

  main{
    width: calc(100% - var(--sidebar-width));
  }
}
