/* Recruiting-Landingpage Friseur Figaro – Farben und Logo aus dem Instagram-Auftritt des Salons */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #141414;
  --text: #2a2826;
  --text-leise: #5c5650;
  --sand: #c9b99a;
  --sand-dunkel: #8a7653;
  --creme: #f6f1e9;
  --weiss: #ffffff;
  --linie: #e4dccf;
  --fehler: #a32121;
  --radius: 14px;
  --breite: 1120px;
  --abstand: clamp(3.5rem, 8vw, 6.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  padding-bottom: 76px; /* Platz für den mobilen Bewerben-Button */
}

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

a { color: inherit; }

h1, h2, h3 {
  color: var(--schwarz);
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dachzeile {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand-dunkel);
  margin-bottom: .9rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--sand-dunkel); outline-offset: 3px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 54px;
  padding: .85rem 1.75rem;
  border: 2px solid var(--schwarz);
  border-radius: 999px;
  background: var(--schwarz);
  color: var(--weiss);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.button:hover { background: var(--weiss); color: var(--schwarz); }
.button:active { transform: scale(.98); }
.button--hell { background: transparent; color: var(--schwarz); }
.button--hell:hover { background: var(--schwarz); color: var(--weiss); }
.button--breit { width: 100%; }

/* Kopfzeile */
.kopf {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 1rem 0;
}
.kopf .container { display: flex; align-items: center; justify-content: space-between; }
.kopf__logo {
  background: rgba(255, 255, 255, .92);
  padding: .5rem .8rem;
  border-radius: 10px;
}
.kopf__logo img { width: 128px; }
.kopf__tel {
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, .92);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-size: .95rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--weiss);
  overflow: hidden;
}
.hero__bild {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.85) 100%);
}
.hero__inhalt { position: relative; z-index: 1; padding-bottom: 3rem; padding-top: 7rem; }
.hero h1 { color: var(--weiss); max-width: 14ch; }
.hero .dachzeile { color: var(--sand); }
.hero__unterzeile { font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 34ch; margin-bottom: 1.6rem; }
.hero .button { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.hero .button:hover { background: transparent; color: var(--weiss); }
.hero__vorteile {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  font-size: .95rem;
}
.hero__vorteile li::before { content: "✓ "; color: var(--sand); font-weight: 700; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--creme { background: var(--creme); }
.abschnitt__kopf { max-width: 40rem; margin-bottom: 2.5rem; }
.abschnitt__kopf p { color: var(--text-leise); font-size: 1.125rem; }
.zweispaltig > .abschnitt__kopf { margin-bottom: 0; }

.zweispaltig {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.bild-rund { border-radius: var(--radius); overflow: hidden; }
.bild-rund img { width: 100%; height: 100%; object-fit: cover; }

/* Karten: Warum Figaro */
.karten {
  display: grid;
  gap: 1rem;
}
.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.karte__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--creme);
  margin-bottom: 1rem;
}
.karte__icon svg { width: 24px; height: 24px; stroke: var(--schwarz); }
.karte p { margin: 0; color: var(--text-leise); }

/* Arbeitszeit-Modelle */
.modelle {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.modelle li {
  border: 1.5px solid var(--schwarz);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-weight: 500;
  background: var(--weiss);
}

/* Häkchen-Liste */
.haken {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.haken li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .75rem;
}
.haken li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Team-Bilder */
.team-bilder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.team-bilder .bild-rund { aspect-ratio: 3 / 4; }

/* Anfahrt */
.adresse {
  font-style: normal;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.adresse strong { color: var(--schwarz); }
.anfahrt__bild { aspect-ratio: 4 / 5; max-height: 560px; }

/* Formular */
.formular-box {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .25);
  max-width: 44rem;
  margin: 0 auto;
}
.formular-box h2 { text-align: center; }
.formular-box__intro { text-align: center; color: var(--text-leise); margin-bottom: 2rem; }

.feldgruppe { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.feld label,
.feld legend {
  display: block;
  font-weight: 600;
  color: var(--schwarz);
  margin-bottom: .4rem;
  padding: 0;
}
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input[type="text"],
.feld input[type="tel"],
.feld input[type="email"],
.feld select {
  width: 100%;
  min-height: 52px;
  padding: .75rem 1rem;
  font: inherit;
  font-size: 1rem; /* verhindert Zoom auf iOS */
  color: var(--text);
  background: var(--weiss);
  border: 1.5px solid #cfc6b8;
  border-radius: 10px;
}
.feld input:focus,
.feld select:focus { border-color: var(--schwarz); outline: none; box-shadow: 0 0 0 3px rgba(201, 185, 154, .5); }

fieldset.feld { border: 0; margin: 0; padding: 0; min-width: 0; }

.auswahl {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.auswahl label {
  position: relative;
  margin: 0;
  font-weight: 500;
}
.auswahl input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.auswahl span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .5rem 1.1rem;
  border: 1.5px solid #cfc6b8;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.auswahl input:checked + span { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }
.auswahl input:focus-visible + span { outline: 3px solid var(--sand-dunkel); outline-offset: 2px; }

.einwilligung {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--text-leise);
  margin: 1.4rem 0;
}
.einwilligung input { width: 22px; height: 22px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--schwarz); }

.hinweis-gesellenbrief {
  margin: .9rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  background: var(--creme);
  border: 1px solid var(--linie);
  color: var(--text);
  font-size: .95rem;
}
.hinweis-gesellenbrief[hidden] { display: none; }
.button:disabled { opacity: .4; cursor: not-allowed; }
.button:disabled:hover { background: var(--schwarz); color: var(--weiss); }

.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung {
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  background: #fbeaea;
  color: var(--fehler);
  border: 1px solid #e9c0c0;
}

/* Ansprechpartnerin unter dem Formular */
.ansprechpartnerin {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--linie);
}
.ansprechpartnerin__bild {
  width: 112px; height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sand);
}
.ansprechpartnerin__bild img { width: 100%; height: 100%; object-fit: cover; }
.ansprechpartnerin__bild .ki-label { right: 50%; transform: translateX(50%); bottom: .35rem; font-size: .6rem; }
.ansprechpartnerin__zitat { font-size: 1.15rem; font-weight: 500; color: var(--schwarz); margin-bottom: .6rem; }
.ansprechpartnerin__name { color: var(--text-leise); font-size: .95rem; margin-bottom: .6rem; }
.ansprechpartnerin__name strong { color: var(--schwarz); }
.ansprechpartnerin__tel { margin: 0; font-size: .95rem; color: var(--text-leise); }
.ansprechpartnerin__tel a { font-weight: 600; color: var(--schwarz); }

