/* ==========================================================================
   ETL Lang & Kollegen – Startseite (Übergang bis zum neuen Webauftritt)
   Statisch, ohne Bilder und Abhängigkeiten. Schrift: Quicksand, selbst gehostet.
   ========================================================================== */

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/quicksand-latin-ext-wght-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: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/quicksand-latin-wght-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 {
  color-scheme: light;
  --orange: #f59b00;
  --orange-deep: #d98600;
  --orange-soft: #fff3df;
  --ink: #2d2e33;
  --ink-2: #4a4846;
  --muted: #6c6d74;
  --line: #e5e5e7;
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --radius: 6px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Quicksand", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; white-space: nowrap; border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--orange); color: #1f2023; }
.btn--primary:hover { background: var(--orange-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Header ----------------------------------------------------------------- */
.header { border-bottom: 1px solid var(--line); background: #fff; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 40px; width: auto; }
.header .btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 560px) { .header .btn { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero { flex: 1; display: flex; align-items: center; padding-block: clamp(40px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.notice {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--orange-soft); color: #7a4c00; font-weight: 600; font-size: .92rem;
  margin-bottom: 22px;
}
.notice svg { width: 20px; height: 20px; color: var(--orange-deep); }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.02em; line-height: 1.05; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); margin: 22px 0 32px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Kontakt-Panel (ersetzt das Hero-Foto) ---------------------------------- */
.panel { position: relative; }
.panel::before {
  content: ""; position: absolute; inset: 8% -6% -8% 10%;
  background: var(--orange); border-radius: var(--radius); z-index: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.panel__card {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(45,46,51,.16);
  padding: clamp(24px, 3vw, 40px);
  display: grid; gap: clamp(20px, 3vw, 32px);
}
.panel__card h2 { font-size: 1.05rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.location h3 { font-size: 1.35rem; margin-bottom: 4px; }
.location address { color: var(--ink-2); line-height: 1.65; margin-bottom: 14px; }
.location .row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 3px 0; font-size: .98rem; }
.location .row svg { width: 19px; height: 19px; color: var(--orange); margin-top: 4px; }
.location .row a { font-weight: 600; }
.location .row a:hover { color: var(--orange-deep); }
.panel__mail { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .98rem; color: var(--ink-2); }
.panel__mail a { font-weight: 700; color: var(--ink); }
.panel__mail a:hover { color: var(--orange-deep); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .panel { margin-top: 8px; }
}
@media (max-width: 520px) {
  .locations { grid-template-columns: 1fr; }
  .panel::before { inset: 6% -4% -6% 6%; }
}

/* Footer ----------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-weight: 600; color: var(--ink-2); }
.footer__links a:hover { color: var(--orange-deep); }

/* Rechtstexte ------------------------------------------------------------ */
.legal { flex: 1; padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal a { color: var(--orange-deep); font-weight: 600; }
.hint { padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 32px; }

/* Einblenden ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade .8s var(--ease) both; }
  .fade[data-delay="1"] { animation-delay: .12s; }
  @keyframes fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
