/* Norddeutscher Biogas-Branchentreff: Farben aus dem Logo (SVG) */
body.site-bt{
  --navy:#081d58; --blue:#3b499f; --sky:#4eb3d3; --sky-2:#74c1db; --yellow:#f2ed04; --lime:#b3db11;
  --ink:#1c2340; --ink-soft:#4a5272; --head-ink:var(--navy); --accent-ink:var(--blue);
  --link:var(--blue); --bg:#fff; --tint:#eef6fb; --line:#dde3ee; --focus:#4eb3d3;
  --cta:var(--yellow); --cta-ink:var(--navy); --radius:16px;
  --foot-bg:var(--navy); --foot-ink:rgba(255,255,255,.82);
  --head:"Abadi MT Pro","Abadi",Futura,"Century Gothic","Avenir Next",system-ui,sans-serif;
}

/* Sechsecke aus dem Logo als Gestaltungselement */
.hex{aspect-ratio:1/1.1547;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.hexes{position:absolute;pointer-events:none}
.hexes .hex{position:absolute;width:var(--s)}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden;background:var(--navy)}
.hero::before{content:"";position:absolute;inset:0;background:url(../img/fotos/publikum.jpg) center 40%/cover;opacity:.38}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,29,88,.96) 0%,rgba(8,29,88,.82) 45%,rgba(8,29,88,.35) 100%)}
.hero .wrap{position:relative;z-index:2;padding:96px 0 110px;display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:center}
.hero h1{color:#fff;margin-bottom:.2em}
.hero .eyebrow{color:var(--yellow)}
.hero .where{font-family:var(--head);font-size:clamp(1.2rem,2.4vw,1.6rem);margin-bottom:.3em}
.hero .tag{color:var(--sky-2);font-family:var(--head);font-size:1.15rem;margin-bottom:1.6em}
.hero .btn-ghost{color:#fff}
.hero-badge{justify-self:end;position:relative;width:316px;height:314px}
.hero-badge .hex{position:absolute;width:150px;display:grid;place-items:center;text-align:center;font-family:var(--head);color:var(--navy);line-height:1.1}
.hero-badge .h1{left:0;top:0;background:var(--sky-2)}
.hero-badge .h2{left:162px;top:0;background:var(--yellow)}
.hero-badge .h3{left:81px;top:140px;background:var(--lime)}
.hero-badge .count{font-size:2.6rem;font-weight:700;display:block}
.hero-badge small{font-size:.85rem;font-weight:600}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr;padding:64px 0 72px}.hero-badge{justify-self:start;transform:scale(.8);transform-origin:left top;height:260px}}

/* Fakten-Leiste unter dem Hero */
.facts{margin-top:-46px;position:relative;z-index:3}
.facts .grid{background:#fff;border-radius:var(--radius);box-shadow:0 18px 40px rgba(8,29,88,.12);padding:10px}
.facts .fact{padding:18px 20px;border-right:1px solid var(--line)}
.facts .fact:last-child{border-right:0}
.facts .fact strong{display:block;font-family:var(--head);font-size:1.35rem;color:var(--navy)}
.facts .fact span{color:var(--ink-soft);font-size:.95rem}
@media (max-width:900px){.facts .fact{border-right:0;border-bottom:1px solid var(--line)}}

/* Bildraster Rückblick */
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 220px;gap:12px}
.gallery img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.gallery img:first-child{grid-row:span 2}
@media (max-width:760px){.gallery{grid-template-columns:1fr 1fr;grid-template-rows:auto}.gallery img:first-child{grid-column:span 2;grid-row:auto}}

