/* tozwo licht+gestaltung – Toto Bröcking */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
/* Jost: Dateien in /fonts ablegen (jost-regular.woff2, jost-medium.woff2). Bis dahin greift die Ersatzschrift. */
@font-face { font-family: "Jost"; src: url("../fonts/jost-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --accent: #E6FF00;
  --accent-hover: #F4FF80;
  --bg: #111111;
  --bg-2: #181818;
  --panel: #1C1C1C;
  --line: #2A2A2A;
  --line-2: #333333;
  --text: #F2F2F2;
  --text-2: #C7C7C7;
  --text-3: #A3A3A3;
  --text-4: #8C8C8C;
  --display: "Jost", "Futura", "Century Gothic", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; }

/* ---------- Navigation ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo img { height: 48px; width: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-family: var(--display); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.menu a { color: var(--text); text-decoration: none; }
.menu a:hover { color: var(--accent); }
.btn { display: inline-block; background: var(--accent); color: var(--bg) !important; text-decoration: none; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: var(--body); letter-spacing: 0; text-transform: none; }
.btn:hover { background: var(--accent-hover); }
.btn-small { padding: 12px 20px; }
.btn-ghost { background: transparent; border: 1px solid var(--text); color: var(--text) !important; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.75) 45%, rgba(17,17,17,.2) 100%); }
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 32px; }
.hero .kicker { margin: 0; font-family: var(--display); font-size: 18px; letter-spacing: .4em; color: var(--text-3); }
.hero h1 { font-size: clamp(52px, 9vw, 132px); line-height: .95; letter-spacing: -.01em; max-width: 1100px; }
.hero .lead { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.6; color: var(--text-2); }
.hero .lead strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- Band ---------- */
.band { border-bottom: 1px solid var(--line); }
.band .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--display); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-4); }
.band .sep { color: var(--accent); }

/* ---------- Abschnitte ---------- */
.section { padding-top: 120px; padding-bottom: 120px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.section-head p { margin: 0; color: var(--text-3); font-size: 16px; }

/* ---------- Projekte ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 40px 24px; }
.project { display: flex; flex-direction: column; gap: 16px; }
.slideshow { position: relative; aspect-ratio: 4 / 3; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.slideshow img.active { opacity: 1; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.counter { font-size: 13px; color: var(--text-2); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.controls button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(17,17,17,.6); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.controls button:hover { border-color: var(--accent); color: var(--accent); }
.project .kind { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project h3 { font-size: 26px; margin-top: 6px; }
.project .meta { margin: 6px 0 0; font-size: 15px; color: var(--text-3); line-height: 1.5; }

/* ---------- Leistungen ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1; max-width: 820px; margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { border: 1px solid var(--line-2); border-radius: 8px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card .num { font-family: var(--display); font-size: 48px; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.card h3 { font-size: 28px; }
.card p { margin: 0; color: #B8B8B8; font-size: 16px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--line-2); margin-top: 56px; list-style: none; padding: 0; }
.steps li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps .label { color: var(--accent); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.steps .title { font-family: var(--display); font-size: 24px; }
.steps .text { color: var(--text-3); font-size: 15px; line-height: 1.6; }

/* ---------- Über mich ---------- */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-photo { flex: 1 1 520px; max-width: 680px; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-text h2 { font-size: clamp(36px, 4vw, 48px); line-height: 1.05; }
.about-text p { margin: 0; color: var(--text-2); font-size: 18px; line-height: 1.7; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; margin: 0; }
.facts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.facts dt { color: var(--text-3); font-size: 14px; }
.facts dd { margin: 0; font-family: var(--display); font-size: 40px; }

/* ---------- Kontakt ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-intro { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.contact-intro h2 { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.contact-intro p { margin: 0; color: var(--text-2); font-size: 18px; line-height: 1.7; }
.contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.contact-form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-3); }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 14px; color: var(--text); font-size: 16px; font-family: var(--body); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form .hint { margin: 0; color: var(--text-3); font-size: 14px; line-height: 1.6; }
.contact-form .btn { align-self: flex-start; padding: 16px 32px; }
.hp { position: absolute; left: -9999px; }
.notice { border: 1px solid var(--accent); border-radius: 8px; padding: 18px 20px; font-size: 16px; line-height: 1.6; }
.notice.error { border-color: #FF8A80; }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 96px 32px 120px; display: flex; flex-direction: column; gap: 48px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; margin-top: 20px; }
.legal h2 { font-size: 28px; }
.legal section { display: flex; flex-direction: column; gap: 16px; }
.legal p, .legal li { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.legal ul { margin: 0; padding-left: 22px; }
.legal .box { background: #1A1A1A; border-radius: 8px; padding: 20px 24px; color: var(--text); }
.legal .toc { border: 1px solid var(--line-2); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.legal .highlight { border: 1px solid var(--accent); border-radius: 8px; padding: 28px; }
.legal .highlight p { color: var(--text); font-weight: 500; }
.legal .stand { color: var(--text-4); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--text-4); }
.site-footer img { height: 32px; width: auto; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--text-3); }

@media (max-width: 640px) {
  .wrap, .legal { padding-left: 20px; padding-right: 20px; }
  .hero-inner { padding-top: 88px; padding-bottom: 80px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .menu { gap: 10px 18px; font-size: 14px; }
  .band .wrap { font-size: 15px; gap: 8px 20px; }
  .card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slideshow img { transition: none; }
}

/* Sprachumschalter */
.menu a.lang { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.menu a.lang:hover { border-color: var(--accent); }

/* Täuschziffern gegen Adress-Sammler – für Menschen unsichtbar */
.decoy { display: none; }

/* Bilder gegen einfaches Speichern schützen */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.slideshow img, .about-photo img, .hero-bg { pointer-events: none; }

/* Großansicht der Diashow-Bilder */
.zoom { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; cursor: zoom-in; z-index: 1; }
.zoom:focus-visible { outline-offset: -4px; }
.controls { z-index: 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(8,8,8,.94); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox:focus { outline: none; }
.lightbox img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; border-radius: 4px; pointer-events: none; }
.lightbox-hint { margin: 0; font-size: 13px; color: var(--text-3); }
body.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox.open img { animation: zoomin .25s ease-out; }
  @keyframes zoomin { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
}
