/*
Theme Name: atonce (Kadence)
Description: Child-Theme für atonce.at auf Basis von Kadence: Startseiten-Bausteine [atonce_hero] und [atonce_vorteile], Feinschliff für Handy und Desktop. Farben und Schriften kommen aus dem Kadence-Customizer (Palette 1 = Blau, Palette 2 = Hover, Barlow/Poppins).
Template: kadence
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: atonce-kadence
License: GPLv2 or later
*/

:root{--at-blue:var(--global-palette1,#009de2);--at-hover:var(--global-palette2,#007fb8);--at-yellow:#fbc931;--at-ink:var(--global-palette3,#1b2430);--at-muted:var(--global-palette5,#5d6b7a);--at-line:var(--global-palette7,#e3e8ee);--at-width:var(--global-content-width,1240px);--at-gutter:max(16px,5vw)}

/* Knöpfe: gelber Hauptknopf auf Blau, Hover wie im Customizer */
.at-hero,.at-hero *,.at-trust,.at-trust *,.at-section{box-sizing:border-box}
.at-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 24px;border-radius:8px;font-family:var(--global-heading-font-family,Poppins,sans-serif);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;transition:background .15s,color .15s,box-shadow .15s}
.at-btn-yellow{background:var(--at-yellow);color:#1b2430}
.at-btn-yellow:hover,.at-btn-yellow:focus-visible{background:#fff;color:var(--at-blue)}
.at-btn-ghost{color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.85)}
.at-btn-ghost:hover,.at-btn-ghost:focus-visible{background:#fff;color:var(--at-blue)}
.at-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* Bühne (Hero) */
.at-hero{background:var(--at-blue);color:#fff;overflow:hidden;position:relative}
.at-hero-in{max-width:var(--at-width);margin:0 auto;padding:clamp(36px,6vw,80px) var(--at-gutter);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:center}
.at-hero h1{color:#fff;font-size:clamp(30px,4.6vw,54px);line-height:1.08;letter-spacing:-.02em;margin:0 0 12px}
.at-hero p{font-size:clamp(17px,1.6vw,20px);margin:0 0 24px;opacity:.95;max-width:34em}
.at-hero-btns{display:flex;flex-wrap:wrap;gap:12px}
.at-hero-pic{display:grid;place-items:center}
.at-hero-pic img{max-width:100%;height:auto;max-height:380px;width:auto}
.at-hero-pic img.at-photo{border-radius:14px;max-height:none;width:100%;object-fit:cover;aspect-ratio:4/3}

/* Vorteile-Leiste */
.at-trust{border-bottom:1px solid var(--at-line);background:#fff}
.at-trust ul{max-width:var(--at-width);margin:0 auto;padding:14px var(--at-gutter);list-style:none;display:flex;flex-wrap:wrap;gap:8px 28px;color:var(--at-muted);font-size:15px}
.at-trust li{display:flex;align-items:center;gap:8px;margin:0}
.at-trust li::before{content:"";width:16px;height:9px;border-left:2px solid #1e7e4a;border-bottom:2px solid #1e7e4a;transform:rotate(-45deg) translateY(-2px);flex:none}

/* Abschnitt mit Überschrift (für die Kursliste auf der Startseite) */
.at-section{max-width:var(--at-width);margin:0 auto;padding:clamp(28px,4vw,56px) var(--at-gutter)}
.at-section .vsz{max-width:none}
.at-section>h2{margin:0 0 18px;font-size:clamp(22px,2.4vw,30px)}

/* Handy */
@media (max-width:767px){
.at-hero-in{grid-template-columns:minmax(0,1fr) 96px;gap:8px;padding-top:28px;padding-bottom:32px}
.at-hero h1{font-size:28px}
.at-hero p{font-size:16px;margin-bottom:18px}
.at-hero-btns .at-btn-ghost{display:none}
.at-hero-pic{align-self:end;margin-bottom:-36px}
.at-hero-pic img{max-height:150px}
.at-hero-pic img.at-photo{display:none}
.at-trust ul{flex-direction:column;gap:4px;font-size:14px;padding-top:12px;padding-bottom:12px}
}

/* Kadence-Feinschliff: Tippflächen im Handy-Menü, Kopfzeile mit feiner Linie */
#mobile-drawer .drawer-nav-drop-wrap a,#mobile-drawer .menu-item>a{min-height:48px;display:flex;align-items:center}
.site-header-row-container-inner{border-bottom:1px solid var(--at-line)}
