/* Relaunch-Prototyp: nur die Startseite. Inhalts- und Funktions-IDs bleiben erhalten. */
.modern-home{background:#f4f6fb;color:#202b3d;font:17px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.modern-home .site-grid{display:grid;grid-template-columns:260px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-height:100dvh}
.modern-home .site-header{box-sizing:border-box;grid-column:2;grid-row:1;display:flex;align-items:center;min-height:82px;padding:18px clamp(20px,3vw,56px);background:#fff;border-bottom:1px solid #dce3ee}
.modern-home .site-header .site-brand{display:inline-flex;align-items:center;gap:0;min-width:0;color:inherit;text-decoration:none}
.modern-home .site-header .site-brand:hover h1,.modern-home .site-header .site-brand:focus-visible h1{text-decoration:underline;text-underline-offset:3px}
.modern-home .site-header h1{box-sizing:border-box;width:auto!important;max-width:100%;margin:0;padding:0!important;color:#263754;font-size:clamp(19px,1.65vw,26px);line-height:1.2;font-weight:650;white-space:nowrap}
.modern-home .site-header .site-brand-icon{display:block;flex:none;width:40px;height:40px;margin-right:14px}
.modern-home .site-nav{grid-column:1;grid-row:1/3;position:sticky;top:0;align-self:start;display:block;height:100dvh;overflow-y:auto;padding:18px 12px;background:#e9edf5;border-right:1px solid #d7dfeb}
.modern-home .site-nav .menu-toggle{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:40px;margin:0 0 12px;padding:7px 11px;border:1px solid #cbd7e9;border-radius:8px;background:#f8faff;color:#30405b;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer}
.modern-home .site-nav .menu-toggle::before{content:"";display:block;flex:none;width:19px;height:14px;background:linear-gradient(currentColor,currentColor) center top/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center bottom/18px 2px no-repeat}
.modern-home .site-nav .menu-toggle:hover,.modern-home .site-nav .menu-toggle:focus-visible{background:#dce7f8;color:#173f84}
.modern-home .site-nav .menu-links[hidden]{display:none}
.modern-home.menu-off .site-grid{grid-template-columns:68px minmax(0,1fr)}
.modern-home.menu-off .site-nav{padding:18px 8px}
.modern-home.menu-off .site-nav .menu-toggle{justify-content:center;padding:7px 0;font-size:0}
.modern-home.menu-off .site-nav .menu-toggle::before{width:22px;height:16px;background-size:21px 2px,21px 2px,21px 2px}
.modern-home .site-nav .menu-links{display:flex;flex-direction:column;gap:2px}
.modern-home .site-nav a{display:block;min-height:0;padding:8px 12px;border-radius:8px;background:transparent;color:#30405b;font-size:15px;line-height:1.3;text-align:left;text-decoration:none}
.modern-home .site-nav a:hover,.modern-home .site-nav a:focus-visible{background:#d9e3f3;color:#153e81;text-decoration:none}
.modern-home .site-nav a[aria-current="page"]{background:#d7e5fb;color:#173f84;font-weight:700}
.modern-home .site-nav .nav-gap{height:10px}
.modern-home main#inhalt{grid-column:2;grid-row:2;min-width:0;padding:clamp(16px,2.5vw,42px);overflow:visible}
.modern-home .home-page{max-width:1120px;margin:0 auto;background:transparent;color:#202b3d;font:inherit;line-height:1.6;overflow:visible}
.modern-home .home-page .header{position:static;width:100%;min-height:0;padding:12px 18px;border-radius:10px;background:#dfe6ff;color:#203675;font-size:22px}
.modern-home .home-page #Counter{position:static;float:right;height:auto;margin:0;color:#425270;font-size:14px;font-weight:500}
.modern-home .home-page .disp{left:auto;width:100%;padding:0}
.modern-home .home-page #banner{width:100%;max-height:280px;margin:16px 0 0;border-radius:12px;object-fit:cover;object-position:center}
.modern-home .home-page #Title{margin:0 0 22px;padding:20px 24px;border:1px solid #dfe5f0;border-radius:0 0 12px 12px;background:#fff;color:#243148;font:inherit;font-size:clamp(17px,1.6vw,21px);line-height:1.55}
.modern-home .home-page #Title nobr,.modern-home .home-page #snow nobr{white-space:normal}
.modern-home .home-page #snow{display:block}
.modern-home .home-page .Untertitel{width:100%;margin:22px 0 0;padding:12px 18px;border:1px solid #dfe5f0;border-bottom:0;border-radius:12px 12px 0 0;background:#e6eaff;color:#243675;font-size:clamp(18px,1.5vw,22px);line-height:1.3}
.modern-home .home-page .Untertitel+div{margin:0!important;padding:16px 20px;border:1px solid #dfe5f0;border-radius:0 0 12px 12px;background:#fff;overflow-wrap:anywhere}
.modern-home .home-page a{color:#1954a0;text-decoration-thickness:1px;text-underline-offset:2px}
.modern-home .home-page a:hover{text-decoration-thickness:2px}
.modern-home .home-page img{max-width:100%;height:auto}
.modern-home .home-page .home-bike-story{display:grid;grid-template-columns:minmax(250px,46%) minmax(0,1fr);align-items:start;gap:24px}
.modern-home .home-page .home-bike-story>img{display:block;width:100%;margin:0;border-radius:8px;float:none}
.modern-home .home-page .home-bike-copy{min-width:0}
.modern-home .home-page #ameise{position:absolute;top:105px;right:10px}
.modern-home .home-page [id^="anzBut_"],.modern-home .home-page [id^="ausbBut_"]{position:static;display:inline-block;left:auto;margin:8px 0;padding:6px 12px;border-radius:7px;background:#e4eaff;color:#25417c;font-size:15px}
.modern-home .home-page #humor_g,.modern-home .home-page #humor_s,.modern-home .home-page #humor_c,.modern-home .home-page #humor_f,.modern-home .home-page #humor_m{float:none;max-width:100%;width:100%;margin:0;background:#f5f7fc}
.modern-home .site-footer{max-width:1120px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:28px auto 0;padding:18px 4px;border-top:1px solid #d5ddeb;color:#53637d;font-size:14px}
.modern-home .site-footer a{color:#25539a}
@media(max-width:800px){
  .modern-home .site-grid,.modern-home.menu-off .site-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px auto;min-height:100dvh}
  .modern-home .site-header{grid-column:1;grid-row:1;position:fixed;top:0;left:0;right:76px;z-index:30;min-height:64px;padding:12px 18px;border-bottom:1px solid #d7dfeb}
  .modern-home .site-header h1{font-size:0}
  .modern-home .site-header .site-brand-icon{width:34px;height:34px;margin-right:9px}
  .modern-home .site-header h1::after{content:"SenOtto";font-size:25px;font-weight:750;letter-spacing:-.02em}
  .modern-home .site-nav,.modern-home.menu-off .site-nav{grid-column:2;grid-row:1;position:fixed;top:0;right:0;z-index:31;width:76px;height:64px;min-height:0;overflow:visible;padding:8px 14px;border:0;border-bottom:1px solid #d7dfeb;background:#fff}
  .modern-home .site-nav .menu-toggle,.modern-home.menu-off .site-nav .menu-toggle{position:relative;display:block;width:48px;min-height:48px;margin:0;padding:0;border:1px solid #cad8ea;border-radius:10px;background:#eef3fc;color:#173f84;font-size:0;line-height:1;cursor:pointer}
  .modern-home .site-nav .menu-toggle::before,.modern-home.menu-off .site-nav .menu-toggle::before{content:"";position:absolute;top:50%;left:50%;display:block;width:24px;height:18px;transform:translate(-50%,-50%);background:linear-gradient(currentColor,currentColor) center top/22px 2px no-repeat,linear-gradient(currentColor,currentColor) center/22px 2px no-repeat,linear-gradient(currentColor,currentColor) center bottom/22px 2px no-repeat}
  .modern-home .site-nav .menu-toggle[aria-expanded="true"]::before{content:"";background:linear-gradient(45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)) center/22px 18px no-repeat,linear-gradient(-45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)) center/22px 18px no-repeat}
  .modern-home .site-nav .menu-links{position:fixed;top:64px;left:0;right:0;z-index:32;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:calc(100dvh - 64px);overflow-y:auto;padding:12px 16px 18px;border-bottom:1px solid #d7dfeb;background:#f4f7fc;box-shadow:0 12px 24px #22385a20}
  .modern-home .site-nav .menu-links[hidden],.modern-home.menu-off .site-nav .menu-links{display:none}
  .modern-home .site-nav a{min-height:42px;display:flex;align-items:center;padding:8px 10px;font-size:15px}
  .modern-home .site-nav .nav-gap{display:none}
  .modern-home main#inhalt,.modern-home.menu-off main#inhalt{grid-column:1/3;grid-row:2;width:100%;padding:16px}
  .modern-home .home-page #banner{max-height:240px}
  .modern-home .home-page #Counter{float:none;display:block;margin-top:4px}
  .modern-home .home-page .home-bike-story{grid-template-columns:1fr;gap:14px}
  .modern-home .home-page .home-bike-story>img{max-width:640px}
}
@media(max-width:520px){.modern-home .site-nav .menu-links{grid-template-columns:1fr}.modern-home main#inhalt{padding:10px}.modern-home .home-page #Title{padding:16px}.modern-home .home-page .Untertitel+div{padding:14px}.modern-home .home-page #ameise{display:none}}
/* Externe Navigation bleibt dezent erkennbar, auch im mobilen Menü. */
.site-nav .nav-external-icon{display:inline-block;width:.75em;height:.75em;margin-left:.2em;vertical-align:baseline;opacity:.65}
.site-nav .nav-print-icon{display:inline-block;width:.9em;height:.9em;margin-left:.25em;vertical-align:-.1em;opacity:.7}
@media print{
  @page{margin:15mm}
  html,body.modern-home{background:#fff!important;color:#111!important}
  .modern-home .site-grid,.modern-home.menu-off .site-grid{display:block!important;min-height:0!important}
  .modern-home .site-header,.modern-home .site-nav,.modern-home .site-footer,.modern-home #bildansicht{display:none!important}
  .modern-home main#inhalt,.modern-home.menu-off main#inhalt{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important}
  .modern-home .home-page,.modern-home .detail-document{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  .modern-home .detail-document>.navi{display:none!important}
  .modern-home .home-page .Untertitel,.modern-home .detail-document h1,.modern-home .detail-document h2,.modern-home .detail-document h3{break-after:avoid-page}
  .modern-home .home-page img,.modern-home .detail-document img{max-width:100%!important;break-inside:avoid}
}
