/* United Welders | style.css
   Seit 05.10.2026 HELL (Wunsch Jan-Dominik: dunkle Seiten strengen an, beim Wechsel
   auf helle Seiten sieht man kurz schlecht). Vorlage: Entwurf "UWE im Stil von A".
   Heller Grund, weisse Flaechen, Orange (#ff8a1a) nur als Flaeche/Akzent;
   Orange als SCHRIFT immer --orange-text (#ad4e05), sonst zu wenig Kontrast.
   Das Metall-Lockup steht nur noch auf einer dunklen Bildkachel (.lockup-kachel).
   Funke/Spark-Motiv und Condensed Bold Headlines bleiben. */

* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg-0:#f5f4f1;          /* Seitengrund */
  --bg-1:#ffffff;          /* Flaechen, Karten */
  --bg-2:#efede8;          /* leicht abgesetzte Flaechen */
  --ink:#16181c;
  --ink-dim:#444952;
  --ink-faint:#5a5f68;
  --line:#dcd8d0;
  --line-soft:#e7e4de;
  --orange:#ff8a1a;        /* nur Flaechen, Knoepfe, Linien, Funke */
  --orange-dim:#ad4e05;    /* frueher gedecktes Orange auf Schwarz - jetzt Schrift-Orange */
  --orange-text:#ad4e05;
  --dunkel:#0b0b0b;        /* Bildkachel fuer das Metall-Lockup */
  --schatten:0 1px 2px rgba(22,24,28,0.05), 0 6px 20px rgba(22,24,28,0.06);
}

html { scroll-behavior:smooth; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Roboto', 'Liberation Sans', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .headline, .kicker, .eyebrow, .platehead, .btn, nav a, .logo-word {
  font-family: 'Barlow Condensed', 'DejaVu Sans Condensed', Arial, sans-serif;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Spark / Funke motif */
.spark {
  width: 22px; height: 22px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.spark::before {
  content:"";
  position:absolute; inset:0;background:url("../img/uwe-funke-48.png") center/contain no-repeat}

/* Frueher Metall-Verlauf (auf Schwarz). Auf hellem Grund waere Silber kaum
   lesbar - das Wort wird stattdessen im Schrift-Orange hervorgehoben. */
.metallic { color: var(--orange-text); }

/* Header / Nav */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand .logo-word {
  font-size: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  color: var(--ink);
}
.brand .logo-word span { color: var(--orange); }

nav.main { display: flex; align-items: center; gap: 8px; }
nav.main a {
  padding: 10px 11px;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;          /* seit dem Menuepunkt "Rechner & Werkzeuge" */
  color: var(--ink-dim);
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
nav.main a:hover { color: var(--ink); background: rgba(22,24,28,0.05); }
nav.main a.active { color: var(--orange-text); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 6px 6px 0 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px; height: 44px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #ff9c3d, var(--orange));
  color: #140900;
  box-shadow: 0 6px 16px rgba(255,138,26,0.22);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  border-color: #c9c5bd;
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-text); }

/* Hero */
.hero {
  padding: 72px 0 72px;
  text-align: center;
}
/* Das Lockup ist ein Rasterbild auf Schwarz - es steht deshalb in einer
   dunklen Kachel, wie ein Foto. */
.lockup-kachel {
  display: inline-block;
  background: var(--dunkel);
  border-radius: 16px;
  padding: 22px 34px;
  margin: 0 auto 36px;
  box-shadow: var(--schatten);
}
.hero img.lockup { width: 220px; margin: 0 auto; }
.kicker {
  font-size: 17px;
  letter-spacing: 5px;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero .sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 19px;
  color: var(--ink-dim);
  font-weight: 400;
}
.hero .cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section basics */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker { margin-bottom: 12px; }
.section-head h2 {
  font-size: 38px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rule {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, rgba(255,138,26,0.7), rgba(22,24,28,0.06));
  margin: 18px 0;
}
.rule-center {
  height: 2px; width: 80px;
  background: var(--orange);
  margin: 18px auto 0;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--schatten);
  border-radius: 14px;
  padding: 32px 28px;
}
.card .num {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--orange-dim);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.card p { color: var(--ink-dim); font-size: 15.5px; }
.card ul { margin-top: 16px; padding-left: 18px; color: var(--ink-dim); font-size: 15px; }
.card ul li { margin-bottom: 6px; }
.card .tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-text);
  border: 1px solid rgba(255,138,26,0.45);
  background: rgba(255,138,26,0.07);
  border-radius: 20px;
  padding: 5px 14px;
}

