/* kronov.com · Kontakt. Baut auf kronov.css auf (Farben, Schrift, Kopf, Knöpfe, Fuss). */

/* 2 Anfrage: Formular links, der direkte Weg rechts (bleibt stehen) */
.anfrage { padding: var(--abstand) var(--seite); background: var(--ebene); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.anfrage__raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.formular { display: grid; gap: 40px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--linie); border-radius: 18px; background: rgba(239, 230, 213, .025); }
/* Die drei Schritte hängen an einer feinen goldenen Linie links, die Nummern sitzen darauf */
.schritt { position: relative; min-width: 0; margin: 0; padding: 0 0 0 54px; border: 0; }
.schritt::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: -40px; width: 1px; background: linear-gradient(rgba(201, 165, 92, .5), rgba(201, 165, 92, .12)); }
.schritt[hidden] { display: none; }
.schritt > legend { position: relative; display: flex; align-items: center; min-height: 34px; margin-bottom: 20px; padding: 0; font: 500 26px/1.2 var(--serif); color: var(--beige); }
.schritt__nr { position: absolute; left: -54px; top: 0; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ebene); font: 500 16px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); }

/* Schritt 1: drei Karten als Auswahl, oben rechts ein Kreis, der sich bei der Wahl gold füllt */
.wahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; }
.wahl label > span { position: relative; display: block; height: 100%; padding: 20px 44px 20px 20px; border: 1px solid var(--linie); border-radius: 14px; background: rgba(239, 230, 213, .03); font-size: 14px; line-height: 1.5; color: var(--taupe); transition: border-color .3s ease, background-color .3s ease; }
.wahl label > span::after { content: ""; position: absolute; top: 20px; right: 18px; width: 14px; height: 14px; border: 1px solid rgba(239, 230, 213, .35); border-radius: 50%; transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.wahl strong { display: block; margin-bottom: 6px; font: 500 22px/1.2 var(--serif); color: var(--beige); }
.wahl label:hover > span { border-color: rgba(201, 165, 92, .45); }
.wahl input:checked + span { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 165, 92, .12), transparent 70%), rgba(239, 230, 213, .03); }
.wahl input:checked + span::after { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--ebene); }
.wahl input:checked + span strong { color: var(--gold); }
.wahl input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Felder: zwei Spalten, dunkle Eingaben, goldener Rand beim Fokus */
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.feld { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld > label, .feld > legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--beige); }
.feld label span, .feld legend span { font-weight: 400; color: var(--taupe); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid rgba(239, 230, 213, .2); border-radius: 10px; background: rgba(239, 230, 213, .04); color: var(--beige); font: 400 16px/1.4 var(--sans); transition: border-color .3s ease; }
.feld textarea { resize: vertical; }
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: rgba(239, 230, 213, .35); }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 165, 92, .2); }
/* Schuljahre als Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid rgba(239, 230, 213, .2); border-radius: 99px; font-size: 13.5px; color: var(--beige); transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.chip:hover span { border-color: rgba(201, 165, 92, .5); }
.chip input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--schwarz); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Absenden: Zustimmung und Knopf, durch eine Linie abgesetzt */
.formular__senden { margin-left: 54px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-top: 28px; border-top: 1px solid var(--linie); }
.zustimmung { display: flex; gap: 12px; max-width: 34em; font-size: 14px; line-height: 1.5; color: var(--taupe); cursor: pointer; }
.zustimmung input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.zustimmung a { color: var(--beige); text-decoration-color: var(--gold); }

/* Direkter Weg rechts: Julian persönlich, Mail, Telefon, die 24-Stunden-Zusage */
.direkt { position: sticky; top: 120px; display: grid; gap: 12px; padding: 28px 26px; border: 1px solid var(--linie); border-radius: 18px; background: rgba(239, 230, 213, .025); }
.direkt__person { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--linie); }
.direkt__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.direkt__person p { font-size: 13.5px; color: var(--taupe); }
.direkt__person strong { display: block; font: 500 20px/1.2 var(--serif); color: var(--beige); }
.direkt h3 { margin: 0; font: 500 22px/1.2 var(--serif); color: var(--beige); }
.direkt a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--beige); font-size: 15px; text-decoration: none; transition: color .3s ease; }
.direkt a:hover { color: var(--gold); }
.direkt .ic { flex: none; width: 20px; height: 20px; color: var(--gold); }
.direkt__zeit { display: flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px !important; padding: 8px 14px; border: 1px solid rgba(201, 165, 92, .45); border-radius: 99px; font-size: 13px; color: var(--gold); }
.direkt__zeit span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* 3 Häufige Fragen: links Überschrift und Umschalter, rechts die Fragen.
   Hell wie der Schlussblock der anderen Seiten; auf Beige nie Gold, Akzente in Schwarz. */
