/* EDU4UA — Psychologische Unterstuetzung.
   Gestaltung nach dem Entwurf, den die Psychologinnen im Oktober 2026
   geschickt haben: warmes Creme als Grund, Ueberschriften in dunklem Braun,
   Knoepfe und Akzente in Karamell, Fusszeile in Mokka. Die Seite ist
   auf ihren Wunsch nur ukrainisch. */

:root{
  --bg:#f6f0e7;
  --bg-alt:#eee4d6;
  --bg-deep:#e2d3bf;
  --card:#fffbf5;
  --card-alt:#f9f3ea;
  --line:#e5d7c4;
  --green:#3f2f24;
  --green-soft:#ece1d2;
  --sage:#e2d4c1;
  --gold:#b88a55;
  --gold-dark:#97693a;
  --gold-dim:rgba(184,138,85,.45);
  --brown:#7c6352;
  --text:#3a3029;
  --muted:#76695d;
  --shadow:0 .6rem 1.8rem rgba(70,48,30,.09);
  --container:min(1200px, calc(100% - 32px));
  --radius:1rem;
  --font-head:Montserrat,Inter,system-ui,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
button{font:inherit}
img{display:block;max-width:100%;height:auto}
p{margin:0;color:var(--muted)}
.container{width:var(--container);margin-inline:auto}

h1,h2,h3{margin:0;line-height:1.18;font-family:var(--font-head);font-weight:700;letter-spacing:-.01em;color:var(--green)}
h1{font-size:clamp(2rem,3.7vw,3.1rem)}
h2{font-size:clamp(1.5rem,2.3vw,2rem)}
h3{font-size:1.1rem}

/* ============================== Buttons =================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:2.9rem;padding:0 1.5rem;border-radius:999px;
  font-weight:700;font-size:.9rem;border:1.5px solid transparent;
  transition:.18s ease;cursor:pointer;text-align:center;
}
.btn-gold{background:var(--gold);color:#fff;border-color:var(--gold);box-shadow:0 .4rem 1rem rgba(184,138,85,.25)}
.btn-gold:hover{background:var(--gold-dark);border-color:var(--gold-dark)}
.btn-ghost{border-color:var(--gold-dim);color:var(--gold-dark);background:transparent}
.btn-ghost:hover{border-color:var(--gold);background:rgba(184,138,85,.08)}
.btn-light{background:var(--card);color:var(--green);border-color:var(--line)}
.btn-light:hover{border-color:var(--gold-dim)}
.btn-wide{width:100%}
.btn-cta{}
.btn .arrow{font-size:1.1em;line-height:1}

/* ============================== Header ==================================== */
.site-header{
  position:sticky;top:0;z-index:70;
  background:rgba(246,240,231,.96);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1.25rem;min-height:4.6rem;
}
.brand{display:flex;align-items:center;gap:.7rem;flex:0 0 auto}
.brand img{
  width:3rem;height:3rem;border-radius:999px;
  background:#fff;padding:.35rem;object-fit:contain;
  border:1.5px solid var(--gold-dim);
}
.brand-text{display:grid;line-height:1.1}
.brand-text strong{font-family:var(--font-head);font-weight:700;color:var(--gold);font-size:1.45rem;letter-spacing:.01em}
.brand-text small{font-size:.74rem;color:var(--green);font-weight:500}

.nav{display:flex;align-items:center;gap:1.4rem;flex-wrap:nowrap}
.nav-links{display:flex;align-items:center;gap:1.35rem}
.nav-link{
  position:relative;padding:.4rem 0;font-size:.9rem;font-weight:500;color:var(--text);white-space:nowrap;
}
.nav-link:hover{color:var(--gold-dark)}
.nav-link.is-active{color:var(--gold-dark)}
.nav-link.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-.1rem;height:2px;border-radius:2px;background:var(--gold);
}
.nav-side{display:flex;align-items:center;gap:.9rem}
.nav-login{font-size:.86rem;font-weight:600;color:var(--green);white-space:nowrap}
.nav-login:hover{color:var(--gold-dark)}
.nav-side .btn{min-height:2.6rem;padding:0 1.2rem;font-size:.84rem;white-space:nowrap}
.nav-burger{display:none}

