:root{
  --brand:#8b2033;
  --brand-dark:#6f1a29;
  --text:#1b1f2a;
  --muted:#6b7280;
  --line:rgba(15, 23, 42, .10);
  --card:rgba(255,255,255,.85);
  --shadow:0 10px 30px rgba(0,0,0,.12);
  --radius:10px;
  --bg:#f3f4f6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% -200px, rgba(255,255,255,.8), transparent 60%),
              linear-gradient(#f9fafb, #eff2f6);
}

/* ===== Top header (ersetzt durch Bild) ===== */
.top{
  position:relative;
  height:150px;
  overflow:hidden;

  /* Headergrafik aus /images */
  background-image: url("images/header-townowrk.jpg");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:cover;
}

/* leichter “Weiß-Fade” unten wie im Layout */
/* ENTFERNEN oder KOMMENTIEREN
.top::after{
  content:"";
  position:absolute; inset:auto 0 0 0;
  height:36px;
  background:linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.85));
  filter:blur(.2px);
}
*/

.top{
  position:relative;
  height:230px;              /* <-- höher, damit das Bild komplett sichtbar ist */
  overflow:hidden;
  background-image: url("images/header-townowrk.jpg");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:cover;
}


.brandbar{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding-top:8px;
}

.logo-mark{
  width:58px; height:58px;
  display:grid;
  place-items:center;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.logo-mark svg{display:block}



/* ===== Main wrapper ===== */
.wrap{
  max-width:1180px;
  margin:24px auto 0;        /* kein negativer Margin */
  padding:0 18px 30px;
}


.page{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(255,255,255,.65);
  border-radius:18px;
  box-shadow:var(--shadow);
  backdrop-filter: blur(6px);
  padding:22px 22px 18px;
}

/* Breadcrumbs */
.crumbs{
  font-size:14px;
  color:var(--muted);
  margin:6px 0 14px;
}
.crumbs a{color:var(--muted); text-decoration:none}
.crumbs b{color:#111827}

/* Header row (Icon + “FAQ”) */
.titleRow{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:16px;
}




h1{
  margin:0;
  font-size:44px;
  letter-spacing:.2px;
  color:#1f2a44;
}

/* Search row + buttons */
.searchRow{
  display:flex;
  align-items:center;
  gap:12px;
  margin:10px 0 18px;
}
.search{
  flex:1;
  display:flex;
  align-items:center;
  border-radius:10px;
  overflow:hidden;
  background:rgba(255,255,255,.9);
  border:1px solid var(--line);
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.search .prefix{
  width:46px;
  display:grid;
  place-items:center;
  color:#9ca3af;
}
.search input{
  flex:1;
  border:0;
  outline:0;
  padding:12px 10px;
  font-size:15px;
  background:transparent;
}

.search button{
  width:54px;
  border:0;
  background:#d55a2c;   /* bleibt orange */
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
}


.searchBtn{
  width:54px;          /* dein bestehender Button */
  height:100%;
  padding:0;
  background:none;    /* Grafik bringt Farbe mit */
  display:grid;
  place-items:center;
}

.searchBtn img{
  width:100%;
  height:100%;
  object-fit:contain;   /* ODER: cover, siehe unten */
  border-radius:10px;
}


.search button.searchBtn{
  width:54px;
  height:44px;
  border:0;
  padding:0;
  background:#f05a3c;   /* Buttonfarbe */
  border-radius:8px;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.search button.searchBtn img{
  width:68%;            /* sorgt für Rand zur Kante */
  height:68%;
  display:block;
  pointer-events:none;
}


.search button:hover{filter:brightness(.98)}

.btnGroup{
  display:flex;
  background:rgba(0,0,0,.04);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.btnGroup button{
  border:0;
  background:transparent;
  padding:10px 14px;
  font-weight:600;
  cursor:pointer;
  color:#374151;
  white-space:nowrap;
}
.btnGroup button:hover{background:rgba(255,255,255,.55)}
.btnGroup button + button{border-left:1px solid var(--line)}

/* Layout: Sidebar + Content */
.grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:18px;
  align-items:start;
}

/* ===== Sidebar ===== */
.sideCard{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  box-shadow:0 10px 20px rgba(0,0,0,.06);
}

.sideNav{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}

.sideItem{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  cursor:pointer;
  user-select:none;
}
.sideItem .star{
  width:18px;height:18px;border-radius:999px;
  display:grid;place-items:center;
  color:#e11d48;
  font-size:12px;
}
.sideItem .label{
  flex:1;
  font-weight:700;
  color:#374151;
  font-size:14px;
}
.sideItem .chev{color:#9ca3af}
.sideItem.active{
  background:rgba(139,32,51,.08);
  border-color:rgba(139,32,51,.35);
}

.chipsTitle{
  font-weight:800;
  color:#6b7280;
  margin:6px 0 10px;
  font-size:22px;
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.05);
  border:1px solid var(--line);
  font-weight:600;
  color:#6b7280;
  font-size:13px;
}

/* ===== Main accordion ===== */
.panel{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 10px 20px rgba(0,0,0,.06);
  overflow:hidden;
}

.accGroup{
  border-top:1px solid var(--line);
}
.accGroup:first-child{border-top:0}

.accHeader{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  cursor:pointer;
  user-select:none;
  background:rgba(0,0,0,.03);
}
.accHeader.primary{
  background:linear-gradient(180deg, rgba(139,32,51,.98), rgba(121,27,45,.98));
  color:#fff;
}
.accHeader .badge{
  width:18px;height:18px;
  border-radius:999px;
  display:grid;place-items:center;
  font-size:12px;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.25);
}
.accHeader:not(.primary) .badge{
  background:rgba(139,32,51,.14);
  border:1px solid rgba(139,32,51,.22);
  color:var(--brand);
  font-weight:900;
}
.accHeader .title{
  font-weight:800;
  font-size:15px;
  flex:1;
}
.accHeader .arrow{
  width:28px;height:28px;
  border-radius:999px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.16);
}
.accHeader:not(.primary) .arrow{
  background:rgba(0,0,0,.04);
  color:#6b7280;
}

.accBody{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  background:rgba(255,255,255,.78);
}
.accGroup.open .accBody{max-height:500px}
.accBody .q{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-top:1px solid var(--line);
  color:#6b7280;
  font-weight:650;
}
.accBody .q:first-child{border-top:0}
.accBody .q .dot{
  width:12px;height:12px;border-radius:999px;
  border:2px solid rgba(139,32,51,.25);
  background:transparent;
  flex:0 0 auto;
}
.accBody .q .text{flex:1}
.accBody .q .miniArrow{color:#9ca3af}

/* “Beliebte Fragen” Bereich rechts unten */
.popular{
  padding:16px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.62);
}
.popular h2{
  margin:2px 0 10px;
  color:#6b7280;
  font-size:22px;
  letter-spacing:.2px;
}
.popularList{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:rgba(255,255,255,.78);
}
.popularItem{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-top:1px solid var(--line);
  color:#6b7280;
  font-weight:650;
}
.popularItem:first-child{border-top:0}
.popularItem .dot{
  width:12px;height:12px;border-radius:999px;
  border:2px solid rgba(139,32,51,.25);
}
.popularItem .text{flex:1}
.popularItem .endArrow{color:#9ca3af}

/* Footer */
.footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:12px 6px 0;
  color:#6b7280;
  font-size:14px;
}
.footer a{color:#6b7280; text-decoration:none}
.footer a:hover{text-decoration:underline}

/* Responsiv */
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
  .brandname{font-size:36px}
  h1{font-size:38px}
  .searchRow{flex-wrap:wrap}
  .btnGroup{width:100%; justify-content:flex-end}
}


/* ===== Content Footer ===== */
.contentFooter{
  margin-top:32px;
  border-top:1px solid rgba(0,0,0,.08);
  background:#f1f3f6;           /* dunkler als Content */
  border-radius:0 0 18px 18px;  /* passt zur Card */
}

.contentFooterInner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 20px;
  font-size:14px;
  color:#6b7280;
}

.contentFooter a{
  color:#6b7280;
  text-decoration:none;
}

.contentFooter a:hover{
  text-decoration:underline;
}

.footerLinks{
  white-space:nowrap;
}

/* Responsive */
@media (max-width: 680px){
  .contentFooterInner{
    flex-direction:column;
    text-align:center;
    gap:8px;
  }
}

mark.tw-hl{
  background: rgba(255, 230, 0, 0.55);
  padding: 0 2px;
  border-radius: 4px;
}