.fragen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: var(--abstand) var(--seite); background: var(--beige); color: var(--schwarz); }
.fragen :focus-visible { outline-color: var(--schwarz); }
.fragen__kopf { display: grid; justify-items: start; gap: 18px; }
.fragen h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.fragen__kopf > p { font-size: 18px; color: var(--schwarz); }
.umschalter { display: inline-flex; padding: 4px; border: 1px solid rgba(15, 14, 12, .3); border-radius: 99px; }
.umschalter button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 99px; background: transparent; color: rgba(15, 14, 12, .7); font: 600 14px var(--sans); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.umschalter button[aria-selected="true"] { background: var(--schwarz); color: var(--beige); }
.umschalter button:not([aria-selected="true"]):hover { color: var(--schwarz); }
/* Fragen als ruhige Karten: Plus-Kreis rechts, die Antwort gleitet weich auf */
.fragen__liste { display: grid; gap: 10px; }
.fragen__liste[hidden] { display: none; }
.frage { border: 1px solid rgba(15, 14, 12, .18); border-radius: 14px; background: rgba(15, 14, 12, .025); transition: border-color .3s ease, background-color .3s ease; }
.frage:hover { border-color: rgba(15, 14, 12, .45); }
.frage.ist-offen { border-color: var(--schwarz); background: rgba(15, 14, 12, .05); }
.frage h3 { margin: 0; }
.frage button { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 64px; padding: 14px 20px 14px 24px; border: 0; background: none; color: var(--schwarz); font: 500 21px/1.3 var(--serif); text-align: left; cursor: pointer; }
.frage.ist-offen button { font-style: italic; }
/* Plus, das sich beim Öffnen zum Minus dreht */
.frage__plus { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid rgba(15, 14, 12, .4); border-radius: 50%; transition: background-color .3s ease, transform .4s var(--aus); }
.frage__plus::before, .frage__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--schwarz); transform: translate(-50%, -50%); transition: transform .4s var(--aus), background-color .3s ease; }
.frage__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.frage.ist-offen .frage__plus { background: var(--schwarz); transform: rotate(180deg); }
.frage.ist-offen .frage__plus::before { background: var(--beige); }
.frage.ist-offen .frage__plus::after { background: var(--beige); transform: translate(-50%, -50%) rotate(0deg); }
.frage__antwort { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--aus); }
.frage__antwort > div { min-height: 0; overflow: hidden; }
.frage.ist-offen .frage__antwort { grid-template-rows: 1fr; }
.frage__antwort p { max-width: 40em; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: var(--schwarz); }

/* Tablet */
@media (max-width: 1024px) {
  .anfrage__raster, .fragen { grid-template-columns: 1fr; }
  .direkt { position: static; }
}

/* Mobil: nah an der Desktop-Fassung */
@media (max-width: 767px) {
  .anfrage__raster { gap: 16px; }
  .formular { gap: 34px; padding: 24px 18px 22px; border-radius: 16px; }
  .felder { grid-template-columns: 1fr; gap: 16px; }
  .schritt { padding-left: 0; }
  .schritt::before { display: none; }
  .schritt > legend { margin-bottom: 16px; font-size: 24px; }
  .schritt__nr { position: static; margin-right: 12px; }

  /* Worum geht es: drei Kacheln nebeneinander wie am Desktop, nur der Name sichtbar
     (die Beschreibung bleibt für Screenreader im Text) */
  .wahl { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wahl label > span { display: grid; justify-items: center; gap: 12px; padding: 18px 6px 16px; font-size: 0; line-height: 0; text-align: center; }
  .wahl label > span::after { position: static; order: -1; }
  .wahl strong { margin: 0; font-size: 19px; line-height: 1.2; }

  /* Absenden: Knopf über die ganze Breite */
  .formular__senden { margin-left: 0; gap: 18px; padding-top: 22px; }
  .formular__senden .knopf { width: 100%; justify-content: center; }

  /* Direkter Weg */
  .direkt { padding: 22px 20px; border-radius: 16px; }

  /* Gut zu wissen: Titel, Umschalter, darunter die Fragen */
  .fragen { gap: 18px; }
  .fragen__kopf { display: contents; }
  .fragen__kopf > p { margin-bottom: 4px; font-size: 17px; }
  .fragen .umschalter { justify-self: start; margin-bottom: 10px; }
  .frage button { min-height: 58px; padding: 12px 16px 12px 20px; font-size: 19px; }
  .frage__antwort p { padding: 0 20px 20px; font-size: 15.5px; }
}