/* ============================== Hero (Startseite) ========================= */
.home-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 42%,var(--bg-alt) 100%);
  border-bottom:1px solid var(--line);
}
.home-hero-photo{
  position:absolute;top:0;right:0;bottom:0;width:56%;
  background:var(--bg-deep) center/cover no-repeat;
}
.home-hero-photo::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,var(--bg) 0%,rgba(246,240,231,.55) 18%,rgba(246,240,231,0) 42%);
}
.home-hero-inner{position:relative;z-index:2;padding:4.5rem 0 4.75rem;max-width:36rem;display:grid;gap:1.25rem}
.home-hero .eyebrow{color:var(--green);font-size:1.05rem;font-weight:500}
.home-hero h1{text-wrap:balance}
.home-hero .lead{font-size:1.05rem;color:var(--text)}
.hero-point{display:grid;grid-template-columns:auto 1fr;gap:.9rem;align-items:center;font-size:.9rem}
.hero-point svg{width:2.6rem;height:2.6rem;color:var(--gold)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:.6rem}
.handnote{
  position:absolute;right:3%;bottom:12%;z-index:2;
  font-family:Caveat,cursive;font-size:clamp(1.4rem,2.2vw,2rem);line-height:1.15;
  color:#fff;text-align:right;transform:rotate(-8deg);
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.handnote span{display:block}
.handnote svg{display:inline-block;width:1.2rem;height:1.2rem;color:var(--gold);vertical-align:middle;margin-left:.3rem}

/* ============================== Hero (Unterseiten) ======================== */
.hero{
  position:relative;
  min-height:17rem;
  display:grid;place-items:center;
  text-align:center;
  background:var(--bg-deep) center/cover no-repeat;
  border-bottom:1px solid var(--line);
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(246,240,231,.88),rgba(242,236,226,.93));
}
.hero-inner{position:relative;z-index:2;padding:3.25rem 0;display:grid;justify-items:center;gap:1rem}
.hero h1{max-width:24ch;text-wrap:balance}
.hero-sub{color:var(--gold-dark);font-weight:600;font-size:1rem}
.hero p{max-width:62ch;font-size:1rem}
.hero .hero-actions{justify-content:center}
.hero--compact{min-height:15rem}

/* ============================== Breadcrumbs =============================== */
.crumbs{background:var(--bg);border-bottom:1px solid var(--line);font-size:.82rem}
.crumbs-inner{display:flex;align-items:center;gap:.5rem;min-height:2.75rem;color:var(--muted);flex-wrap:wrap}
.crumbs-inner a:hover{color:var(--gold-dark)}
.crumbs-sep{opacity:.5}
.crumbs-current{color:var(--gold-dark)}

/* ============================== Sections ================================== */
.section{padding:4rem 0;position:relative}
.section--alt{background:var(--bg-alt)}
.section--deep{background:var(--bg-deep)}
.section-head{display:grid;justify-items:center;gap:.75rem;text-align:center;margin-bottom:2.25rem}
.section-head p{max-width:70ch}
.section-head--left{justify-items:start;text-align:left}
.section-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:2rem}
.section-row p{margin-top:.5rem}
.link-arrow{font-weight:600;color:var(--green);font-size:.92rem;white-space:nowrap}
.link-arrow:hover{color:var(--gold-dark)}

.grid{display:grid;gap:1.25rem}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);
}
.section--alt .card{background:var(--card)}
.card p{margin-top:.7rem;font-size:.92rem}

/* Liste mit goldenen Punkten */
.dots{list-style:none;margin:0;padding:0;display:grid;gap:.65rem}
.dots li{position:relative;padding-left:1.15rem;font-size:.92rem;color:var(--text)}
.dots li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:.4rem;height:.4rem;border-radius:999px;background:var(--gold);
}
.dots--muted li{color:var(--muted);font-size:.88rem}

/* Klickbare Karte (Themenbereiche, Leistungen) */
.link-card{
  display:flex;flex-direction:column;gap:.85rem;
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);
  transition:.2s ease;
}
.link-card:hover{border-color:var(--gold-dim);transform:translateY(-.15rem)}
.link-card h3{font-size:1.12rem}
.link-card .more{margin-top:auto;color:var(--gold-dark);font-weight:700;font-size:.85rem}
.link-card-cover{
  margin:-1.5rem -1.5rem .25rem;aspect-ratio:16/9;border-radius:var(--radius) var(--radius) 0 0;
  background:var(--bg-deep) center/cover no-repeat;
}

