/*
Theme Name: Acceptus
Description: Schlankes Theme für acceptus.de (Beratung für Digitales aus Herne)
Version: 1.2
Author: Acceptus
Text Domain: acceptus
*/

/* ACCEPTUS Stylesheet. Farben stehen hier oben, den Rest musst du kaum anfassen. */
:root {
  --blau: #206a99;
  --petrol: #1a6b6b;
  --button: #0d6fa3;
  --text: #14262e;
  --grau-text: #4d6470;
  --hell: #f3f7f9;
  --linie: #dbe6ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; } /* Abstand wegen Menü */
body { margin: 0; font: 17px/1.65 Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* MENÜ: bleibt beim Scrollen oben stehen */
header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--linie); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-weight: bold; letter-spacing: 3px; font-size: 19px; text-decoration: none; color: var(--text); }
.logo small { display: block; font-weight: normal; letter-spacing: 0; font-size: 11px; color: var(--grau-text); margin-top: -4px; }
nav a { margin-left: 22px; text-decoration: none; color: var(--grau-text); font-size: 15px; }
nav a:hover { color: var(--text); }

/* BUTTON */
.btn { display: inline-block; background: var(--button); color: #fff; padding: 14px 26px; border-radius: 10px; font-weight: bold; text-decoration: none; }
.btn.klein { padding: 9px 18px; font-size: 14px; }
nav .btn { color: #fff; }

/* STARTBEREICH */
.hero { background: linear-gradient(135deg, var(--blau), var(--petrol)); color: #fff; padding: 84px 0 92px; }
.hero h1 { font-size: 52px; line-height: 1.1; margin: 0 0 18px; }
.hero p { font-size: 19px; max-width: 34em; margin: 0 0 30px; }
.hero .btn { background: #fff; color: #0f4c70; }
.hinweis { display: block; margin-top: 12px; font-size: 14px; }

/* ABSCHNITTE */
section { padding: 70px 0; }
section.hell { background: var(--hell); }
h2 { font-size: 32px; line-height: 1.2; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 20px; }
.label { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: bold; color: var(--button); margin-bottom: 10px; }
.einleitung { color: var(--grau-text); max-width: 40em; margin: 0 0 30px; }

/* KARTEN (Angebote nebeneinander, am Handy untereinander) */
.karten { display: flex; flex-wrap: wrap; gap: 20px; }
.karte { flex: 1 1 250px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 26px; }
.karte p { color: var(--grau-text); margin: 0 0 12px; }
.karte a { color: var(--button); font-weight: bold; text-decoration: none; }

/* ZWEI SPALTEN (Text links, Kasten rechts) */
.zwei { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.zwei > div { flex: 1 1 320px; }
.haken { list-style: none; padding: 0; margin: 0 0 26px; }
.haken li { padding-left: 28px; position: relative; margin: 10px 0; }
.haken li:before { content: "✓"; position: absolute; left: 0; color: var(--button); font-weight: bold; }
.kasten { background: linear-gradient(135deg, var(--blau), var(--petrol)); color: #fff; border-radius: 18px; padding: 32px; }
.kasten .btn { background: #fff; color: #0f4c70; }

/* DREI SCHRITTE */
.schritte { display: flex; flex-wrap: wrap; gap: 20px; }
.schritt { flex: 1 1 220px; }
.nr { display: block; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 50%; background: var(--button); color: #fff; font-weight: bold; margin-bottom: 10px; }

/* ABSCHLUSS UND FUSS */
.mitte { text-align: center; }
footer { background: #1d2b34; color: #c3d1d8; padding: 30px 0; font-size: 14px; text-align: center; }
footer a { color: #c3d1d8; margin: 0 8px; text-decoration: none; }

/* FOTO (Platzhalter, später durch echtes Bild ersetzen) */
.foto-platz { flex: 0 1 340px !important; }
.foto { aspect-ratio: 4 / 5; background: var(--linie); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--grau-text); text-align: center; padding: 20px; }
.foto-platz img { width: 100%; border-radius: 18px; display: block; }

/* ZWEI WEGE im Startbereich */
.wege { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.weg { flex: 1 1 280px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); border-radius: 14px; padding: 18px 22px; color: #fff; text-decoration: none; }
.weg strong { display: block; font-size: 19px; margin-bottom: 4px; }
.haken.weiss li:before { color: #fff; }
.karte .foto { margin-bottom: 16px; }

/* Startbereich: große Überschrift, zwei klare Wege */
.hero h1 { font-size: 46px; max-width: 16em; }
.hero > .wrap > p { font-size: 22px; margin-bottom: 0; }
.weg { padding: 22px 26px; }
.weg strong { font-size: 24px; }
.wege { margin-top: 36px; }

/* WordPress: Menü nicht unter der Admin-Leiste verstecken */
body.admin-bar header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header { top: 46px; } }

/* Normale Seiten (Kontakt, Impressum, Datenschutz) */
.seite { padding: 60px 0; }
.seite h1 { font-size: 36px; }
.seite .inhalt-text { max-width: 760px; }
.seite .inhalt-text a { color: var(--button); }

/* Buttons aus dem WordPress Editor sehen aus wie die Buttons vorher */
.wp-block-buttons { margin: 0; }
.wp-block-button .wp-block-button__link { background: var(--button); color: #fff; padding: 14px 26px; border-radius: 10px; font-weight: bold; text-decoration: none; font-size: 17px; line-height: 1.4; }
.hero .wp-block-button .wp-block-button__link, .kasten .wp-block-button .wp-block-button__link { background: #fff; color: #0f4c70; }
.hero .wp-block-buttons { margin-top: 34px; }
p.hinweis { display: block; margin: 12px 0 0; font-size: 14px; }
.rolle { font-weight: bold; color: var(--button); margin: 0 0 12px; }
#erfahrung .kasten { margin-top: 30px; }
#technik .einleitung { margin-bottom: 14px; }
#ueber-uns .karten + .einleitung { margin-top: 26px; }
.zwei > * { flex: 1 1 320px; }
.hero > .wrap > p.hinweis { font-size: 14px; margin: 12px 0 0; }

/* HANDY: Menü in zwei Zeilen. Oben Logo und Erstgespräch, darunter die drei Menüpunkte. */
@media (max-width: 760px) {
  html { scroll-padding-top: 110px; }
  header .wrap { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 4px; align-items: center; }
  .logo { order: 1; flex: 0 0 60%; font-size: 18px; }
  nav { display: contents; }
  nav a { margin-left: 0; }
  nav .btn.klein { order: 2; flex: 0 0 40%; text-align: center; padding: 9px 6px; }
  nav a:not(.btn) { order: 3; flex: 0 0 33.33%; text-align: center; font-size: 13px; padding: 8px 0; }
  .hero { padding: 50px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero > .wrap > p { font-size: 19px; }
  section { padding: 50px 0; }
  h2 { font-size: 27px; }
}

/* Inhalt immer mittig */
main .wrap, .wp-block-group.wrap { max-width: 1080px; margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  nav a:not(.btn) { white-space: nowrap; }
  nav a:nth-child(1) { flex-basis: 37%; }
  nav a:nth-child(2) { flex-basis: 38%; }
  nav a:nth-child(3) { flex-basis: 25%; }
}
