/* =========================================================
   Webentwicklung Fischer — wae-fischer.de
   Eigenständiges, self-contained Stylesheet (keine externen Requests).
   ========================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design Tokens ---------- */
:root {
  --ink:      #16181d;
  --ink-soft: #2b2e36;
  --paper:    #f7f6f2;
  --panel:    #ffffff;
  --panel-2:  #eeece4;
  --muted:    #5b5e67;
  --line:     #dcdad0;
  --accent:   #1f3fd0;
  --accent-d: #16309e;
  --radius:   16px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Micro-Label (Mono) ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.kicker .num { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  padding: .78em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .tile { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .over {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-name .main { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 116px) 0 clamp(40px, 6vw, 72px); }
.hero .kicker { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.15rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero h1 .em { color: var(--accent); }
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.draft-note {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5em 1em;
}
.draft-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* ---------- Section framing ---------- */
section { border-top: 1px solid var(--line); }
.section-inner { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 14px 0 0;
  font-weight: 700;
}
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }

/* ---------- Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .idx { font-family: var(--mono); font-size: .72rem; color: var(--accent); letter-spacing: .12em; }
.card h3 { margin: 14px 0 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Über / Split ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about-body p { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 18px; max-width: 58ch; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.facts div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.facts div:last-child { border-bottom: 0; }
.facts dt, .facts .k { color: var(--muted); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.facts .v { font-weight: 600; text-align: right; margin: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 34px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.contact-card h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.contact-card p { color: #c4c6cd; margin: 0 0 26px; max-width: 40ch; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-lines li { display: flex; gap: 12px; padding: 8px 0; align-items: baseline; }
.contact-lines .lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8b8f99; min-width: 74px; }
.contact-lines a, .contact-lines span { color: var(--paper); text-decoration: none; font-weight: 500; }
.contact-lines a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card .btn-primary { background: #fff; color: var(--ink); }
.contact-card .btn-primary:hover { background: #e7e7e2; }
.contact-card .btn-ghost { color: var(--paper); border-color: #40434c; }
.contact-card .btn-ghost:hover { border-color: var(--paper); }

.contact-aside {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; background: var(--panel);
}
.contact-aside h3 { margin: 0 0 14px; font-size: 1.1rem; }
.contact-aside p { color: var(--muted); font-size: .96rem; margin: 0 0 14px; }
.contact-aside ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .96rem; }
.contact-aside li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--panel-2); }
.footer-inner { padding: 34px 0; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.footer-inner .copy { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 24px 96px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 8px; }
.legal .back { font-family: var(--mono); font-size: .8rem; color: var(--accent); text-decoration: none; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal address { font-style: normal; }
.legal a { color: var(--accent); }
.hinweis {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; margin: 1.2em 0;
}
.hinweis p { margin: 0; }

/* ---------- Responsive ---------- */
.brand-name .over-short { display: none; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav .nav-link { display: none; }
  body { font-size: 16px; }
}
