/* Bürgerzentrum Deutz, Stylesheet */
@font-face{font-family:"Fraunces";src:url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"Figtree";src:url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");font-weight:300 900;font-style:normal;font-display:swap}

:root{
  --red:#D7141E; --red-dark:#A50E16; --red-tint:#FDE6E3;
  --sun:#FFC23D; --sun-dark:#C98A00; --sun-tint:#FFF2D2;
  --teal:#1F6F6A; --teal-tint:#DDEFEC;
  --ink:#1F1A17; --ink-2:#3A322D; --muted:#6B6158;
  --paper:#FBF6EE; --paper-2:#F4ECDF; --white:#fff; --line:#E7DCCB;
  --radius:18px; --radius-s:12px;
  --shadow:0 1px 2px rgba(31,26,23,.06),0 8px 24px rgba(31,26,23,.08);
  --wrap:1200px;
  --serif:"Fraunces",Georgia,serif; --sans:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:1.125rem;line-height:1.65;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-dark);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid var(--sun);outline-offset:3px;border-radius:6px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em;font-variation-settings:"opsz" 72}
h1{font-size:clamp(2.3rem,5vw,4rem)}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
h3{font-size:1.35rem}
h4{font-size:1.1rem;font-family:var(--sans);font-weight:700}
p{margin:0 0 1em}
ul{padding-left:1.2em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:10px 16px;z-index:200}
.skip:focus{left:10px;top:10px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Topbar */
.topbar{background:var(--ink);color:#EDE5D8;font-size:.86rem}
.topbar .wrap{display:flex;gap:24px;align-items:center;min-height:40px}
.topbar a{color:#fff;text-decoration:none}
.topbar a:hover{color:var(--sun)}
.topbar .tb-item{display:inline-flex;align-items:center;gap:7px}
.topbar svg{width:15px;height:15px;flex:none}
.topbar .tb-right{margin-left:auto;display:flex;gap:18px;align-items:center}
.topbar .tb-access{color:var(--sun)}

/* Header */
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;gap:28px;min-height:84px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);flex:none}
.brand-mark{width:52px;height:52px;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-text strong{font-family:var(--serif);font-size:1.32rem;font-weight:650}
.brand-text span{font-size:.78rem;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-top:4px}
.nav{margin-left:auto}
.nav>ul{list-style:none;margin:0;padding:0;display:flex;gap:2px;align-items:center}
.nav li{position:relative}
.nav a.nl{display:block;padding:10px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:600;font-size:.98rem}
.nav a.nl:hover,.nav li:focus-within>a.nl{background:var(--paper)}
.nav a.nl[aria-current="page"],.nav a.nl.active{color:var(--red)}
.nav .sub{list-style:none;margin:0;padding:8px;position:absolute;left:0;top:100%;min-width:250px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s}
.nav li:hover>.sub,.nav li:focus-within>.sub{opacity:1;visibility:visible;transform:none}
.nav .sub a{display:block;padding:9px 12px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:.95rem}
.nav .sub a:hover{background:var(--paper);color:var(--red-dark)}
.nav .cta{margin-left:10px}
.menu-btn{display:none;margin-left:auto;background:none;border:2px solid var(--ink);border-radius:12px;width:48px;height:48px;align-items:center;justify-content:center;cursor:pointer}
.menu-btn span{display:block;width:20px;height:2px;background:var(--ink);position:relative}
.menu-btn span::before,.menu-btn span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink)}
.menu-btn span::before{top:-6px}.menu-btn span::after{top:6px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 22px;border-radius:999px;font-weight:700;text-decoration:none;font-size:1rem;border:2px solid transparent;transition:.15s;line-height:1.2;cursor:pointer;font-family:var(--sans)}
.btn svg{width:18px;height:18px}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:#fff}
.btn-sun{background:var(--sun);color:var(--ink)}
.btn-sun:hover{background:#ffcf63;color:var(--ink)}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:var(--sun);color:var(--ink)}
.btn-sm{padding:9px 16px;font-size:.92rem}
.link-arrow{font-weight:700;text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.link-arrow::after{content:"→";transition:transform .15s}
.link-arrow:hover::after{transform:translateX(3px)}

/* Hero (Start) */
.hero{padding:64px 0 72px;position:relative;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark);margin-bottom:18px}
.eyebrow::before{content:"";width:14px;height:14px;background:var(--red);border-radius:3px;transform:rotate(-12deg)}
.hero h1 em{font-style:italic;color:var(--red);font-weight:500}
.hero .lead{font-size:1.2rem;color:var(--ink-2);max-width:34em}
.hero .actions{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 30px}
.facts{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.facts li{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:8px 14px;border-radius:999px;font-size:.92rem;font-weight:600}
.facts svg{width:17px;height:17px;color:var(--red)}
.mosaic{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:1fr 1fr;gap:16px;height:540px;position:relative}
.mosaic figure{margin:0;border-radius:var(--radius);overflow:hidden;position:relative;box-shadow:var(--shadow)}
.mosaic img{width:100%;height:100%;object-fit:cover}
.mosaic .m1{grid-row:1/3}
.mosaic figcaption{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.94);padding:5px 11px;border-radius:999px;font-size:.8rem;font-weight:700}
.mosaic::before{content:"";position:absolute;width:120px;height:120px;background:var(--sun);border-radius:22px;right:-30px;top:-34px;transform:rotate(14deg);z-index:-1}
.mosaic::after{content:"";position:absolute;width:86px;height:86px;background:var(--red);border-radius:18px;left:-26px;bottom:-26px;transform:rotate(-10deg);z-index:-1}

/* Sections */
.section{padding:80px 0}
.section-tight{padding:56px 0}
.section-white{background:#fff}
.section-paper2{background:var(--paper-2)}
.section-dark{background:var(--ink);color:#EFE7DA}
.section-dark h2,.section-dark h3{color:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.section-head p{color:var(--muted);max-width:40em;margin:0}
.section-head h2{margin-bottom:.2em}
.kicker{font-weight:700;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:var(--red-dark);margin-bottom:10px;display:block}
.section-dark .kicker{color:var(--sun)}

/* Area tiles */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tile{display:flex;flex-direction:column;gap:12px;padding:26px;border-radius:var(--radius);text-decoration:none;color:var(--ink);min-height:230px;position:relative;transition:transform .2s,box-shadow .2s;border:1px solid transparent}
.tile:hover{transform:translateY(-4px);box-shadow:var(--shadow);color:var(--ink)}
.tile .ic{width:54px;height:54px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:#fff}
.tile .ic svg{width:28px;height:28px}
.tile h3{margin:6px 0 0;font-size:1.4rem}
.tile p{margin:0;color:var(--ink-2);font-size:.98rem}
.tile .link-arrow{margin-top:auto;color:var(--ink)}
.t-sun{background:var(--sun-tint)} .t-sun .ic{color:var(--sun-dark)}
.t-red{background:var(--red-tint)} .t-red .ic{color:var(--red)}
.t-teal{background:var(--teal-tint)} .t-teal .ic{color:var(--teal)}
.t-ink{background:var(--ink);color:#fff} .t-ink h3,.t-ink .link-arrow{color:#fff} .t-ink p{color:#DDD3C5} .t-ink .ic{background:var(--red);color:#fff}
.t-ink:hover{color:#fff}

/* Event cards */
.events{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ev{background:#fff;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);transition:box-shadow .2s,transform .2s}
.ev:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.ev-img{aspect-ratio:16/10;position:relative;background:var(--paper-2);overflow:hidden}
.ev-img img{width:100%;height:100%;object-fit:cover}
.ev-img.contain img{object-fit:contain;padding:10px}
.date{position:absolute;left:14px;top:14px;background:#fff;border-radius:14px;padding:8px 12px;text-align:center;line-height:1;box-shadow:var(--shadow);min-width:62px}
.date b{display:block;font-family:var(--serif);font-size:1.6rem;color:var(--red)}
.date span{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
.ev-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.ev-body h3{font-size:1.3rem;margin-bottom:.35em}
.ev-meta{font-size:.92rem;color:var(--muted);font-weight:600;margin-bottom:10px;display:flex;flex-direction:column;gap:2px}
.ev-body p{font-size:.98rem;color:var(--ink-2)}
.ev-foot{margin-top:auto;display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding-top:6px}
.tag{display:inline-block;font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:var(--paper-2);color:var(--ink-2);margin-bottom:10px;align-self:flex-start}
.tag.k{background:var(--sun-tint);color:#7A5300}
.tag.e{background:var(--red-tint);color:var(--red-dark)}
.tag.s{background:var(--teal-tint);color:var(--teal)}
.tag.a{background:var(--ink);color:#fff}

/* Split / feature */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.rev>:first-child{order:2}
.split figure{margin:0}
.rounded{border-radius:var(--radius);overflow:hidden}
.rounded img{width:100%;height:100%;object-fit:cover}
.flyer-feature{display:grid;grid-template-columns:auto 1fr;gap:48px;align-items:center}
.flyer-feature img{width:330px;border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.35);transform:rotate(-3deg);background:#fff}
.flyer-feature .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

/* Facts grid */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fact{background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);padding:18px 20px;display:flex;gap:14px;align-items:flex-start}
.fact .ic{width:42px;height:42px;border-radius:12px;background:var(--red-tint);color:var(--red);display:flex;align-items:center;justify-content:center;flex:none}
.fact .ic svg{width:22px;height:22px}
.fact b{display:block;font-size:1rem}
.fact span{font-size:.92rem;color:var(--muted)}

/* Notice */
.notice{display:grid;grid-template-columns:auto 1fr;gap:36px;background:#fff;border-radius:var(--radius);padding:36px;border:1px solid var(--line);align-items:center}
.notice img{width:260px;border-radius:10px;border:1px solid var(--line)}

/* Partners */
.partners{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.partner{background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);display:flex;align-items:center;justify-content:center;padding:20px;min-height:120px;text-decoration:none}
.partner img{max-height:76px;width:auto;object-fit:contain}
.partner:hover{box-shadow:var(--shadow)}

/* Page head */
.page-head{background:var(--white);border-bottom:1px solid var(--line);padding:56px 0 48px;position:relative;overflow:hidden}
.page-head::after{content:"";position:absolute;right:-50px;top:-60px;width:220px;height:220px;border-radius:40px;transform:rotate(16deg);background:var(--accent,var(--sun-tint))}
.page-head .wrap{position:relative;z-index:1}
.page-head h1{font-size:clamp(2.1rem,4.4vw,3.3rem);max-width:16em}
.page-head .lead{font-size:1.18rem;color:var(--ink-2);max-width:42em;margin:0}
.crumbs{font-size:.88rem;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--red)}
.ph-red{--accent:var(--red-tint)} .ph-sun{--accent:var(--sun-tint)} .ph-teal{--accent:var(--teal-tint)} .ph-ink{--accent:var(--paper-2)}

/* Content */
.content{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;align-items:start}
.prose{max-width:44em}
.prose h2{font-size:1.9rem;margin-top:1.4em}
.prose h2:first-child,.prose h3:first-child{margin-top:0}
.prose h3{margin-top:1.4em}
.prose ul li{margin-bottom:.35em}
.prose ul li::marker{color:var(--red)}
.prose .lead{font-size:1.18rem}
.aside{position:sticky;top:110px;display:flex;flex-direction:column;gap:18px}
.box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.box h3{font-size:1.2rem}
.box p:last-child{margin-bottom:0}
.box.sun{background:var(--sun-tint);border-color:transparent}
.box.red{background:var(--red-tint);border-color:transparent}
.box.dark{background:var(--ink);color:#EFE7DA;border-color:transparent}
.box.dark h3{color:#fff}
.box.dark a{color:var(--sun)}
.box ul{margin:0;padding-left:1.1em}
.contact-line{display:flex;gap:10px;align-items:flex-start;margin-bottom:8px;font-size:.98rem}
.contact-line svg{width:18px;height:18px;flex:none;margin-top:4px;color:var(--red)}
.box.dark .contact-line svg{color:var(--sun)}
.sub-nav{list-style:none;margin:0;padding:0}
.sub-nav a{display:block;padding:9px 12px;border-radius:10px;text-decoration:none;color:var(--ink);font-weight:600}
.sub-nav a:hover{background:var(--paper)}
.sub-nav a[aria-current="page"]{background:var(--red-tint);color:var(--red-dark)}

/* Cards generic */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cards.c2{grid-template-columns:repeat(2,1fr)}
.cards.c4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.card-img{aspect-ratio:4/3;overflow:hidden;background:var(--paper-2)}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
a.card{text-decoration:none;color:var(--ink);transition:box-shadow .2s,transform .2s}
a.card:hover{box-shadow:var(--shadow);transform:translateY(-3px);color:var(--ink)}
a.card:hover .card-img img{transform:scale(1.04)}
.card-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.card-body h3{font-size:1.28rem;margin-bottom:.4em}
.card-body p{font-size:.98rem;color:var(--ink-2)}
.card-body .link-arrow{margin-top:auto;color:var(--red-dark)}

/* Downloads */
.dl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.dl{background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;transition:.2s}
.dl:hover{box-shadow:var(--shadow);transform:translateY(-2px);color:var(--ink)}
.dl .thumb{aspect-ratio:3/4;background:var(--paper-2);overflow:hidden;border-bottom:1px solid var(--line)}
.dl .thumb img{width:100%;height:100%;object-fit:cover;object-position:top}
.dl .dl-body{padding:14px 16px 16px;font-weight:700;font-size:.95rem;line-height:1.35;display:flex;flex-direction:column;gap:6px}
.dl .dl-body small{font-weight:600;color:var(--red-dark);font-size:.8rem;letter-spacing:.05em;text-transform:uppercase}

/* Courses */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.filters button{font:inherit;font-weight:700;font-size:.95rem;border:2px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:9px 18px;cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.course{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;display:flex;flex-direction:column;border-top:6px solid var(--c,var(--red))}
.course[data-cat="kinder"]{--c:var(--sun)} .course[data-cat="erwachsene"]{--c:var(--red)} .course[data-cat="senioren"]{--c:var(--teal)} .course[data-cat="service"]{--c:var(--ink)}
.course h3{font-size:1.22rem;margin-bottom:.3em}
.course p{font-size:.96rem;color:var(--ink-2);margin-bottom:.7em}
.course .when{margin-top:auto;font-size:.93rem;background:var(--paper);border-radius:10px;padding:10px 12px}
.course .when div{display:flex;gap:8px}
.course .when svg{width:16px;height:16px;flex:none;margin-top:4px;color:var(--muted)}
.course .info{font-size:.88rem;color:var(--muted);margin-top:10px}
.course[hidden]{display:none}

/* Rooms */
.room{display:grid;grid-template-columns:1.1fr 1fr;gap:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:28px}
.room:nth-child(even) .room-img{order:2}
.room-img{min-height:360px}
.room-img img{width:100%;height:100%;object-fit:cover}
.room-body{padding:36px 40px}
.room-stats{display:flex;gap:12px;flex-wrap:wrap;margin:6px 0 20px;list-style:none;padding:0}
.room-stats li{background:var(--paper);border-radius:12px;padding:10px 14px;line-height:1.15}
.room-stats b{display:block;font-family:var(--serif);font-size:1.5rem;color:var(--red)}
.room-stats span{font-size:.8rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.chips{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:8px 0 0}
.chips li{background:var(--paper-2);border-radius:999px;padding:5px 12px;font-size:.88rem;font-weight:600}
.room h3{font-size:1.65rem}
.room h4{margin:18px 0 4px;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Team */
.team{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.person{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;display:flex;gap:18px;align-items:flex-start}
.avatar{width:64px;height:64px;border-radius:18px;flex:none;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-weight:700;font-size:1.35rem;color:#fff;background:var(--red);transform:rotate(-4deg)}
.person:nth-child(3n+2) .avatar{background:var(--sun);color:var(--ink)}
.person:nth-child(3n) .avatar{background:var(--teal)}
.person h3{font-size:1.2rem;margin-bottom:.2em}
.person p{margin:0;font-size:.94rem;color:var(--ink-2)}
.person .role{color:var(--red-dark);font-weight:700;font-size:.9rem;margin-bottom:4px}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery a{display:block;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:var(--paper-2)}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.gallery a:hover img{transform:scale(1.05)}
.gallery.g6{grid-template-columns:repeat(6,1fr)}

/* Contact list */
.clist{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.citem{background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);padding:20px 22px}
.citem h3{font-size:1.1rem;font-family:var(--sans);font-weight:800;margin-bottom:.3em}
.citem p{margin:0 0 .2em;font-size:.97rem}

/* Form */
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form .full{grid-column:1/-1}
.form label{display:block;font-weight:700;font-size:.92rem;margin-bottom:6px}
.form input,.form select,.form textarea{width:100%;font:inherit;font-size:1rem;padding:12px 14px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--ink);outline:none}
.form textarea{min-height:150px;resize:vertical}
.form .hint{font-size:.86rem;color:var(--muted)}

/* Lists */
.check{list-style:none;padding:0;margin:0}
.check li{padding-left:30px;position:relative;margin-bottom:8px}
.check li::before{content:"";position:absolute;left:0;top:7px;width:18px;height:18px;border-radius:5px;background:var(--red-tint);transform:rotate(-8deg)}
.check li::after{content:"";position:absolute;left:6px;top:10px;width:6px;height:10px;border:solid var(--red);border-width:0 2px 2px 0;transform:rotate(40deg)}
.cols2{columns:2;column-gap:40px}
.cols2 li{break-inside:avoid}
.olist{counter-reset:o;list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 24px}
.olist li{counter-increment:o;display:flex;gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line)}
.olist li::before{content:counter(o,decimal-leading-zero);font-family:var(--serif);color:var(--red);font-weight:700;min-width:28px}
.olist a{color:var(--ink);text-decoration:none;font-weight:600}
.olist a:hover{color:var(--red)}

.quote{font-family:var(--serif);font-size:1.5rem;line-height:1.35;font-style:italic;border-left:5px solid var(--sun);padding-left:22px;margin:0 0 1em}
.callout{background:var(--sun-tint);border-radius:var(--radius);padding:24px 28px;margin:1.5em 0}
.callout.red{background:var(--red-tint)}
.callout p:last-child{margin:0}
.authors{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:1em 0}
.authors .citem h3{font-family:var(--serif);font-size:1.2rem;font-weight:600}

/* Footer */
.site-footer{background:var(--ink);color:#D9CFC1;padding:64px 0 0;margin-top:0;font-size:.97rem}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{color:var(--sun)}
.f-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.site-footer h3,.site-footer h2.f-h{color:#fff;font-family:var(--sans);font-size:.85rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;margin-bottom:16px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:8px}
.f-brand .brand{color:#fff;margin-bottom:18px}
.f-brand .brand-text span{color:#B9AE9F}
.social{display:flex;gap:10px;margin-top:18px}
.social a{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
.social a:hover{background:var(--red)}
.social svg{width:20px;height:20px;fill:currentColor}
.f-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:52px;padding:20px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.88rem;color:#B9AE9F}
.f-bottom nav{display:flex;gap:18px;flex-wrap:wrap}

/* Lightbox */
.lb{position:fixed;inset:0;background:rgba(20,16,14,.92);display:flex;align-items:center;justify-content:center;z-index:300;opacity:0;visibility:hidden;transition:.2s;padding:30px}
.lb.open{opacity:1;visibility:visible}
.lb img{max-width:min(1200px,92vw);max-height:84vh;border-radius:10px}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;width:52px;height:52px;border-radius:50%;font-size:1.6rem;cursor:pointer}
.lb button:hover{background:var(--red)}
.lb .lb-close{top:20px;right:20px}
.lb .lb-prev{left:20px;top:50%;transform:translateY(-50%)}
.lb .lb-next{right:20px;top:50%;transform:translateY(-50%)}
.lb .lb-cap{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#eee;font-size:.95rem}

/* Reveal */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* 404 */
.nf{text-align:center;padding:110px 0}
.nf .big{font-family:var(--serif);font-size:8rem;color:var(--red);line-height:1}

/* Responsive */
@media (max-width:1180px){
  .nav a.nl{padding:10px 9px;font-size:.94rem}
  .tiles{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1040px){
  .menu-btn{display:inline-flex}
  .nav{position:fixed;inset:0;top:0;background:#fff;z-index:100;padding:96px 24px 40px;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity .2s;margin:0}
  body.menu-open .nav{visibility:visible;opacity:1}
  body.menu-open{overflow:hidden}
  .menu-btn{position:relative;z-index:110}
  body.menu-open .menu-btn span{background:transparent}
  body.menu-open .menu-btn span::before{top:0;transform:rotate(45deg)}
  body.menu-open .menu-btn span::after{top:0;transform:rotate(-45deg)}
  .nav>ul{flex-direction:column;align-items:stretch;gap:0}
  .nav>ul>li{border-bottom:1px solid var(--line)}
  .nav a.nl{font-size:1.25rem;padding:14px 4px;font-family:var(--serif)}
  .nav .sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 12px 8px;min-width:0}
  .nav .sub a{font-size:1rem;padding:7px 8px;color:var(--ink-2)}
  .nav .cta{margin:22px 0 0;border:0!important}
  .nav .cta .btn{width:100%}
  .brand{position:relative;z-index:110}
  .hero .wrap,.split,.content{grid-template-columns:1fr}
  .aside{position:static}
  .events,.cards,.courses,.team{grid-template-columns:repeat(2,1fr)}
  .dl-grid{grid-template-columns:repeat(3,1fr)}
  .partners{grid-template-columns:repeat(3,1fr)}
  .f-grid{grid-template-columns:1fr 1fr}
  .room{grid-template-columns:1fr}
  .room:nth-child(even) .room-img{order:0}
  .room-img{min-height:260px;max-height:340px}
  .split.rev>:first-child{order:0}
}
@media (max-width:680px){
  body{font-size:1.0625rem}
  .wrap{padding:0 18px}
  .topbar .tb-mail,.topbar .tb-addr{display:none}
  .topbar .wrap{gap:14px}
  .site-header .wrap{min-height:70px}
  .brand-mark{width:44px;height:44px}
  .brand-text strong{font-size:1.12rem}
  .brand-text span{font-size:.68rem}
  .hero{padding:36px 0 48px}
  .hero .wrap{gap:36px}
  .hero .lead{font-size:1.08rem}
  .hero .actions .btn{width:100%}
  .mosaic{height:380px;gap:10px}
  .mosaic::before{width:80px;height:80px;right:-20px;top:-24px}
  .section{padding:56px 0}
  .section-tight{padding:40px 0}
  .section-head{flex-direction:column;align-items:flex-start;margin-bottom:24px}
  .tiles{grid-template-columns:1fr 1fr;gap:12px}
  .tile{padding:18px;min-height:0}
  .tile h3{font-size:1.15rem}
  .tile p{display:none}
  .tile .ic{width:44px;height:44px}
  .events,.cards,.cards.c2,.cards.c4,.courses,.team,.clist,.authors{grid-template-columns:1fr}
  .dl-grid{grid-template-columns:1fr 1fr;gap:12px}
  .grid2{grid-template-columns:1fr 1fr;gap:10px}
  .fact{flex-direction:column;padding:14px;gap:8px}
  .partners{grid-template-columns:1fr 1fr;gap:12px}
  .flyer-feature,.notice{grid-template-columns:1fr;gap:28px;padding:0}
  .notice{padding:24px}
  .flyer-feature img{width:min(260px,80%);margin:0 auto}
  .notice img{width:100%}
  .flyer-feature .actions .btn{width:100%}
  .page-head{padding:34px 0 30px}
  .page-head::after{width:140px;height:140px;right:-50px;top:-50px}
  .crumbs{display:none}
  .room-body{padding:24px 22px}
  .room-stats li{padding:8px 11px}
  .gallery,.gallery.g6{grid-template-columns:repeat(3,1fr);gap:6px}
  .gallery a{border-radius:8px}
  .form{grid-template-columns:1fr}
  .form .btn{width:100%}
  .cols2{columns:1}
  .olist{grid-template-columns:1fr}
  .f-grid{grid-template-columns:1fr;gap:30px}
  .f-bottom{flex-direction:column}
  .lb .lb-prev,.lb .lb-next{top:auto;bottom:16px;transform:none}
  .split figure.rounded{max-height:320px}
  .quote{font-size:1.25rem}
}
@media print{.topbar,.site-header,.site-footer,.aside{display:none}body{background:#fff}}
.gallery.g2{grid-template-columns:repeat(2,1fr)}
.nav a.nl{white-space:nowrap}
@media (max-width:680px){
  .tile .link-arrow{font-size:0;margin-top:6px}
  .tile .link-arrow::after{font-size:1.3rem}
  .events.home .ev:nth-child(n+4){display:none}
}
.ev-img.ph{display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(-45deg,var(--sun) 0 22px,#FFB703 22px 44px)}
.ev-img.ph .ph-t{font-family:var(--serif);font-style:italic;font-weight:700;font-size:3rem;color:var(--ink);background:#fff;padding:6px 26px;border-radius:14px;transform:rotate(-4deg);box-shadow:var(--shadow)}

/* ===== Barrierefreiheit: Schalter ===== */
.topbar button.tb-access{background:none;border:0;font:inherit;color:var(--sun);cursor:pointer;padding:6px 0;font-weight:700}
.topbar button.tb-access:hover{text-decoration:underline}
.a11y-fab{position:fixed;left:18px;bottom:18px;z-index:90;width:58px;height:58px;border-radius:50%;border:3px solid #fff;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.a11y-fab svg{width:30px;height:30px}
.a11y-fab:hover{background:var(--red-dark)}
.a11y-panel{position:fixed;left:18px;bottom:88px;z-index:95;width:360px;max-width:calc(100vw - 36px);max-height:calc(100vh - 110px);overflow-y:auto;background:#fff;color:var(--ink);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:20px 20px 16px;border:2px solid var(--ink)}
.a11y-panel[hidden]{display:none}
.a11y-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.a11y-head h2{font-size:1.4rem;margin:0}
.a11y-close{width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:#fff;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--ink)}
.a11y-label{display:block;font-weight:800;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:10px 0 8px}
.a11y-fs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.a11y-fs button{height:52px;border-radius:12px;border:2px solid var(--line);background:#fff;font-family:var(--serif);font-weight:700;color:var(--ink);cursor:pointer}
.a11y-fs button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.a11y-tog{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;width:100%;text-align:left;background:var(--paper);border:2px solid transparent;border-radius:14px;padding:12px 14px;margin-top:8px;cursor:pointer;font:inherit;color:var(--ink)}
.a11y-tog:hover{border-color:var(--line)}
.a11y-tog-t{font-weight:700;font-size:1rem}
.a11y-tog-s{grid-row:2;font-size:.85rem;color:var(--muted)}
.a11y-sw{grid-row:1/3;grid-column:2;width:48px;height:28px;border-radius:999px;background:#C9BFB1;position:relative;transition:.2s}
.a11y-sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}
.a11y-tog[aria-pressed="true"]{border-color:var(--ink)}
.a11y-tog[aria-pressed="true"] .a11y-sw{background:var(--teal)}
.a11y-tog[aria-pressed="true"] .a11y-sw::after{left:23px}
.a11y-read{display:flex;gap:8px;flex-wrap:wrap}
.a11y-hint{font-size:.85rem;color:var(--muted);margin:8px 0 0}
.a11y-foot{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:.9rem}
.a11y-reset{background:none;border:0;font:inherit;font-weight:700;color:var(--red-dark);cursor:pointer;padding:6px 0;text-decoration:underline}
@media (max-width:680px){.a11y-fab{left:12px;bottom:12px;width:54px;height:54px}.a11y-panel{left:12px;right:12px;bottom:76px;width:auto}}
@media print{.a11y-fab,.a11y-panel{display:none!important}}

/* Schriftgrößen */
html.a11y-fs-1{font-size:112.5%}
html.a11y-fs-2{font-size:125%}
html.a11y-fs-3{font-size:140%}
html.a11y-fs-2 .nav a.nl,html.a11y-fs-3 .nav a.nl{font-size:.9rem}

/* Links hervorheben */
html.a11y-links a:not(.btn){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px}
html.a11y-links a:not(.btn):not(.card):not(.tile):not(.dl):not(.partner):not(.brand){background:#FFF3B0;color:#000!important;box-shadow:0 0 0 2px #FFF3B0}
html.a11y-links a.card,html.a11y-links a.tile,html.a11y-links a.dl,html.a11y-links a.partner{outline:3px solid #000;outline-offset:2px}

/* Lesefreundliche Schrift */
html.a11y-readable body,html.a11y-readable h1,html.a11y-readable h2,html.a11y-readable h3,html.a11y-readable h4,html.a11y-readable button,html.a11y-readable input,html.a11y-readable select,html.a11y-readable textarea{font-family:Verdana,Tahoma,Arial,sans-serif!important;font-style:normal!important;letter-spacing:.03em;word-spacing:.12em}
html.a11y-readable body{line-height:1.85}
html.a11y-readable .prose,html.a11y-readable p{max-width:62ch}

/* Animationen aus */
html.a11y-nomotion *,html.a11y-nomotion *::before,html.a11y-nomotion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-nomotion .reveal{opacity:1!important;transform:none!important}

/* Hoher Kontrast */
html.a11y-contrast body,html.a11y-contrast body *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(text):not(img){background-color:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-contrast body{background:#000!important}
html.a11y-contrast a,html.a11y-contrast a *{color:#FFE600!important}
html.a11y-contrast a{text-decoration:underline!important}
html.a11y-contrast .btn,html.a11y-contrast .filters button,html.a11y-contrast .a11y-fs button,html.a11y-contrast .a11y-tog,html.a11y-contrast .card,html.a11y-contrast .ev,html.a11y-contrast .box,html.a11y-contrast .course,html.a11y-contrast .citem,html.a11y-contrast .tile,html.a11y-contrast .fact,html.a11y-contrast .person,html.a11y-contrast .room,html.a11y-contrast .dl,html.a11y-contrast .partner,html.a11y-contrast .site-header,html.a11y-contrast .a11y-panel{border:2px solid #fff!important}
html.a11y-contrast .btn{color:#FFE600!important}
html.a11y-contrast [aria-pressed="true"]{background:#FFE600!important;color:#000!important}
html.a11y-contrast [aria-pressed="true"] *{background:transparent!important;color:#000!important}
html.a11y-contrast .a11y-sw{background:#555!important}
html.a11y-contrast .a11y-tog[aria-pressed="true"] .a11y-sw{background:#000!important}
html.a11y-contrast .ev-img.ph{background-image:none!important}
html.a11y-contrast .page-head::after,html.a11y-contrast .mosaic::before,html.a11y-contrast .mosaic::after{display:none}
html.a11y-contrast .a11y-fab{background:#FFE600!important;color:#000!important;border-color:#000!important}
html.a11y-contrast .a11y-fab svg{color:#000}
html.a11y-contrast svg{color:currentColor}
html.a11y-contrast .brand-mark rect{fill:#FFE600}
html.a11y-contrast .brand-mark text{fill:#000}
html.a11y-contrast :focus-visible{outline:4px solid #FFE600!important}
html.a11y-contrast .check li::before{background:#FFE600!important}
html.a11y-contrast .check li::after{border-color:#000!important}

/* Lesemarkierung beim Vorlesen */
.a11y-reading{background:#FFF3B0!important;outline:3px solid var(--sun);border-radius:4px}
html.a11y-contrast .a11y-reading{background:#FFE600!important;color:#000!important}
.ls{font-size:1.2rem;line-height:1.8}
.ls h2{font-family:var(--sans);font-weight:800;font-size:1.6rem;margin-top:1.6em}
.ls p,.ls li{margin-bottom:1em}