@media (min-width: 720px) {
  .ansprechpartnerin { flex-direction: row; text-align: left; gap: 1.5rem; }
}

/* Fuß */
.fuss {
  background: var(--schwarz);
  color: #cfc8bd;
  padding: 2.5rem 0;
  font-size: .95rem;
}
.fuss .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss button {
  background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;
}
.fuss button:hover { text-decoration: underline; }

/* Mobiler Bewerben-Button */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--linie);
  transition: transform .25s;
}
.sticky-cta.versteckt { transform: translateY(110%); }

/* Cookie-Hinweis */
.consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 50;
  max-width: 34rem;
  margin: 0 auto;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .35);
  padding: 1.4rem;
  font-size: .95rem;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.consent p { color: var(--text-leise); }
.consent__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent .button { min-height: 48px; padding: .6rem 1rem; }

/* KI-Kennzeichnung (Ewerle-Standard): bei Bedarf per Klasse "ki-aktiv" am <body> einschalten */
.ki-label { display: none; }
.ki-aktiv .ki-label {
  display: block;
  position: absolute;
  right: .6rem; bottom: .6rem;
  z-index: 2;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--weiss);
  background: rgba(0, 0, 0, .55);
  padding: .2rem .55rem;
  border-radius: 6px;
}
.ki-bild { position: relative; }

/* Rechtstexte und Danke-Seite */
.einfach-kopf { padding: 1.25rem 0; border-bottom: 1px solid var(--linie); }
.einfach-kopf img { width: 130px; }
.rechtstext { padding-top: 3rem; padding-bottom: 4rem; max-width: 46rem; }
.rechtstext h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.rechtstext h2 { font-size: 1.3rem; margin-top: 2rem; }
.rechtstext h3 { font-size: 1.05rem; margin-top: 1.25rem; }

.danke {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}
.danke__haken {
  width: 76px; height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--creme);
}
.danke__haken svg { width: 38px; height: 38px; stroke: var(--schwarz); }
.danke p { max-width: 32rem; margin-left: auto; margin-right: auto; color: var(--text-leise); font-size: 1.125rem; }

/* Ab Tablet */
@media (min-width: 720px) {
  .karten { grid-template-columns: 1fr 1fr; }
  .feldgruppe--zwei { grid-template-columns: 1fr 1fr; }
}

/* Ab Desktop */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .kopf__logo img { width: 150px; }
  .hero { align-items: center; min-height: 88vh; background: var(--schwarz); }
  .hero::after { background: linear-gradient(90deg, var(--schwarz) 38%, rgba(20,20,20,.6) 48%, rgba(20,20,20,0) 62%); }
  .hero__bild { left: auto; right: 0; width: 62%; object-position: 55% 30%; }
  .hero__inhalt h1, .hero__unterzeile { max-width: 12.5ch; }
  .hero__unterzeile { max-width: 26ch; }
  .hero__inhalt { padding-bottom: 0; }
  .zweispaltig { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .zweispaltig--umgekehrt > :first-child { order: 2; }
  .karten { grid-template-columns: repeat(4, 1fr); }
  .consent { left: auto; right: 1.5rem; bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