/* Panel (contact/about blocks) */
.panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--schatten);
  border-radius: 16px;
  padding: 44px;
}

.contact-list { list-style:none; margin-top: 8px; }
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list li span.label {
  min-width: 130px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-list li a, .contact-list li .val { font-size: 18px; color: var(--ink); }
.contact-list li a:hover { color: var(--orange-text); }
.note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
  border-left: 2px solid var(--orange);
  padding-left: 14px;
}

/* Timeline (about) */
.timeline { list-style:none; }
.timeline li {
  position: relative;
  padding: 0 0 26px 30px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content:"";
  position:absolute; left:-7px; top:2px;
  width:16px; height:16px;background:url("../img/uwe-funke-48.png") center/contain no-repeat}
.timeline b { display:block; font-size:16px; margin-bottom:4px; }
.timeline span { color: var(--ink-dim); font-size: 14.5px; }

/* Footer */
footer.site {
  margin-top: auto;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.tagline {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.foot-links { display:flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; }
.foot-links a { color: var(--ink-faint); }
.foot-links a:hover { color: var(--orange-text); }
.copyright { font-size: 13px; color: var(--ink-faint); }

/* Page header (inner pages) */
.page-header {
  padding: 64px 0 40px;
  text-align: center;
}
.page-header h1 {
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Legal pages */
.legal h2 { font-size: 22px; text-transform: uppercase; margin: 32px 0 12px; color: var(--orange-text); }
.legal a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 15.5px; margin-bottom: 10px; }
.legal .placeholder { color: var(--orange-dim); font-style: italic; }

/* Responsive */
/* Seit 27.08.2026 steht die Wortmarke "United Welders" in der Kopfzeile, nicht
   mehr das kurze "UWE". Sie ist deutlich breiter, deshalb schrumpfen Schrift und
   Zeichen auf mittleren Breiten stufenweise, darunter uebernimmt das Burger-Menue.
   Der Zusatz-Span wird nur noch im Verwaltungsbereich benutzt (" · Verwaltung").
   Greift auch dann, wenn Google Fonts nicht laedt und statt Barlow Condensed eine
   breitere Ersatzschrift einspringt. */
@media (max-width: 1399px) {
  .brand .logo-word { font-size: 21px; letter-spacing: 1.2px; }
  .brand .logo-word span { display: none; }
}
@media (max-width: 1140px) {
  .brand img { width: 38px; height: 38px; }
  .brand .logo-word { font-size: 19px; letter-spacing: .8px; }
}
/* Sieben Menuepunkte (seit 25.09.2026): enger setzen, damit Wortmarke und Menue
   nicht ineinanderlaufen. Gilt fuer alle Breiten, weil .wrap eine feste
   Hoechstbreite hat. Mit Ersatzschrift (Arial) geprueft. */
nav.main { gap: 2px; }
nav.main a { padding: 10px 8px; font-size: 14px; letter-spacing: .6px; }
/* Sieben Menuepunkte (seit 25.09.2026 mit "Lehrwerkstatt") brauchen mehr
   Platz – das Burger-Menue erscheint deshalb schon ab 1260 px (vorher 1080), auch mit Ersatzschrift. */
@media (max-width: 1260px) {
  nav.main { display:none; }
  nav.main.open {
    display:flex; flex-direction:column;
    position:absolute; top:84px; left:0; right:0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 24px rgba(22,24,28,0.08);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 20px 20px;
  }
  .nav-toggle { display:block; }
}

@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  /* Lange Einzelwoerter wie "Reparaturschweissen" haben die Kacheln auf dem
     Handy breiter gemacht als den Bildschirm -> die Seite liess sich seitlich
     schieben. Kleinere Ueberschrift plus Silbentrennung loest das. */
  .card h3, .panel h2 { font-size: 21px; hyphens: auto; }
  .card, .panel { min-width: 0; }
  .card p, .card li, .panel p { overflow-wrap: break-word; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-list li a, .contact-list li .val { overflow-wrap: break-word; }
  footer.site .wrap { flex-direction: column; align-items: flex-start; }
}