/* ============================== Richtungen ================================ */
/* "З чим ми допомагаємо": Symbol im Kreis, Titel, drei Anliegen. */
.help-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}
.help-item{
  display:grid;align-content:start;gap:.7rem;
  padding:1.6rem 1.4rem 1.7rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  transition:background .2s ease;
}
.help-item:nth-child(4n){border-right:0}
.help-item:hover{background:rgba(255,253,249,.8)}
.help-item h3{font-size:1.15rem;font-weight:600}
.help-item p{font-size:.88rem;line-height:1.55}
.help-item .more{font-size:.82rem;font-weight:600;color:var(--gold-dark);margin-top:.2rem}
.icon-circle{
  width:4rem;height:4rem;border-radius:999px;background:var(--green-soft);
  display:grid;place-items:center;color:var(--green);
}
.icon-circle svg{width:2.1rem;height:2.1rem}
.leaf{position:absolute;top:1.5rem;right:0;width:7.5rem;color:#d9c7ae;pointer-events:none}

/* ============================== Fachkräfte ================================ */
.team-card{
  display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
}
.team-photo{
  aspect-ratio:4/3.3;background:var(--bg-deep) center 22%/cover no-repeat;
}
.team-photo--empty{display:grid;place-items:center;color:var(--muted);font-size:.85rem}
.team-body{display:flex;flex-direction:column;gap:.35rem;padding:1.1rem 1.15rem 1.3rem;flex:1}
.team-body h3{font-size:1.05rem;font-weight:700}
.team-role{font-size:.85rem;color:var(--muted);line-height:1.4}
.team-points{list-style:none;margin:.6rem 0 1.1rem;padding:0;display:grid;gap:.45rem}
.team-points li{display:grid;grid-template-columns:1rem 1fr;gap:.5rem;font-size:.83rem;color:var(--text);line-height:1.4}
.team-points li svg{width:1rem;height:1rem;margin-top:.1rem;color:var(--gold)}
.team-points li span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.team-body .btn{margin-top:auto;align-self:flex-start;min-height:2.5rem;padding:0 1.1rem;font-size:.84rem}

/* Einzelseite einer Fachkraft */
.profile{display:grid;grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:2.5rem;align-items:start}
.profile-photo{
  aspect-ratio:3/4;border-radius:var(--radius);box-shadow:var(--shadow);
  background:var(--bg-deep) center top/cover no-repeat;border:1px solid var(--line);
}
.profile-photo--empty{display:grid;place-items:center;color:var(--muted)}
.profile-side{display:grid;gap:1rem}
.profile h1{font-size:clamp(1.8rem,3vw,2.4rem)}
.profile-role{font-size:1.05rem;color:var(--muted);margin-top:.5rem}
.profile-facts{display:grid;gap:1.25rem;margin-top:1.75rem}
.profile-facts h3{font-size:1rem;color:var(--gold-dark);margin-bottom:.4rem}
.profile-facts p{color:var(--text);white-space:pre-line}
.tags{display:flex;flex-wrap:wrap;gap:.4rem}
.tag{
  display:inline-flex;align-items:center;padding:.3rem .75rem;
  border-radius:999px;background:var(--green-soft);
  color:var(--green);font-size:.78rem;font-weight:600;
}
a.tag:hover{background:var(--sage)}

/* Fotovorschau im Profil des Kontos */
.spec-photo{
  aspect-ratio:3/4;border-radius:.75rem;margin-bottom:1.1rem;
  background:var(--bg-deep) center/cover no-repeat;border:1px solid var(--line);
}
.spec-photo--empty{aspect-ratio:4/3;display:grid;place-items:center;color:var(--muted);font-size:.8rem}

/* ============================== Warum wir / Ablauf ======================== */
.why-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.15fr) minmax(0,1.25fr);gap:2rem;align-items:stretch}
.why-photo{border-radius:var(--radius);background:var(--bg-deep) center/cover no-repeat;min-height:18rem}
.why-list{list-style:none;margin:1.25rem 0 1.5rem;padding:0;display:grid;gap:.95rem}
.why-list li{display:grid;grid-template-columns:1.6rem 1fr;gap:.75rem;align-items:start;font-size:.92rem;color:var(--text)}
.why-list svg{width:1.5rem;height:1.5rem;color:var(--gold)}
.how-card{
  background:var(--green-soft);border-radius:var(--radius);padding:1.75rem 1.75rem 1.9rem;
  display:flex;flex-direction:column;
}
.steps{list-style:none;margin:1.25rem 0 1.5rem;padding:0;display:grid;gap:.9rem;counter-reset:step}
.steps li{display:grid;grid-template-columns:1.9rem 1fr;gap:.8rem;align-items:start;font-size:.9rem;color:var(--text);counter-increment:step}
.steps li::before{
  content:counter(step);width:1.9rem;height:1.9rem;border-radius:999px;
  background:var(--gold);color:#fff;font-weight:700;font-size:.85rem;
  display:grid;place-items:center;
}
.how-card .btn{align-self:flex-start;margin-top:auto}

