/* Familie Preissegger (PIA): Website-Stil.
   Schlichtes Layout, Farbwelt "Papier grau" (entschieden 2026-12-05), hell und dunkel (.dark am <html>). */

/* ---------- Farben und Schrift ---------- */

/* Barlow (SIL Open Font License, siehe assets/fonts/LIZENZ-Barlow-OFL.txt), lokal ausgeliefert */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --font-head: "Barlow", Bahnschrift, "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --head-weight: 600; --head-spacing: 0; --radius: 4px;
  --bg: #f6f6f6; --bg-2: #ebebeb; --flaeche: #ffffff; --text: #1c1c1c; --text-2: #5a5a5a;
  --akzent: #7d2a3a; --akzent-text: #fff; --marke: #7d2a3a; --marke-text: #f6f6f6; --linie: #d6d6d6;
}
.dark {
  --bg: #151515; --bg-2: #1c1c1c; --flaeche: #222222; --text: #e8e8e8; --text-2: #a3a3a3;
  --akzent: #e0919f; --akzent-text: #151515; --marke: #e0919f; --marke-text: #151515; --linie: #323232;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  transition: background-color .25s, color .25s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--titel, inherit); font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.schmal { width: min(760px, 100% - 2.5rem); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--flaeche); padding: .5rem 1rem; }
.fehlt { color: var(--text-2); font-style: italic; }

/* ---------- Kopf ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.marke { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; margin-right: auto; }
.marke-zeichen { width: 40px; height: 40px; flex: none; }
.marke-zeichen .bg { fill: var(--marke); }
.marke-zeichen .fl { fill: var(--marke-text); }
.marke-zeichen .lt { stroke: var(--marke-text); }
.marke-name { font: var(--head-weight) 1.25rem/1 var(--font-head); letter-spacing: .02em; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .98rem; }
.main-nav a:hover { color: var(--akzent); }
.header-tools { display: flex; gap: .4rem; align-items: center; }
.tool-btn {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .55rem;
  border: 1px solid var(--linie); border-radius: 999px; background: transparent; color: var(--text);
  font: 600 .8rem/1 var(--font-body); letter-spacing: .06em; text-decoration: none; cursor: pointer;
}
.tool-btn:hover { border-color: var(--akzent); color: var(--akzent); }
.tool-btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--linie);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .main-nav a { display: block; padding: .7rem 0; font-size: 1.1rem; }
}

/* ---------- Einstieg ---------- */

.hero { background: var(--bg-2); color: var(--text); }
.hero-inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); padding-top: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 16em; }
.hero .kicker { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); margin-bottom: 1rem; font-weight: 600; }
.hero p:not(.kicker) { font-size: 1.18rem; color: var(--text-2); white-space: pre-line; }
.hero-bild { margin: 0; }
.hero-bild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius) var(--radius) 0 0; }



@media (max-width: 640px) { .hero-bild img { aspect-ratio: 4 / 3; } }

/* ---------- Abschnitte ---------- */

.sektion { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sektion:nth-of-type(odd) { background: var(--bg-2); }
.section-head { max-width: 40em; margin-bottom: 2.5rem; }
.section-intro p { color: var(--text-2); font-size: 1.12rem; }

/* Wir drei */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.team .person { hyphens: auto; overflow-wrap: break-word; }
.person { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.person-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: calc(var(--radius) - 4px); margin-bottom: 1.25rem; }
.person h3 { margin-bottom: .2em; }
.person-titel { color: var(--text-2); font-size: .92rem; margin-bottom: .3em; }
.person-rolle { color: var(--akzent); font-weight: 600; font-size: .95rem; }
.person-text { font-size: .98rem; flex: 1; }
.person-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.person-links a {
  display: inline-flex; align-items: center; justify-content: center; height: 40px;
  border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: border-color .2s, color .2s;
}
.person-links a:hover { border-color: var(--akzent); color: var(--akzent); }
.person-links li { flex-shrink: 0; }
.p-gruppe ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.p-logo { background: #fff; padding: 0 .75rem; }
.p-logo:has(img[src*="netlink"]) { padding: 0 6px; }
.p-logo img { height: 22px; width: auto; max-width: 120px; object-fit: contain; }
.p-social { width: 40px; }
.p-social .social-icon { width: 18px; height: 18px; }
.p-text { padding: 0 .85rem; font-size: .9rem; font-weight: 600; }
@media (max-width: 900px) { .team { gap: 1rem; } .person { padding: 1rem 1rem 1.25rem; } .person h3 { font-size: 1.15rem; } .person-text { font-size: .9rem; } }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.g-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--linie); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.g-item:hover img { transform: scale(1.04); }
.g-platzhalter { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 10px, var(--bg) 10px, var(--bg) 20px); border: 1px dashed var(--linie); }
.g-platzhalter span { font-size: .8rem; color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(8 10 14 / .94); display: grid; place-items: center; outline: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 4px; cursor: zoom-out; }
.lightbox figcaption { color: #eee; margin-top: .8rem; text-align: center; font-size: 1rem; }
.lb-zahl { color: #999; font-size: .8rem; margin-top: .3rem; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .1); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lb-zu { top: 1rem; right: 1rem; }
.lb-vor { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-nach { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Links: eine Spalte, Gruppen mit Icon, je Link das Logo der Zielseite */
.links { display: grid; gap: 2.5rem; max-width: 760px; }
.link-gruppe h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin-bottom: .9rem; }
.thema-icon { width: 24px; height: 24px; color: var(--akzent); flex: none; }
.link-gruppe ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.link-eintrag { display: grid; grid-template-columns: 132px 1fr; gap: 1.25rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.link-logo {
  display: flex; align-items: center; justify-content: center; height: 52px; padding: .45rem .8rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); color: #1c1c1c; text-decoration: none;
}
.link-logo img { max-height: 32px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.link-logo .social-icon { width: 26px; height: 26px; }
.monogramm { font: 600 1.15rem/1 var(--font-head); letter-spacing: .06em; color: #7d2a3a; }
.link-info { min-width: 0; }
.link-name { font-weight: 600; color: var(--text); text-decoration: none; }
.link-name::after { content: " ↗"; color: var(--akzent); font-weight: 400; }
.link-name:hover { color: var(--akzent); text-decoration: underline; }
.link-host { color: var(--text-2); font-size: .85rem; margin-left: .35rem; }
.link-info p { margin: .2rem 0 0; font-size: .92rem; color: var(--text-2); }
@media (max-width: 520px) { .link-eintrag { grid-template-columns: 96px 1fr; gap: .9rem; } .link-logo { height: 44px; } .link-host { display: block; margin: 0; } }

/* Kontakt */
.kontakt-box { font-size: 1.25rem; }
.kontakt-mail { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.35rem); margin-bottom: .3em; }
.kontakt-ort { color: var(--text-2); }

/* Textseiten (Impressum) */
.text-seite h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.text-seite h2 { font-size: 1.6rem; margin-top: 1.6em; }
.text-seite h3 { font-size: 1.15rem; margin-top: 1.4em; }
.zurueck { margin-top: 3rem; }

/* ---------- Fuß ---------- */

.site-footer { border-top: 1px solid var(--linie); padding-block: 1.75rem; font-size: .9rem; color: var(--text-2); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
