/* aqu-rat – Variante B „Werkstatt“: das gravierte Metallschild als Leitmotiv */
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --graphit: #24282B;
  --schiefer: #4F575D;
  --stahl: #C9CED3;
  --hellstahl: #EEF0F2;
  --messing: #A88447;
  --rot: #B51F2E;
  --weiss: #FFFFFF;
  --breite: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--graphit); font: 400 1.125rem/1.6 "Alegreya Sans", "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--graphit); }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; }
h1, h2, h3 { font-family: "Alegreya", Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.45rem; font-weight: 500; }
p { margin: 0 0 1rem; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }
.schmal { max-width: 44rem; }
.gross { font-size: 1.3rem; line-height: 1.55; max-width: 38rem; }
.text { max-width: 40rem; }
.klein { font-size: 1rem; color: var(--schiefer); }
.springen { position: absolute; left: -999px; }
.springen:focus { left: 1rem; top: 1rem; background: var(--weiss); padding: .5rem 1rem; z-index: 10; }

/* Kopf */
.kopf .innen { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; padding-top: 1.4rem; padding-bottom: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--stahl); }
.logo img { width: 168px; }
.kopf nav { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; font-weight: 500; font-size: 1.05rem; }
.kopf nav a { color: var(--graphit); text-decoration: none; padding: .2rem 0; }
.kopf nav a:hover { color: var(--rot); }
.kopf nav a[aria-current="page"] { color: var(--rot); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.knopf { display: inline-block; background: var(--graphit); color: var(--weiss); text-decoration: none; font-weight: 500; font-size: 1.05rem; padding: .8rem 1.35rem; border-radius: 2px; margin: .3rem .8rem .3rem 0; }
.knopf:hover { background: var(--rot); color: var(--weiss); }
.oder { white-space: nowrap; }

/* Das Schild */
.schild {
  --schraube: radial-gradient(circle at 40% 35%, #f7f8f9 0 2px, #9aa1a7 3px, #6e757b 6px, transparent 7px);
  position: relative; display: inline-block; padding: 2rem 3.6rem 1.7rem; margin: 0 0 2.2rem;
  border-radius: 7px;
  background:
    var(--schraube) 14px 14px / 16px 16px no-repeat,
    var(--schraube) calc(100% - 14px) 14px / 16px 16px no-repeat,
    var(--schraube) 14px calc(100% - 14px) / 16px 16px no-repeat,
    var(--schraube) calc(100% - 14px) calc(100% - 14px) / 16px 16px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, rgba(0,0,0,.022) 1px 3px, rgba(255,255,255,.04) 3px 4px),
    linear-gradient(178deg, #f2f4f5 0%, #d3d8dc 38%, #e9ecee 52%, #c3c9ce 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(0,0,0,.12) inset, 0 10px 24px -14px rgba(20,24,27,.55), 0 0 0 1px #b4bbc1;
}
.schild h1 { margin: 0; text-align: center; }
.gravur { display: block; font: 400 clamp(4.2rem, 9vw, 7rem)/1.05 "Pinyon Script", cursive; color: #3a4044;
  text-shadow: 0 1px 0 rgba(255,255,255,.85), 0 -1px 0 rgba(0,0,0,.28); padding: 0 .2em; }
.unterzeile { display: block; font: 500 1.05rem/1.3 "Alegreya", Georgia, serif; letter-spacing: .06em; color: #4a5156;
  text-shadow: 0 1px 0 rgba(255,255,255,.8); margin-top: 1rem; }

.buehne { padding: 3.5rem 0 4rem; }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.mailhinweis { border-left: 3px solid var(--messing); padding-left: 1rem; font-weight: 500; max-width: 34rem; }
.buehne-bild { margin: 0; }
.buehne-bild img { width: 100%; }
.buehne-bild figcaption, figure figcaption { font-size: .95rem; color: var(--schiefer); margin-top: .5rem; }

/* Schublade */
.schublade { background: var(--hellstahl); padding: 4rem 0; }
.reihen { list-style: none; padding: 0; margin: 2rem 0 0; }
.reihe a { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--stahl); text-decoration: none; color: var(--graphit); }
.reihe:last-child a { border-bottom: 1px solid var(--stahl); }
.reihe a:hover h3 { color: var(--rot); }
.reihe h3 { margin: 0; }
.proben { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.proben img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Ablauf */
.ablauf { padding: 4rem 0; }
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.schritte li { counter-increment: s; }
.schritte li::before { content: counter(s); display: block; font: 500 italic 2.8rem/1 "Alegreya", Georgia, serif; color: var(--messing); margin-bottom: .6rem; }
.schritte h3 { font-size: 1.25rem; font-weight: 700; }

/* Stimmen */
.stimmen { padding: 4rem 0; border-top: 1px solid var(--stahl); }
.stimmen blockquote { margin: 1.8rem 0 0; max-width: 46rem; padding-left: 1.2rem; border-left: 3px solid var(--messing); }
.stimmen blockquote p { font: 500 italic 1.35rem/1.5 "Alegreya", Georgia, serif; margin: 0; }

/* Unterseiten */
.seitenkopf { padding: 3.2rem 0 2rem; }
.sprung { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-weight: 500; }
.material { padding: 2.8rem 0; border-top: 1px solid var(--stahl); }
.material:nth-of-type(even) { background: var(--hellstahl); }
.material-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; }
.mosaik { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mosaik li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaik img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.mosaik a { display: block; height: 100%; }
.mosaik a:hover img { filter: brightness(.92); }

.portrait { padding: 2rem 0 3rem; }
.portrait-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 3rem; align-items: start; }
.portrait-raster.umgedreht figure { order: 2; }
.portrait figure { margin: 0; }
.zitat { margin: 2rem 0; }
.zitat p { font: 500 italic 1.8rem/1.3 "Alegreya", Georgia, serif; margin-bottom: .3rem; }
.zitat footer { color: var(--schiefer); }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0 0 .5rem; }
.zeiten dt { font-weight: 700; }
.zeiten dd { margin: 0; }
.karte-adresse { background: var(--hellstahl); padding: 3rem 0; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.recht { padding: 3rem 0; }
.recht h2 { font-size: 1.35rem; margin-top: 2rem; }
.stand { color: var(--schiefer); font-size: 1rem; }

/* Fuß */
.fuss { background: var(--graphit); color: var(--stahl); padding: 3rem 0; border-top: 1px solid #3a4044; }
.stimmen + .fuss { border-top-color: #3a4044; }
.fuss h2 { color: var(--weiss); font-size: 1.15rem; }
.fuss a { color: var(--weiss); }
.fuss .klein { color: var(--stahl); }
.fuss-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.fuss-schild { justify-self: start; padding: .5rem 1.4rem .3rem; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, rgba(0,0,0,.05) 1px 3px), linear-gradient(178deg, #d9bd84, #a88447 55%, #c7a463);
  box-shadow: 0 0 0 1px #8a6c39, 0 1px 0 rgba(255,255,255,.5) inset; }
.fuss-schild span { font: 400 2.4rem/1 "Pinyon Script", cursive; color: #5b4520; text-shadow: 0 1px 0 rgba(255,240,200,.6), 0 -1px 0 rgba(0,0,0,.25); }

@media (max-width: 900px) {
  .buehne-raster, .material-raster, .portrait-raster, .drei { grid-template-columns: 1fr; gap: 2rem; }
  .portrait-raster.umgedreht figure { order: 0; }
  .reihe a { grid-template-columns: 1fr; gap: .8rem; }
  .schritte { grid-template-columns: 1fr 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .schild { padding: 1.3rem 2.2rem 1.1rem; display: block; }
  .schritte, .fuss-raster { grid-template-columns: 1fr; }
  .logo img { width: 140px; }
  .mosaik { grid-template-columns: repeat(2, 1fr); }
  .mosaik li:first-child { grid-column: span 2; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
