/* Webdesign-Unterseite: gemeinsame Grundlage aller Entwürfe dieser Seite.
   Wird NACH rohbau/rohbau.css geladen (Schrift, Farben, Menü, Abschluss kommen von dort).
   Eigene Sektionen liegen in main.wd, damit sich nichts mit der Startseite beißt. */
:root{--x-pink:var(--x-sage);--x-sage:#D5E2DA}

/* Knöpfe BT-03: Pill mit Kreis und Pfeil */
.wd .btn{display:inline-flex;align-items:center;justify-content:space-between;gap:.9em;padding:.45em .45em .45em 1.4em;border-radius:999px;background:var(--green);color:var(--forest);font:500 1rem/1 var(--body);white-space:nowrap;box-shadow:none;transition:background .3s}
.wd .btn:hover{background:#8cd95c}
.wd .btn .c{width:2.3em;height:2.3em;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--forest);color:var(--green);transition:transform .5s var(--out)}
.wd .btn:hover .c{transform:rotate(45deg)}
.wd .btn span{transform:none}
.wd .btn--sec{background:var(--sky)}
.wd .btn--sec:hover{background:#b6e6f8}
.wd .btn--sec .c{background:var(--white);color:var(--forest)}
.wd .actions{display:flex;flex-wrap:wrap;gap:12px}

/* Links mit Linie beim Überfahren */
.wd .ul{background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat;padding-bottom:2px;transition:background-size .45s var(--out)}
.wd .ul:hover{background-size:100% 1.5px}

/* Abschnitte */
.wd .sec{padding:var(--sp-xl) 0;background:var(--soft)}
.wd .sec.white{background:var(--white)}
.wd .wrap{padding:0 var(--pad)}
.wd .head{display:grid;gap:var(--sp-s);max-width:46rem;margin-bottom:var(--sp-l)}
.wd p{margin:0}
.wd img{height:auto}

/* Kopf-Grundlage (wie Header B der Startseite) */
.wd .hero{padding:clamp(120px,16vh,160px) 0 0;text-align:center;overflow:hidden}
.wd .pill{display:inline-flex;align-items:center;gap:12px;background:var(--white);border-radius:999px;padding:6px 16px 6px 6px;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.wd .pill .me{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--forest);color:var(--green)}
.wd .pill .me svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.wd .hero .g-display{margin:var(--sp-m) auto 0;padding:0 var(--pad)}
.wd .hero .sub{margin:var(--sp-m) auto 0;padding:0 var(--gut);display:grid;gap:10px}
.wd .hero .sub .g-lead{opacity:.8;max-width:36em;margin:0 auto}
/* 2026-11-10 feedback-webdesign: H1 so breit wie der Text darunter (36 Zeichenbreiten der Lead-Größe) */
.wd .hero .sub .g-h1{max-width:calc(36 * clamp(1rem,.954rem + .19vw,1.125rem));margin:0 auto}
.wd .hero .actions{justify-content:center;margin-top:var(--sp-m);padding:0 var(--gut)}

/* Browserfenster für Projektbilder */
.wd .shot{margin:0;border-radius:16px;overflow:hidden;background:var(--white);box-shadow:0 20px 40px -24px rgba(0,0,0,.4);text-align:left}
.wd .shot .wb{height:24px;display:flex;align-items:center;gap:5px;padding:0 10px;background:#ececea}
.wd .shot .wb i{width:7px;height:7px;border-radius:50%;background:#cfd1cf}
.wd .shot img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top}

/* Einblenden */
.wd .rv{opacity:var(--o0,0);transform:translateY(32px);transition:opacity .9s var(--out),transform .9s var(--out);transition-delay:var(--d,0s)}
.wd .rv.in{opacity:1;transform:none}

/* Hinweis, nur in Entwürfen */
.after{min-height:60vh;display:grid;place-items:center;color:rgba(36,40,40,.4);font-size:.9rem;background:var(--soft)}
.switch{position:fixed;z-index:90;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:6px;background:var(--ink);padding:6px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.switch a{color:var(--soft);padding:.6em 1.1em;border-radius:999px;font-size:.9rem;white-space:nowrap}
.switch a.on{background:var(--green);color:var(--forest)}
@media(max-width:600px){.switch{max-width:calc(100vw - 20px);overflow-x:auto;scrollbar-width:none}.switch a{font-size:.75rem;padding:.6em .8em}}

@media(prefers-reduced-motion:reduce){.wd *{animation:none!important;transition:none!important}.wd .rv{opacity:1;transform:none}}
