/* Briede Optik & Kontaktlinsen · Website-Grundlage
   Farben und Schrift aus dem Briede-Designsystem (Skill briede-design). */

@font-face { font-family: "Now"; src: url("../fonts/now-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Now"; src: url("../fonts/now-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Now"; src: url("../fonts/now-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Now"; src: url("../fonts/now-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Now"; src: url("../fonts/now-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --beige-hell: #efebe5;
  --papier: #e9e4da;
  --beige: #cac5ba;
  --schwarz: #232323;
  --terracotta: #b1785e;      /* Akzent für Flächen, Formen, große Schrift */
  --terra-text: #8f5a41;      /* Terracotta für kleine Schrift auf Hell (Kontrast 4,8:1) */
  --grau: #6b665e;            /* gedämpfter Text auf Hell (Kontrast 4,8:1) */
  --weiss: #ffffff;
  --linie: rgba(35, 35, 35, .14);

  --rand: clamp(20px, 5vw, 80px);
  --max: 1320px;
  --radius: 22px;
  --pill: 999px;

  --h1: clamp(46px, 7.4vw, 118px);
  --h2: clamp(36px, 5vw, 76px);
  --h3: clamp(22px, 2.1vw, 30px);
  --text: clamp(16px, 1.15vw, 18.5px);
  --gross: clamp(18px, 1.45vw, 22px);

  --papier-bg: #efebe5 url("../img/papier-beige.webp") 0 0 / 1800px auto;
  --dunkel-bg: #232323 url("../img/papier-dunkel.webp") 0 0 / 1800px auto;
  --terra-bg: #b1785e url("../img/papier-terracotta.webp") 0 0 / 1800px auto;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--papier-bg); color: var(--schwarz);
  font: 400 var(--text)/1.55 "Now", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

/* Typografie */
.h1, .h2 { font-weight: 900; text-transform: uppercase; letter-spacing: .005em; margin: 0; }
.h1 { font-size: var(--h1); line-height: 1.07; }
.h2 { font-size: var(--h2); line-height: .97; }
.h3 { font-size: var(--h3); font-weight: 700; line-height: 1.15; margin: 0; }
.label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--terra-text); margin: 0 0 18px; }
.label.linie { display: flex; align-items: center; gap: 14px; }
.label.linie::after { content: ""; width: 56px; height: 2px; background: currentColor; }
.lead { font-size: var(--gross); line-height: 1.5; }
.muted { color: var(--grau); }
p { margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--pill);
  font: 500 15px/1 "Now", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--schwarz); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dunkel { background: var(--schwarz); color: var(--beige-hell); }
.btn-dunkel:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--weiss); }
.btn-hell { background: transparent; color: var(--schwarz); }
.btn-hell:hover { background: var(--schwarz); color: var(--beige-hell); }
.btn-weiss { background: var(--beige-hell); color: var(--schwarz); border-color: var(--beige-hell); }
.btn-weiss:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--weiss); }
.btn-umriss-weiss { background: transparent; color: var(--beige-hell); border-color: var(--beige-hell); }
.btn-umriss-weiss:hover { background: var(--beige-hell); color: var(--schwarz); }

/* Bildmarke als Aufzählung */
.bm { width: 1.05em; height: 1.1em; fill: var(--terracotta); flex: none; }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.liste li { display: flex; gap: 14px; align-items: flex-start; }
.liste li .bm { margin-top: .22em; }

/* Fotos in Logo-Form */
.form { position: relative; }
.form .bild { position: absolute; inset: 0; clip-path: url(#linse); }
.form.m .bild { clip-path: url(#linse-m); }
.form.r .bild { clip-path: url(#linse-r); }
.form .bild img { width: 100%; height: 100%; object-fit: cover; }
.form .kontur { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--terracotta); stroke-width: 2.5; pointer-events: none; }

/* Große Ringe im Hintergrund */
.ring-deko { position: absolute; pointer-events: none; fill: rgba(255, 255, 255, .55); z-index: 0; }

/* Header */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(239, 235, 229, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.kopf .logo img { height: 38px; width: auto; }
.kopf nav { display: flex; gap: 26px; margin-left: 12px; }
.kopf nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.kopf nav a:hover { color: var(--terra-text); }
.kopf .aktionen { margin-left: auto; display: flex; gap: 10px; }
.kopf .btn { min-height: 44px; padding: 0 20px; font-size: 13px; white-space: nowrap; }
@media (max-width: 1080px) { .kopf nav { display: none; } }
@media (max-width: 560px) { .label { letter-spacing: .1em; font-size: 12px; } .kopf .btn-hell { display: none; } .kopf .logo img { height: 30px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--schwarz); color: var(--beige-hell); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