/* Partner */
.partners{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;align-items:center}
.partners img{max-height:64px;width:auto;margin:auto;filter:grayscale(.15)}
.partners .box{background:#fff;border:1px solid var(--line);border-radius:12px;height:110px;display:grid;place-items:center;padding:16px}
@media (max-width:860px){.partners{grid-template-columns:repeat(3,1fr)}}
@media (max-width:540px){.partners{grid-template-columns:repeat(2,1fr)}}
.coop{display:flex;align-items:center;gap:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px}
.coop img{height:90px;width:auto}

/* Programm */
.timeline{list-style:none;padding:0;margin:0;border-left:3px solid var(--sky-2)}
.timeline>li{position:relative;padding:0 0 26px 28px}
.timeline>li::before{content:"";position:absolute;left:-10px;top:6px;width:17px;height:19px;background:var(--lime);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.timeline .time{font-family:var(--head);font-weight:700;color:var(--blue)}
.timeline h3{margin:.15em 0 .3em;font-size:1.12rem}
.timeline .who,.fuehrung .who{list-style:none;padding:0;color:var(--ink-soft);font-size:.95rem;margin:0}
.timeline .who li,.fuehrung .who li{margin:0 0 3px;line-height:1.4}
.timeline .who b,.fuehrung .who b{color:var(--ink);font-weight:600}
.timeline .downloads{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.timeline .downloads a{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;background:var(--tint);border-radius:999px;padding:.3em .85em;text-decoration:none}
.timeline .downloads a::before{content:"";width:12px;height:12px;background:currentColor;clip-path:polygon(35% 0,65% 0,65% 45%,85% 45%,50% 85%,15% 45%,35% 45%);flex:none}
.timeline .downloads a:hover{background:var(--sky-2);color:var(--navy)}
.timeline .mod{display:flex;gap:10px;align-items:baseline;margin-top:8px}
.timeline .mod-label{flex:none;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--blue);background:var(--tint);border-radius:6px;padding:.2em .55em}
.timeline .kern{margin-top:8px;font-size:.93rem;color:var(--ink-soft)}
.timeline .kern summary{cursor:pointer;display:inline-block;font-weight:600;color:var(--blue);font-size:.88rem}
.timeline .kern summary::marker{color:var(--sky)}
.timeline .kern p{margin:.4em 0 0;padding:10px 14px;background:var(--tint);border-radius:10px}
.programm-seite{position:sticky;top:100px;display:grid;gap:20px}
.fuehrung h3{font-size:1rem;margin:0 0 10px}
.band .fuehrung,.wrap.narrow .fuehrung{margin-top:20px}
.gruss-hinweis{display:grid;gap:8px;text-decoration:none;color:inherit}
.gruss-hinweis:hover{border-color:var(--sky)}
.gruss-koepfe{display:flex}
.gruss-koepfe img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 25%;border:2px solid #fff;margin-right:-8px}
.gruss-hinweis .mehr,.gruss-karte .mehr{color:var(--blue);font-weight:600;font-size:.92rem}
@media (max-width:900px){.programm-seite{position:static}}

/* Grußworte */
.grussworte{display:grid;gap:40px}
.gruss{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:start}
.gruss-foto img{width:120px;height:120px;border-radius:50%;object-fit:cover;object-position:50% 25%;box-shadow:0 8px 20px rgba(8,29,88,.12)}
.gruss header{display:grid;gap:2px;margin-bottom:12px}
.gruss header h3{margin:0 0 4px}
.gruss-name{font-family:var(--head);font-size:1.15rem;color:var(--navy)}
.gruss-mehr summary{cursor:pointer;color:var(--blue);font-weight:600;margin-top:4px}
.gruss-mehr[open] summary{margin-bottom:12px}
@media (max-width:600px){.gruss{grid-template-columns:1fr}.gruss-foto img{width:96px;height:96px}}
.gruss-karte{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;height:100%}
.gruss-karte:hover{border-color:var(--sky)}
.gruss-karte img{width:84px;height:84px;border-radius:50%;object-fit:cover;object-position:50% 25%;margin-bottom:8px}
.gruss-karte q{font-size:.93rem;color:var(--ink-soft);margin:6px 0 4px;flex:1;quotes:"„" "“"}

.block-title{display:inline-block;background:var(--navy);color:#fff;border-radius:999px;padding:.35em 1em;font-family:var(--head);font-weight:600;margin:10px 0 22px}

/* Ausstellerliste */
.exh-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.exh-tools input{max-width:420px}
.exh{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;list-style:none;padding:0;margin:0}
.exh li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.exh .stand{grid-row:span 3;width:52px;height:58px;background:var(--tint);color:var(--navy);display:grid;place-items:center;font-weight:700;font-family:var(--head);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.exh .name{font-weight:650;color:var(--navy);line-height:1.3}
.exh .ort{font-size:.88rem;color:var(--ink-soft)}
.exh .what{font-size:.9rem;margin:0}
.exh .sub{font-size:.75rem;background:var(--yellow);color:var(--navy);border-radius:999px;padding:.1em .6em;margin-left:6px;font-weight:600;vertical-align:middle}

/* Tickets */
.shop{display:grid;grid-template-columns:1.5fr 1fr;gap:32px;align-items:start}
@media (max-width:900px){.shop{grid-template-columns:1fr}}
.steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 28px;flex-wrap:wrap}
.steps li{display:flex;align-items:center;gap:8px;font-size:.92rem;color:var(--ink-soft)}
.steps li b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--line);color:var(--navy)}
.steps li.on b{background:var(--navy);color:#fff}
.steps li.on{color:var(--navy);font-weight:600}
.steps li+li::before{content:"";width:22px;height:2px;background:var(--line)}
.ticket-type{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin-bottom:12px;background:#fff}
.ticket-type h3{margin:0;font-size:1.1rem}
.ticket-type p{margin:0;font-size:.9rem;color:var(--ink-soft)}
.price{font-family:var(--head);font-weight:700;font-size:1.3rem;color:var(--navy);white-space:nowrap}
.qty{display:flex;align-items:center;border:1px solid #c9ccd6;border-radius:999px;overflow:hidden}
.qty button{border:0;background:#fff;width:38px;height:38px;font-size:1.2rem;cursor:pointer;color:var(--navy)}
.qty output{min-width:28px;text-align:center;font-weight:700}
.summary{position:sticky;top:100px}
.summary table{width:100%;border-collapse:collapse;font-size:.95rem}
.summary td{padding:6px 0}
.summary td:last-child{text-align:right}
.summary .total td{border-top:2px solid var(--navy);font-weight:700;font-size:1.1rem;padding-top:10px}
.paypal{width:100%;justify-content:center;background:#ffc439;color:#111;border-radius:10px;font-weight:700;padding:1em}
.code-row{display:flex;gap:8px}
.code-row .btn{white-space:nowrap}
.persons .card{margin-bottom:12px;padding:18px 20px}
.persons .grid{gap:12px}
.persons .field{margin-bottom:0}
.qty input{width:42px;border:0;text-align:center;font-weight:700;font-size:1rem;padding:0;background:transparent;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty button:disabled,.ticket-type.aus .qty{opacity:.4}
.ticket-type.aus{background:#f6f7f9}
.ticket-type.mit-code{border-color:var(--sky);box-shadow:0 0 0 1px var(--sky)}
.ticket-type .knapp{color:#a15c00;font-weight:600;margin-top:4px}
.ticket-type .ausverkauft{color:#8a1c1c;font-weight:700;margin-top:4px}
.code-karte{margin-bottom:32px;padding:20px 22px}
.code-karte h3{margin:0 0 6px;font-size:1.05rem}
.code-row input{flex:1;min-width:0;text-transform:uppercase}
@media (max-width:560px){.ticket-type{grid-template-columns:1fr auto}.ticket-type .qty{grid-column:1/-1;justify-self:start}}
.ticket-liste{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:18px;margin-top:20px}
@media (max-width:520px){.ticket-liste{grid-template-columns:1fr}}
.ticket-karte{display:flex;justify-content:space-between;gap:20px;border:1px solid var(--line);border-left:6px solid var(--navy);border-radius:14px;padding:20px 22px;background:#fff;break-inside:avoid}
.ticket-karte h3{margin:4px 0 2px}
.ticket-qr{flex:0 0 150px;text-align:center}
.ticket-qr svg{width:150px;height:150px;display:block}
.ticket-qr small{display:block;margin-top:6px;font-family:ui-monospace,Menlo,monospace;font-size:.75rem;color:var(--ink-soft);letter-spacing:.04em}
@media (max-width:520px){.ticket-karte{flex-direction:column;align-items:center;text-align:center}.ticket-qr{flex-basis:auto}.ticket-qr svg{width:200px;height:200px}}
@media print{.site-header,.site-footer,.btn-row,.page-head .lead,.meldung{display:none!important}.page-head{padding:0!important;background:none!important}.ticket-liste{display:block}.ticket-karte{margin-bottom:12mm}}

/* Modal für Entwurfs-Hinweise */
dialog{border:0;border-radius:16px;padding:28px;max-width:460px;box-shadow:0 30px 60px rgba(0,0,0,.25)}
dialog::backdrop{background:rgba(8,29,88,.45)}

.map-card{display:block;position:relative;border-radius:var(--radius);overflow:hidden;text-decoration:none;background:linear-gradient(135deg,var(--tint),#dff0d0);min-height:260px;padding:28px;color:var(--navy)}
.map-card strong{font-family:var(--head);font-size:1.3rem;display:block}
.faq details{border-bottom:1px solid var(--line);padding:14px 0}
.faq summary{cursor:pointer;font-weight:650;color:var(--navy)}
.faq details p{margin:.6em 0 0}

.soldout{display:inline-block;background:#e3001b;color:#fff;font-family:var(--head);font-weight:700;letter-spacing:.06em;padding:.3em .9em;border-radius:6px;transform:rotate(-2deg);margin-bottom:12px}

.site-bt .brand img{height:72px;width:auto}
.partners img.zoom{transform:scale(1.9)}
.exh li[hidden]{display:none}
.site-bt .site-header .wrap{min-height:90px}
@media (max-width:640px){.hero-badge{display:none}.facts .grid.g4{grid-template-columns:1fr 1fr}.facts .fact{padding:14px}.facts .fact strong{font-size:1.1rem}.facts .fact span{font-size:.85rem}}
.timeline .kern summary::before,.gruss-mehr summary::before{content:"▸ ";color:var(--sky)}
.timeline .kern[open] summary::before,.gruss-mehr[open] summary::before{content:"▾ "}
.gruss-mehr summary{list-style:none}.gruss-mehr summary::-webkit-details-marker{display:none}
