/* Header und Footer, nach Corporate Design V 3.1 */

/* ---------- Header ---------- */
header.seitenkopf{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #E9E2D6}
header.seitenkopf .wrap.kopf-in{max-width:1280px;width:100%;margin:0 auto}
footer.fusszeile .wrap{max-width:1160px;width:100%;margin:0 auto}
.kopf-in{display:flex;align-items:center;justify-content:space-between;gap:48px;height:112px}
.kopf-logo{display:block;flex:none;line-height:0}
.kopf-logo img{display:block;height:54px;width:auto}
.kopf-nav{display:flex;align-items:center;gap:42px}
.kopf-nav a,.kopf-ordner{font-family:"DM Sans",Arial,sans-serif;font-size:17px;font-weight:400;line-height:1.4;color:#1A1613;text-decoration:none;padding:8px 0;white-space:nowrap;background:none;border:0;cursor:pointer;transition:color .25s ease}
.kopf-nav a:hover,.kopf-nav a:focus-visible,.kopf-ordner:hover,.kopf-ordner:focus-visible{color:#6B1D1D}
.kopf-nav > a[aria-current="page"]{color:#6B1D1D}
.kopf-ordner{display:inline-flex;align-items:center;gap:9px}
.kopf-ordner svg{transition:transform .25s ease}
.kopf-gruppe{position:relative}
.kopf-unter{position:absolute;top:100%;left:-26px;padding-top:22px;min-width:290px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease,visibility .25s}
.kopf-unter::before{content:"";position:absolute;inset:22px 0 0 0;background:#fff;border:1px solid #E9E2D6;border-radius:10px;box-shadow:0 14px 30px rgba(26,22,19,.10);z-index:-1}
.kopf-unter a{display:block;padding:13px 26px}
.kopf-unter a:first-child{padding-top:20px}
.kopf-unter a:last-child{padding-bottom:20px}
.kopf-gruppe:hover .kopf-unter,.kopf-gruppe:focus-within .kopf-unter{opacity:1;visibility:visible;transform:none}
.kopf-gruppe:hover .kopf-ordner svg,.kopf-gruppe:focus-within .kopf-ordner svg{transform:rotate(180deg)}
.kopf-schalter{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.kopf-knopf{display:none}

@media (max-width:1100px){
  .kopf-in{height:84px}
  .kopf-logo img{height:44px}
  .kopf-knopf{display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;cursor:pointer;margin-right:-8px;padding:0 9px}
  .kopf-knopf span{display:block;height:1.6px;background:#1A1613;border-radius:2px;transition:transform .3s ease,opacity .3s ease}
  .kopf-nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:linear-gradient(135deg,#F3EEE8 0%,#EDE6DF 50%,#E3D9CF 100%);border-bottom:1px solid #E9E2D6;padding:10px var(--rand,20px) 26px;box-shadow:0 12px 24px rgba(26,22,19,.08);max-height:calc(100vh - 84px);overflow-y:auto;display:none;text-align:left}
  .kopf-nav > a,.kopf-ordner{font-size:18px;padding:15px 0;border-bottom:1px solid rgba(74,51,46,.12)}
  .kopf-nav > a:last-child{border-bottom:none}
  .kopf-gruppe{border-bottom:1px solid rgba(74,51,46,.12)}
  .kopf-ordner{width:100%;border-bottom:none;cursor:default;color:#4A332E;pointer-events:none}
  .kopf-ordner svg{display:none}
  .kopf-unter{position:static;opacity:1;visibility:visible;transform:none;padding:0 0 10px 18px;min-width:0}
  .kopf-unter::before{display:none}
  .kopf-unter a,.kopf-unter a:first-child,.kopf-unter a:last-child{font-size:17px;padding:10px 0}
  .kopf-schalter:checked ~ .kopf-nav{display:flex}
  .kopf-schalter:checked + .kopf-knopf span:nth-child(1){transform:translateY(7.6px) rotate(45deg)}
  .kopf-schalter:checked + .kopf-knopf span:nth-child(2){opacity:0}
  .kopf-schalter:checked + .kopf-knopf span:nth-child(3){transform:translateY(-7.6px) rotate(-45deg)}
  .kopf-schalter:focus-visible + .kopf-knopf{outline:2px solid #6B1D1D;outline-offset:2px}
}
html.rahmen header.seitenkopf{position:static}

/* ---------- Instagram-Band (weiß) ---------- */
section.insta-band{background:#fff;padding:72px 0 76px}
.insta-band .wrap{max-width:1160px;width:100%;margin:0 auto}
.ib-kopf{display:flex;align-items:flex-end;justify-content:space-between;gap:20px 40px;flex-wrap:wrap;margin-bottom:30px}
.ib-titel{font-family:"Marcellus",Georgia,serif;font-weight:400;font-size:38px;line-height:1.15;color:#B08D57;margin:0}
.ib-text{font-size:17px;line-height:1.6;color:#1A1613;margin:12px 0 0;max-width:none}
a.ib-handle{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:500;color:#1A1613;text-decoration:none;border-bottom:1px solid rgba(26,22,19,.3);padding-bottom:4px;transition:color .25s ease,border-color .25s ease}
a.ib-handle:hover,a.ib-handle:focus-visible{color:#6B1D1D;border-color:#6B1D1D}
.ib-raster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ib-raster a{display:block;line-height:0;border-radius:8px;overflow:hidden}
.ib-raster img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:8px;transition:transform .35s ease,filter .35s ease}
.ib-raster a:hover img{filter:brightness(1.04)}
.ib-raster a:hover img{transform:scale(1.03)}

/* ---------- Footer (braun) ---------- */
footer.fusszeile{background:none;color:#fff;padding:0!important;font-size:17px}
.fz-braun{background:linear-gradient(135deg,#5A443F 0%,#3D2B27 55%,#2B1F1D 100%);color:#fff;padding:48px 0 38px}
.fz-oben{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:26px 40px}
.fz-rechts{display:flex;flex-direction:column;align-items:center}
.fz-logo{display:block;line-height:0}
.fz-logo img{display:block;height:51px;width:auto}
.fz-nav{display:flex;flex-wrap:wrap;align-items:center;gap:14px 32px}
footer.fusszeile .fz-nav a{margin:0;font-size:17px;color:#fff;text-decoration:none;letter-spacing:.06em;text-transform:uppercase;transition:color .25s ease}
footer.fusszeile .fz-nav a:hover,footer.fusszeile .fz-nav a:focus-visible{color:#E6C887}
.fz-perlen.perlen{justify-content:center;margin:22px 0 14px}
.fz-perlen.perlen i{background:#E8DED3;opacity:.75}
.fz-perlen.perlen i:nth-child(2n){background:#fff;opacity:.45}
.fz-perlen.perlen i.g{background:#E6C887;opacity:1}
.fz-recht{margin:0 auto;max-width:none;text-align:center;font-size:16px;line-height:1.65;color:rgba(255,255,255,.82)}

@media (max-width:760px){
  section.insta-band{padding:52px 0 56px}
  .ib-titel{font-size:34px}
  .ib-kopf{margin-bottom:24px}
  .ib-raster{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ib-raster > :nth-child(n+5){display:none}
  .fz-oben{flex-direction:column;align-items:center;text-align:center}
  .fz-perlen.perlen{margin:24px 0 14px}
  .fz-nav{justify-content:center;gap:14px 24px}
  footer.fusszeile .fz-nav a{font-size:16px}
}

/* Fotos in den beiden Karten: mehr Bildausschnitt */
.zw-bild,.zw-foto{height:300px}
.zw-gespraech .zw-foto img{object-position:center 40%}
.zw-selbst .zw-bild img{max-width:80%!important;max-height:80%!important}
@media (max-width:760px){.zw-bild,.zw-foto{height:240px}}

.ib-widget{min-height:120px}
.ib-widget behold-widget{display:block;width:100%}
/* Footer kompakt */
.fz-braun{padding:26px 0}
.fz-oben{gap:16px 32px}
.fz-logo img{height:38px}
.fz-rechts{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px 28px}
.fz-nav{gap:10px 24px}
footer.fusszeile .fz-nav a{font-size:14px;letter-spacing:.08em}
.fz-perlen.perlen{display:none}
.fz-recht{margin:0;font-size:14px;line-height:1.5;text-align:left;color:rgba(255,255,255,.82)}
@media (max-width:760px){
  .fz-braun{padding:24px 0}
  .fz-rechts{flex-direction:column;gap:10px}
  .fz-recht{text-align:center}
  footer.fusszeile .fz-nav a{font-size:14px}
}
/* Instagram-Band kompakt */
section.insta-band{padding:44px 0 48px}
section.insta-band .wrap{max-width:1160px}
.insta-band .ib-kopf,.insta-band .ib-widget{max-width:1000px;margin-left:auto;margin-right:auto}
@media (max-width:860px){.insta-band .ib-kopf,.insta-band .ib-widget{max-width:520px}}
.ib-kopf{margin-bottom:18px;gap:10px 30px}
.ib-titel{font-size:28px}
.ib-text{font-size:16px;margin-top:6px}
a.ib-handle{font-size:16px}
@media (max-width:760px){section.insta-band{padding:36px 0 40px}.ib-titel{font-size:26px}}

/* Titelbereich auf den Unterseiten so hoch wie auf der Startseite */
@media (min-width:901px){main>section.hero:first-child,main>section.hero2:first-child{min-height:750px!important}}
