/* Unterseiten von Entwurf 4. Erzeugt von freunde-quellen/entwurf-4/seiten_bauen.py, nicht von Hand ändern. */
@font-face{font-family:"Archivo";src:url(archivo.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
:root{--weiss:#fff;--stein:#EDEDEB;--tinte:#1D2026;--leise:#555A64;--linie:#D2D2CF;--rot:#E6000F;--blau:#0052CC}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--weiss);color:var(--tinte);font-family:Archivo,"Helvetica Neue",Arial,sans-serif;font-size:17px;line-height:1.5;overflow-x:hidden;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--rot);outline-offset:3px}

.leiste{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 48px;position:relative;z-index:30}
.leiste .logo img{height:46px;width:auto}
.leiste nav{display:flex;align-items:center;gap:14px}
.nls{display:flex;gap:22px;margin-right:10px;font-weight:600;font-size:15px}
.nls a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.nls a:hover{color:var(--rot)}
.nls a[aria-current]{border-bottom-color:var(--rot)}
.schalter{display:flex;border:1px solid #cfcfcc;border-radius:999px;padding:3px;font-weight:600;font-size:14px}
.schalter a{padding:6px 14px;border-radius:999px;text-decoration:none;color:var(--leise)}
.schalter a[aria-current]{background:var(--rot);color:#fff}
.schalter a:not([aria-current]):hover{color:var(--blau)}
.knopf{display:inline-block;background:var(--tinte);color:#fff;text-decoration:none;font-weight:600;padding:.72em 1.25em;border-radius:3px;transition:background .15s}
.knopf:hover{background:var(--rot)}
.knopf.rot{background:var(--rot)}
.knopf.rot:hover{background:var(--tinte)}
.leiste .knopf{font-size:14px}
.weiter{font-weight:650;text-decoration:underline;text-decoration-color:var(--rot);text-decoration-thickness:2px;text-underline-offset:.22em}
.weiter:hover{color:var(--rot)}
.zeile{display:flex;flex-wrap:wrap;align-items:center;gap:.6em 1.1em;margin-top:1.1em}

.seite{max-width:1296px;margin:0 auto;padding:0 48px}
.titel{padding:44px 0 0;max-width:1000px}
.titel h1{margin:0;font-size:clamp(2.7rem,6.3vw,5.3rem);font-weight:780;font-stretch:108%;line-height:.93;letter-spacing:-.035em;text-wrap:balance}
.titel p{margin:1.3em 0 0;font-size:1.25rem;line-height:1.4;max-width:34em}

/* Bild mit Schild: der Text hängt mit Linie und Punkt an einer Sache im Bild */
.haengt{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start;margin-top:clamp(84px,11vw,168px)}
.titel + .haengt{margin-top:clamp(40px,5vw,72px)}
.lbild{grid-column:var(--b);grid-row:1;margin:0;position:relative}
.lbild img{width:100%}
.lbild.rahmen img{border:1px solid var(--linie);border-radius:8px}
.lbild.foto img{border:1px solid var(--linie);border-radius:8px;box-shadow:0 22px 40px -28px rgba(29,32,38,.5)}
.haengt > .schild{grid-column:var(--t);grid-row:1;margin-top:var(--ab,0)}
.schild{border-top:1px solid var(--tinte);padding-top:.8em;position:relative}
.schild h2{margin:0;font-size:1.85rem;font-weight:680;line-height:1.12;letter-spacing:-.015em;text-wrap:balance}
.schild p{margin:.7em 0 0;max-width:30em}
.schild blockquote{margin:1.1em 0 0;font-style:italic;font-weight:480;font-size:1.12rem;line-height:1.38;text-wrap:pretty}
.schild .wer{font-size:.9rem;margin:.5em 0 0;color:var(--leise)}
.wer b{color:var(--tinte);font-weight:650}
.linie{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.linie line{stroke:var(--tinte);stroke-width:.95}
.linie circle{fill:var(--rot);stroke:#fff;stroke-width:1.7}
.echt{margin:1.3em 0 0;max-width:20em;background:#fff;border:1px solid #c9c9c6;border-radius:4px;padding:5px;box-shadow:0 14px 30px -18px rgba(29,32,38,.45)}
.echt.hoch{max-width:11.5em}
.echt img{width:100%;border-radius:2px}
.echt figcaption{font-size:.82rem;line-height:1.3;color:var(--leise);padding:.5em .3em .2em}

/* Häufige Fragen */
.fragen{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;margin-top:clamp(96px,12vw,180px);align-items:start}
.fragen > .schild{grid-column:1 / 5;border-top:0;padding-top:0}
.fragen > .schild p{color:var(--leise)}
.fragen > .faq{grid-column:6 / 13}

.faq{border-bottom:1px solid var(--linie)}
.faq details{border-top:1px solid var(--linie)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:flex-start;justify-content:space-between;gap:1em;padding:.8em 0;font-weight:650;line-height:1.25}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:.72em;height:.72em;margin-top:.22em;background:linear-gradient(var(--rot),var(--rot)) center/100% 2px no-repeat,linear-gradient(var(--rot),var(--rot)) center/2px 100% no-repeat;transition:transform .25s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq summary:hover{color:var(--rot)}
.faq details p{margin:0 0 1em;max-width:38em;color:var(--leise)}
@media (prefers-reduced-motion:reduce){.faq summary::after{transition:none}}

.faq{border-top:1px solid var(--tinte)}
.faq details:first-child{border-top:0}
.faq summary{font-size:1.12rem}

/* Schluss: Kontakt */
.schluss{margin-top:clamp(96px,12vw,180px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
.schluss .schild{grid-column:1 / 8}
.kontakt dl{margin:1em 0 0;display:grid;grid-template-columns:auto 1fr;gap:.3em 1.1em}
.kontakt dt{color:var(--leise)}
.kontakt dd{margin:0;font-weight:600}
.kontakt dd a{text-decoration:none}
.kontakt dd a:hover{color:var(--rot)}

/* Referenzen: Bildfolge, Mappe, Kunden */
.weitere{margin-top:clamp(96px,12vw,180px)}
.weitere > h2,.kunden > h2{margin:0;font-size:1.85rem;font-weight:680;letter-spacing:-.015em;border-top:1px solid var(--tinte);padding-top:.8em}
.folge{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:clamp(40px,6vw,84px);margin-top:44px;align-items:start}
.folge figure{margin:var(--ab,0) 0 0;grid-column:var(--s)}
.folge img{width:100%;border:1px solid var(--linie);border-radius:8px}
.folge figcaption{margin-top:.6em;font-size:.95rem;color:var(--leise)}
.folge figcaption b{color:var(--tinte);font-weight:650;margin-right:.35em}
.mappe{margin-top:clamp(96px,12vw,180px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center}
.mbild{grid-column:2 / 8;display:block;transform:rotate(-1.6deg);border:1px solid var(--linie);border-radius:6px;overflow:hidden;box-shadow:0 26px 46px -30px rgba(29,32,38,.55);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.mbild:hover,.mbild:focus-visible{transform:rotate(0) scale(1.015)}
.mappe .schild{grid-column:9 / 13}
.kunden{margin-top:clamp(96px,12vw,180px)}
.logos{display:grid;grid-template-columns:repeat(6,1fr);gap:34px 48px;margin-top:38px;align-items:center}
.logos img{max-width:100%;width:auto;max-height:34px;filter:grayscale(1);opacity:.72;transition:filter .25s,opacity .25s}
.logos img:hover{filter:none;opacity:1}

footer{background:var(--stein);margin-top:clamp(90px,11vw,160px);padding:30px 48px;display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between;font-size:14px}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
footer a{text-decoration:none}
footer a:hover{color:var(--rot)}

@media (max-width:899px){
  .leiste{padding:14px 20px}
  .leiste .logo img{height:32px}
  .schalter a{padding:5px 10px}
  .seite{padding:0 20px}
  .titel{padding-top:22px}
  .titel p{font-size:1.1rem}
  .haengt,.fragen,.schluss,.mappe{display:block}
  .haengt{margin-top:72px}
  .linie{display:none}
  .lbild{max-width:640px}
  .haengt > .schild{margin-top:22px}
  .haengt > .schild::before{content:"";position:absolute;left:0;top:-4px;width:7px;height:7px;border-radius:50%;background:var(--rot)}
  .schild h2{font-size:1.55rem}
  .fragen > .faq{margin-top:22px}
  .folge{display:flex;flex-direction:column;gap:38px}
  .folge figure{margin:0;width:100%}
  .folge figure:nth-child(even){width:84%;align-self:flex-end}
  .mbild{margin:0 6px 34px}
  .logos{grid-template-columns:repeat(4,1fr);gap:22px 26px}
  footer{padding:26px 20px}
}
/* ===== Handy (umbau_handy.py): Menü zum Aufklappen, nummerierte Punkte am ganzen Modell, Tippziele ===== */
.mm,.mmodell,.haengt .nr{display:none}
@media (max-width:899px){
  .leiste{padding:12px 20px}
  .leiste .logo img{height:34px}
  .wer,.schild .wer{font-size:1rem}
  .weiter{display:inline-block;padding:.6em 0}
  .zeile{margin-top:.5em}
  .zeile .knopf{margin:.5em 0}
  .kontakt dd a{display:inline-block;padding:.45em 0}
  .kontakt dl{align-items:center;gap:0 1.1em}
  .fragen > .schild p a{display:inline-block;padding:.5em 0}
  .haengt{margin-top:56px}
  .echt{max-width:15em;margin-top:1.1em}
  .echt.hoch{max-width:9.5em}
  .echt figcaption{font-size:14px}
  .folge{gap:30px}
  /* Leistungen: keine angeschnittenen Ausschnitte in Kästen. Stattdessen einmal das ganze Modell, die vier Abschnitte tragen seine Nummern. */
  .lbild.rahmen{display:none}
  .mmodell{display:block;position:relative;margin:56px -20px -30px;max-width:none}
  .mmodell img{width:100%}
  .mp{position:absolute;z-index:2;left:calc(var(--px) * 100%);top:calc(var(--py) * 100%);width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:var(--rot);color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:700;font-size:13px;line-height:1;box-shadow:0 0 0 2px #fff,0 3px 8px rgba(29,32,38,.4)}
  .haengt > .schild > .nr{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:-12px;width:24px;height:24px;border-radius:50%;background:var(--rot);color:#fff;font-style:normal;font-weight:700;font-size:14px;line-height:1;box-shadow:4px 0 0 #fff}
  .haengt > .lbild.rahmen + .schild::before{display:none}
  #lager .lbild img{-webkit-mask-image:linear-gradient(transparent,#000 7%);mask-image:linear-gradient(transparent,#000 7%)}
  footer{font-size:16px;padding:22px 20px}
  footer nav{gap:0 22px}
  footer nav a{display:inline-block;padding:.7em 0}
}
@media (min-width:600px) and (max-width:899px){.mmodell{margin-left:auto;margin-right:auto;max-width:640px}}
@media (max-width:759px){
  .leiste{padding:10px 12px 10px 20px;gap:10px}
  .leiste nav{gap:8px}
  .nls,.leiste .knopf{display:none}
  .schalter a{padding:9px 12px;line-height:20px}
  .mm{display:block;position:relative}
  .mm summary{list-style:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}
  .mm summary::-webkit-details-marker{display:none}
  .mm summary span,.mm summary span::before,.mm summary span::after{display:block;width:22px;height:2px;background:var(--tinte);border-radius:1px;transition:transform .2s,background .2s}
  .mm summary span{position:relative}
  .mm summary span::before,.mm summary span::after{content:"";position:absolute;left:0}
  .mm summary span::before{top:-7px}
  .mm summary span::after{top:7px}
  .mm[open] summary span{background:transparent}
  .mm[open] summary span::before{transform:translateY(7px) rotate(45deg)}
  .mm[open] summary span::after{transform:translateY(-7px) rotate(-45deg)}
  .mm-l{position:absolute;z-index:40;right:0;top:calc(100% + 6px);width:min(260px,calc(100vw - 24px));background:#fff;border:1px solid var(--linie);border-radius:6px;box-shadow:0 24px 44px -22px rgba(29,32,38,.55);padding:6px 16px 16px;display:flex;flex-direction:column}
  .mm-l a{display:flex;align-items:center;min-height:50px;font-weight:650;font-size:17px;text-decoration:none;border-bottom:1px solid var(--linie)}
  .mm-l a[aria-current]{color:var(--rot)}
  .mm-l a.mm-k{justify-content:center;margin-top:14px;min-height:48px;border:0;border-radius:3px;background:var(--tinte);color:#fff}
}
@media (max-width:359px){.leiste{padding-left:14px}.leiste .logo img{height:28px}.schalter a{padding:9px 9px}}
@media (prefers-reduced-motion:reduce){.mm summary span,.mm summary span::before,.mm summary span::after{transition:none}}
@media (prefers-reduced-motion:reduce){.mbild,.knopf,.logos img{transition:none}.mbild:hover{transform:rotate(-1.6deg)}}
