/* ==========================================================================
   SpaceOne Coworking — Design System
   CD: Neongrün #4CFF14 · Schwarz #000 · Weiß #fff
   Identisches CI wie passfotopeuerbach.at
   ========================================================================== */

:root {
  --gruen: #4CFF14;
  --gruen-dunkel: #3ACC0F;
  --schwarz: #000;
  --weiss: #fff;
  --grau-bg: #f4f4f4;
  --grau-linie: #e2e2e2;
  --grau-text: #555;

  --font: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Arial, sans-serif;

  --breite: 1120px;
  --radius: 18px;
  --pad-x: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--schwarz);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: clamp(48px, 8vw, 96px) 0; }
section.eng { padding: clamp(36px, 5vw, 64px) 0; }

.skip {
  position: absolute; left: -9999px;
  background: var(--schwarz); color: var(--weiss); padding: 12px 18px; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 3px; }

/* ---------- Header ------------------------------------------------------ */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grau-linie);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--schwarz); }
.nav a.nav--extern::after { content: " ↗"; font-size: .85em; opacity: .6; }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- Passfoto-Wegweiser (prominent, ganz oben) ------------------- */

.passfoto-banner {
  display: block; text-decoration: none;
  background: var(--schwarz); color: var(--weiss);
  border-bottom: 3px solid var(--gruen);
  transition: background .15s ease;
}
.passfoto-banner:hover { background: #121212; }

.passfoto-banner__inner {
  display: flex; align-items: center; gap: 18px;
  padding: 16px var(--pad-x);
}
.passfoto-banner__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(76,255,20,.12); border: 1px solid rgba(76,255,20,.35);
}
.passfoto-banner__text { display: flex; flex-direction: column; line-height: 1.3; }
.passfoto-banner__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.passfoto-banner__text span { color: #c8c8c8; font-size: .97rem; }
.passfoto-banner__cta {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gruen); color: var(--schwarz);
  font-weight: 800; font-size: 1rem; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 999px;
  transition: transform .12s ease;
}
.passfoto-banner:hover .passfoto-banner__cta { transform: translateX(3px); }

@media (max-width: 620px) {
  .passfoto-banner__inner { flex-wrap: wrap; gap: 14px; }
  .passfoto-banner__icon { width: 46px; height: 46px; }
  .passfoto-banner__text strong { font-size: 1.05rem; }
  .passfoto-banner__cta { margin-left: 0; width: 100%; justify-content: center; }
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  text-decoration: none; border: 2px solid var(--schwarz);
  background: var(--schwarz); color: var(--weiss);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gruen { background: var(--gruen); color: var(--schwarz); border-color: var(--gruen); }
.btn--gruen:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.btn--weiss { background: transparent; color: var(--schwarz); }
.btn--weiss:hover { background: var(--schwarz); color: var(--weiss); }
.btn--weiss-inv { background: transparent; color: var(--schwarz); border-color: var(--schwarz); }
.btn--weiss-inv:hover { background: var(--schwarz); color: var(--weiss); }
.btn--klein { padding: 11px 20px; font-size: .95rem; }

.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero -------------------------------------------------------- */

.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 76px); }

.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .35em; line-height: 1.18; }
.hero h1 em {
  font-style: normal;
  background: var(--gruen);
  padding: .06em .14em .1em;
  margin: 0 -.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--grau-text); max-width: 34em; }

.adresse {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800;
  line-height: 1.25; margin: 0 0 24px; letter-spacing: -0.02em;
}
.adresse span { display: block; }

/* ---------- Preis-Kachel (Hero-Sidebar) --------------------------------- */

.preis-kachel {
  background: var(--gruen); color: var(--schwarz);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
}

.preis-badge {
  display: inline-block; background: var(--schwarz); color: var(--gruen);
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}

.preis-name { font-size: 1.5rem; margin-bottom: .1em; }

.preis-betrag {
  font-size: clamp(2.8rem, 7vw, 3.6rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 0;
}
.preis-einheit { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }

.preis-netto { font-size: .9rem; font-weight: 600; margin-bottom: 20px; opacity: .7; }

.preis-liste {
  list-style: none; margin: 0 0 24px; padding: 0;
  border-top: 2px solid rgba(0,0,0,.15);
  padding-top: 16px;
}
.preis-liste li {
  padding: 8px 0 8px 26px; border-bottom: 1px solid rgba(0,0,0,.1);
  font-weight: 600; font-size: .97rem; position: relative;
}
.preis-liste li:last-child { border-bottom: 0; }
.preis-liste li::before {
  content: ""; position: absolute; left: 0; top: .85em;
  width: 14px; height: 8px; border-left: 3px solid var(--schwarz); border-bottom: 3px solid var(--schwarz);
  transform: rotate(-45deg);
}

/* ---------- Trust-Reihe ------------------------------------------------- */

.trust { background: var(--schwarz); color: var(--weiss); }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.trust li { font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.trust li b {
  display: block; color: var(--gruen);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  letter-spacing: -0.03em; hyphens: none;
}
.trust li span { color: #bdbdbd; font-weight: 500; font-size: .92rem; display: block; margin-top: 4px; }

/* ---------- Leistungs-Grid ---------------------------------------------- */

.abschnitt-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--grau-text);
  max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px);
}

.leistungs-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  list-style: none; margin: 0; padding: 0;
}