.tagline{
  display:flex;align-items:center;justify-content:center;gap:1.25rem;
  padding:2.25rem 0;color:var(--green);font-size:.98rem;font-weight:500;text-align:center;
}
.tagline::before,.tagline::after{content:"";width:2.75rem;height:2px;background:var(--gold);flex:none}

/* ============================== Veranstaltungen =========================== */
.event{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.5rem;
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);
}
.event-date{
  display:grid;justify-items:center;align-content:start;gap:.1rem;
  min-width:5.5rem;padding:.8rem;border-radius:.75rem;
  background:var(--green-soft);
}
.event-day{font-family:var(--font-head);font-size:1.75rem;font-weight:700;color:var(--green);line-height:1}
.event-month{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.event h3{font-size:1.25rem}
.event-meta{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;margin-top:.6rem;font-size:.82rem;color:var(--muted)}
.event-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.event-poster{display:block;width:100%;max-width:28rem;height:auto;margin-top:1rem;border-radius:.75rem;border:1px solid var(--line)}
.event-poster--thumb{max-width:12rem}

/* Kurzfassung auf der Startseite */
.event-teaser{
  display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1.1rem;align-items:center;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow);
}
.event-teaser img{width:7rem;height:7rem;object-fit:cover;border-radius:.6rem}
.event-teaser .event-date{min-width:0;width:7rem;height:7rem;align-content:center}
.event-teaser h3{font-size:1.02rem}
.event-teaser .event-meta{margin-top:.35rem}

.empty{
  border:1px dashed var(--line);border-radius:var(--radius);
  padding:2.25rem 1.5rem;text-align:center;color:var(--muted);font-size:.92rem;
}

/* Hinweis-Streifen (Registrierung, 50 Minuten) */
.note{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:.9rem;
  background:var(--green-soft);border-radius:var(--radius);padding:1.1rem 1.25rem;
}
.note > strong{font-family:var(--font-head);font-size:1.3rem;color:var(--green)}
.note strong{display:block;color:var(--green)}
.note p{margin-top:.3rem;font-size:.9rem}