.kachel {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; background: var(--weiss);
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.kachel:hover { background: var(--gruen); border-color: var(--schwarz); transform: translateY(-3px); }
.kachel strong { font-size: 1.1rem; letter-spacing: -0.02em; font-weight: 800; }
.kachel small { font-weight: 500; color: var(--grau-text); font-size: .9rem; line-height: 1.4; }
.kachel:hover small { color: var(--schwarz); }

.kachel-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }

/* ---------- Foto-Grid --------------------------------------------------- */

.foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.foto-grid .foto { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.foto-grid .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Großes Feature-Bild oben links, füllt 2×2 – gapless */
@media (min-width: 761px) {
  .foto-grid .foto--feature {
    grid-column: span 2; grid-row: span 2; aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .foto-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .foto-grid { grid-template-columns: 1fr; }
}

/* ---------- Zwei-Spalten-Block ------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split--bild { align-items: center; }

.bild-rahmen { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grau-bg); }
.bild-rahmen img { width: 100%; height: auto; }

/* Gründer-Sektion: Foto + Zeitungsartikel gestapelt */
.gruender-bilder { display: flex; flex-direction: column; gap: 16px; }
.presse-rahmen {
  margin: 0; background: var(--weiss); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 18px rgba(0,0,0,.08);
  border: 1px solid var(--grau-linie);
}
.presse-rahmen img { width: 100%; height: auto; display: block; }
.presse-rahmen figcaption {
  padding: 12px 18px; font-size: .85rem; font-weight: 600;
  color: var(--grau-text); text-align: center;
}

/* ---------- Zitat -------------------------------------------------------- */

.zitat {
  border-left: 5px solid var(--gruen); margin: 24px 0;
  padding: 16px 0 16px 24px;
  font-size: 1.15rem; font-style: italic; font-weight: 600; color: #333;
  line-height: 1.55;
}
.zitat cite { display: block; font-style: normal; font-size: .9rem; font-weight: 700; color: var(--grau-text); margin-top: 10px; }

/* ---------- Karte (2-Klick, DSGVO) -------------------------------------- */

.karte {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--grau-bg); aspect-ratio: 4 / 3; min-height: 280px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px solid var(--grau-linie);
}
.karte iframe { width: 100%; height: 100%; border: 0; display: block; }
.karte__hinweis { padding: 28px; max-width: 30em; }
.karte__hinweis p { font-size: .95rem; color: var(--grau-text); }

/* ---------- Banner (CTA) ------------------------------------------------ */

.banner { background: var(--gruen); }
.banner h2 { margin-bottom: .3em; }
.banner p { font-size: 1.15rem; font-weight: 600; max-width: 36em; }
.banner .btn { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.banner .btn:hover { background: #222; border-color: #222; }

/* ---------- Footer ------------------------------------------------------ */

.footer { background: var(--schwarz); color: var(--weiss); padding: clamp(44px, 6vw, 72px) 0 32px; }
.footer a { color: var(--weiss); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gruen); margin-bottom: 1em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; font-size: .97rem; }
.footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }

.footer__unten {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #333;
  font-size: .87rem; color: #999;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}
.footer__unten a { color: #999; text-decoration: none; }
.footer__unten a:hover { color: var(--weiss); }

/* ---------- Unterseiten-Komponenten (Orts-/Themenseiten) ---------------- */

.brotkrumen { font-size: .9rem; color: var(--grau-text); padding: 18px 0 0; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.brotkrumen li::after { content: "›"; margin-left: 8px; color: #aaa; }
.brotkrumen li:last-child::after { content: ""; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

.vorspann { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--grau-text); max-width: 40em; }
.klein { font-size: .88rem; color: var(--grau-text); }

.box {
  background: var(--grau-bg); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
}
.box h3 { margin-bottom: .5em; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.bg-grau .box { background: var(--weiss); }

.liste-check { list-style: none; margin: 0 0 1em; padding: 0; }
.liste-check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.liste-check li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 4px solid var(--gruen); border-bottom: 4px solid var(--gruen);
  transform: rotate(-45deg);
}

/* Ablauf-Schritte */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 800px) { .schritte { grid-template-columns: 1fr; } }
.schritte li { border-top: 5px solid var(--gruen); padding-top: 18px; }
.schritte .nr { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; display: block; margin-bottom: 8px; }
.schritte h3 { margin-bottom: .35em; }
.schritte p { color: var(--grau-text); margin: 0; font-size: 1rem; }

/* FAQ */
.faq { border-top: 2px solid var(--schwarz); }
.faq details { border-bottom: 2px solid var(--grau-linie); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0;
  font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.25rem);
  position: relative; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.9rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .antwort { padding: 0 44px 24px 0; color: var(--grau-text); }
.faq .antwort p:last-child { margin-bottom: 0; }

/* Orts-/Regionen-Liste */
.orte { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.orte a {
  display: inline-block; padding: 9px 17px; border-radius: 999px;
  background: var(--weiss); border: 2px solid var(--schwarz);
  text-decoration: none; font-weight: 700; font-size: .95rem;
}
.orte a:hover { background: var(--gruen); }
.bg-grau .orte a { background: var(--grau-bg); }
.bg-grau .orte a:hover { background: var(--gruen); }

/* ---------- Utilities --------------------------------------------------- */

.bg-grau { background: var(--grau-bg); }
.mittig { text-align: center; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