/* ============================== Footer ==================================== */
footer{background:var(--brown);color:#f3ebe0;padding:3rem 0 1.5rem}
footer p{color:#e6d9c8}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:2rem}
.footer-brand{display:flex;align-items:center;gap:.7rem;margin-bottom:.9rem}
.footer-brand img{width:2.6rem;height:2.6rem;border-radius:999px;background:#fff;padding:.3rem}
.footer-brand strong{font-family:var(--font-head);font-size:1.25rem;color:#ecc995}
footer h3{color:#ecc995;font-size:.95rem;margin-bottom:.8rem}
.footer-links{display:grid;gap:.45rem;font-size:.88rem}
.footer-links a{color:#f3ebe0}
.footer-links a:hover{color:#ecc995}
.footer-bottom{margin-top:2.25rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.15);font-size:.8rem;color:#ddcdb9}

/* ============================== Beitraege ================================= */
a.link-card{text-decoration:none;color:inherit}
.article-card h3{font-size:1.15rem}
.article-card p{margin-top:.6rem}
.article{max-width:52rem;margin-inline:auto}
.article-lead{margin-top:.75rem;font-size:1.05rem;font-weight:600;color:var(--text)}
.article-body{margin-top:1.25rem;font-size:1rem;line-height:1.75;color:var(--text)}
.article-body p{margin:0 0 1rem;color:var(--text)}
.article-body a{color:var(--gold-dark);text-decoration:underline}
.article-figure{margin:1.5rem 0}
.article-figure img{width:100%;border-radius:.75rem;border:1px solid var(--line)}
.article-figure figcaption{margin-top:.5rem;font-size:.85rem;color:var(--muted);text-align:center}

/* ============================== Responsive ================================ */
@media (max-width:1180px){
  .nav-links{gap:1rem}
  .nav-link{font-size:.85rem}
  .nav-login{display:none}
}
@media (max-width:1080px){
  .grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .help-item:nth-child(4n){border-right:1px solid var(--line)}
  .help-item:nth-child(2n){border-right:0}
  .why-row{grid-template-columns:1fr 1fr}
  .why-photo{display:none}
  .section{padding:3rem 0}
}
@media (max-width:980px){
  .grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav-burger{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:2.5rem;padding:0 1rem;border-radius:999px;
    border:1px solid var(--line);background:var(--card);color:var(--green);
    font-weight:700;font-size:.85rem;cursor:pointer;
  }
  .nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:stretch;gap:1rem;
    padding:1rem 16px 1.25rem;
    background:var(--bg);border-bottom:1px solid var(--line);box-shadow:var(--shadow);
  }
  .site-header[data-nav="open"] .nav{display:flex}
  .header-inner{position:relative}
  .nav-links{flex-direction:column;align-items:stretch;gap:0}
  .nav-link{padding:.7rem 0;border-bottom:1px solid var(--line);font-size:.95rem}
  .nav-link.is-active::after{display:none}
  .nav-side{flex-wrap:wrap}
  .nav-login{display:inline}
  .home-hero-photo{position:relative;width:auto;height:18rem;inset:auto}
  .home-hero-photo::before{background:linear-gradient(180deg,rgba(246,240,231,0) 60%,var(--bg) 100%)}
  .home-hero{display:flex;flex-direction:column-reverse}
  .home-hero-inner{padding:2rem 0 2.5rem}
  .handnote{bottom:1.5rem;right:1rem}
  .profile{grid-template-columns:1fr}
  .profile-photo{max-width:20rem}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid > :first-child{grid-column:1/-1}
}
@media (max-width:680px){
  .grid--2,.grid--3,.grid--4{grid-template-columns:1fr}
  .help-grid{grid-template-columns:1fr}
  .help-item{border-right:0 !important;grid-template-columns:3rem minmax(0,1fr);column-gap:1rem;row-gap:.3rem;padding:1.1rem .25rem}
  .help-item .icon-circle{width:3rem;height:3rem;grid-row:span 3}
  .help-item .icon-circle svg{width:1.6rem;height:1.6rem}
  .help-item h3{font-size:1.02rem}
  .why-row{grid-template-columns:1fr}
  .event{grid-template-columns:1fr}
  .event-date{justify-self:start;min-width:0;display:flex;gap:.5rem;align-items:baseline}
  .event-teaser .event-date{display:grid}
  .brand-text strong{font-size:1.2rem}
  .tagline::before,.tagline::after{width:1.5rem}
  .footer-grid{grid-template-columns:1fr}
  .leaf{display:none}
}

/* ============================== Konto ====================================
   Anmeldung, Registrierung und der Arbeitsplatz im Konto. Dieselben
   Bausteine wie oben (Karte, Pill, Knopf), nur mit Formularen. */
.section--app{padding:3rem 0 4rem}
.container--narrow{width:min(34rem, calc(100% - 32px))}

.auth-card{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:2rem;
  display:grid;gap:1rem;
}
.auth-card h1{font-size:1.75rem}
.auth-card p{font-size:.92rem}
.auth-alt{font-size:.88rem}
.auth-alt a{color:var(--gold);font-weight:700}

/* Formulare */
.fld{display:grid;gap:.35rem;font-size:.85rem}
.fld > span{color:var(--gold);font-weight:700}
.fld input,.fld select,.fld textarea,
.reply-form textarea{
  width:100%;padding:.6rem .75rem;
  background:#fffbf5;color:var(--text);
  border:1px solid var(--line);border-radius:.5rem;
  font:inherit;font-size:.92rem;
}
.fld input:focus,.fld select:focus,.fld textarea:focus,
.reply-form textarea:focus{outline:2px solid var(--gold-dim);outline-offset:1px}
.fld textarea,.reply-form textarea{resize:vertical}
.fld--check{display:flex;align-items:center;gap:.5rem}
.fld--check input{width:auto}
.fld--wide{grid-column:1/-1}
.room-panel{border:1px solid var(--line, #e5d7c4);border-radius:12px;padding:1rem;margin:0}
.room-panel[hidden],.room-panel [hidden]{display:none}
.room-panel legend{color:var(--gold);font-weight:700;padding:0 .4rem}
.room-panel [data-room-mode],.room-settings{display:grid;gap:.5rem}
.room-settings{margin-top:.75rem;padding-top:.75rem;border-top:1px dashed var(--line, #e5d7c4)}
.room-recs{margin:.5rem 0 0;padding-left:1.2rem;font-size:.9rem}
.form-hint{font-size:.8rem;color:var(--muted)}
.form-note{margin-top:.6rem;font-size:.85rem}
.form-note--info{color:var(--muted)}
.form-note--ok{color:var(--gold-dark);font-weight:600}
.form-note--warn{color:#9c3b1e;font-weight:600}

.cab-form{display:grid;gap:1rem;margin-top:1.25rem}
.cab-form--grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cab-form button{justify-self:start}

/* Kopf des Kontos */
.cab-head{
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
  padding-bottom:1.25rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem;
}
.cab-head h1{font-size:1.9rem}
.cab-head span{font-size:.85rem;color:var(--muted)}

/* Reiter der Fachkraft */
.cab-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.cab-tab{
  min-height:2.5rem;padding:0 1rem;border-radius:.5rem;
  border:1px solid var(--line);background:var(--card);
  color:var(--text);font-size:.88rem;font-weight:600;cursor:pointer;
}
.cab-tab:hover{border-color:var(--gold-dim);color:var(--gold)}
.cab-tab.is-active{background:var(--gold);border-color:var(--gold);color:#fffbf5}

.cab-block{margin-bottom:2.5rem}
.cab-block > p{font-size:.9rem;margin-bottom:.5rem}
.cab-subhead{margin-top:2.5rem}

/* Fragen und Veranstaltungen als Karten */
.qlist{display:grid;gap:1rem;margin-top:1.25rem}
.qcard{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.25rem 1.5rem;
}
.qcard-head{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between}
.qcard-head h3{font-size:1.1rem}
.qcard-meta{margin-top:.35rem;font-size:.78rem;color:var(--muted)}
.qcard-body{margin-top:.75rem;font-size:.92rem;color:var(--text);white-space:pre-wrap}
.qcard .btn{margin-top:1rem}

.pill{
  display:inline-flex;align-items:center;padding:.2rem .65rem;border-radius:999px;
  font-size:.72rem;font-weight:700;border:1px solid var(--gold-dim);color:var(--gold);
}
.pill--answered{background:rgba(184,138,85,.12)}
.pill--taken{background:var(--bg-deep)}

.reply{
  margin-top:.9rem;padding:.85rem 1rem;
  background:var(--card-alt);border:1px solid var(--line);border-radius:.5rem;
}
.reply strong{color:var(--gold);font-size:.85rem}
.reply span{margin-left:.5rem;font-size:.75rem;color:var(--muted)}
.reply p{margin-top:.4rem;font-size:.9rem;color:var(--text);white-space:pre-wrap}

.reply-form{margin-top:1rem;display:grid;gap:.6rem}
.reply-actions{display:flex;flex-wrap:wrap;gap:.6rem}

@media (max-width:680px){
  .cab-form--grid{grid-template-columns:1fr}
  .auth-card{padding:1.5rem}
}

/* ---- Profil der Fachkraft im Konto ---- */
.pf-photo{display:grid;grid-template-columns:minmax(0,180px) 1fr;gap:1.25rem;align-items:start;margin-top:1.25rem}
.pf-photo .spec-photo{margin-bottom:0}
.pf-photo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}
.pf-photo-actions .btn{cursor:pointer}
.pf-hint{font-size:.78rem;color:var(--muted)}
.pf-directions{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.4rem .9rem;margin-top:.35rem}
.pf-dir{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:400;color:var(--text)}
.pf-dir input{width:auto}
@media (max-width:640px){.pf-photo{grid-template-columns:1fr}}

/* ---- Beitraege auf dem offenen Auftritt ---- */
a.link-card{text-decoration:none;color:inherit}
.article-card h3{color:var(--gold);font-size:1.15rem}
.article-card p{margin-top:.6rem}
.article{max-width:52rem}
.article-lead{margin-top:.75rem;font-size:1.05rem;font-weight:600}
.article-body{margin-top:1.25rem;font-size:1rem;line-height:1.7}
.article-body p{margin:0 0 1rem}
.article-body a{color:var(--gold);text-decoration:underline}
