/* ==========================================================================
   allaboutdogs – Gestaltung
   Farben, Schriften und Abstände sind oben als Variablen festgelegt.
   ========================================================================== */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/fraunces.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/fraunces-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-sans-3.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-sans-3-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--aad-bg: #141A18;
	--aad-bg-2: #1C2422;
	--aad-petrol: #0F2826;
	--aad-teal-deep: #0B6E69;
	--aad-teal: #12A19A;
	--aad-teal-light: #3CC4BC;
	--aad-link: #5FD3CB;
	--aad-mint: #B5EFEA;
	--aad-text: #F2F5F3;
	--aad-muted: #B9C4BF;
	--aad-muted-2: #A7B3AE;
	--aad-line: rgba(255, 255, 255, 0.12);
	--aad-ext-bg: #2A2236;
	--aad-ext-line: #8E6BBF;
	--aad-ext-text: #D9C6F2;
	--aad-ext-muted: #CBBDE0;
	--aad-serif: 'Fraunces', Georgia, serif;
	--aad-sans: 'Source Sans 3', system-ui, sans-serif;
	--aad-max: 1200px;
	--aad-signet-dunkel: url(../img/signet-dunkel.png);
	--aad-signet-weiss: url(../img/signet-weiss.png);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--aad-bg); color: var(--aad-text); font-family: var(--aad-sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--aad-link); }
a:hover { color: var(--aad-mint); }
h1, h2, h3, h4 { font-family: var(--aad-serif); font-weight: 600; line-height: 1.1; }
:where(h1) { font-size: clamp(38px, 5vw, 56px); letter-spacing: -1px; }
:where(h2) { font-size: clamp(30px, 3.6vw, 40px); }
:where(h3) { font-size: 26px; }
input, select, textarea { background: var(--aad-bg); color: var(--aad-text); }
:focus-visible { outline: 3px solid var(--aad-mint); outline-offset: 3px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100; top: 8px; left: 8px; background: #fff; color: #000; padding: 10px 16px; }
.aad-wrap { max-width: var(--aad-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons (eckig, mit schraffiertem Versatz und Signet) ---------- */
.btn { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; color: #1C2422; background: none; border: 0; cursor: pointer; transition: transform .15s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #FFFFFF; border: 2px solid rgba(255, 255, 255, .7); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -2; transform: translate(7px, 7px); transition: transform .15s; background: repeating-linear-gradient(-45deg, var(--aad-mint) 0 2px, transparent 2px 6px); }
.btn:hover { color: #1C2422; transform: translate(3px, 3px); }
.btn:hover::after { transform: translate(4px, 4px); }
.btn img { height: 24px; width: auto; display: block; }
.btn--teal, .btn--teal:hover { color: #FFFFFF; }
.btn--teal::before { background: var(--aad-teal-deep); border-color: var(--aad-teal-deep); }
.btn--ghost, .btn--ghost:hover { color: #FFFFFF; }
.btn--ghost::before { background: var(--aad-bg-2); border-color: #FFFFFF; }
.btn--extern, .btn--extern:hover { color: #4B2E73; }
.btn--extern::before { border-color: #4B2E73; }
.btn--extern::after { background: repeating-linear-gradient(-45deg, var(--aad-ext-line) 0 2px, transparent 2px 6px); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 16px; }

/* Buttons aus dem Block-Editor: Stile «allaboutdogs hell / türkis / dunkel» */
.wp-block-button[class*="is-style-aad"] { position: relative; z-index: 0; }
.wp-block-button[class*="is-style-aad"]::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translate(7px, 7px); transition: transform .15s; background: repeating-linear-gradient(-45deg, var(--aad-mint) 0 2px, transparent 2px 6px); pointer-events: none; }
.wp-block-button[class*="is-style-aad"] .wp-block-button__link { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px 12px 56px; border-radius: 0 !important; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; transition: transform .15s; background: var(--aad-signet-dunkel) no-repeat 18px 50% / 26px auto, #FFFFFF; color: #1C2422; border: 2px solid rgba(255, 255, 255, .7); }
.wp-block-button.is-style-aad-tuerkis .wp-block-button__link { background: var(--aad-signet-weiss) no-repeat 18px 50% / 26px auto, var(--aad-teal-deep); color: #FFFFFF; border-color: var(--aad-teal-deep); }
.wp-block-button.is-style-aad-dunkel .wp-block-button__link { background: var(--aad-bg-2); color: #FFFFFF; border-color: #FFFFFF; padding-left: 22px; }
.wp-block-button[class*="is-style-aad"]:hover .wp-block-button__link { transform: translate(3px, 3px); }
.wp-block-button[class*="is-style-aad"]:hover::after { transform: translate(4px, 4px); }
.wp-block-buttons { gap: 18px; }

/* ---------- Kopfzeile ---------- */
.aad-header { position: sticky; top: 0; z-index: 30; background: rgba(20, 26, 24, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--aad-line); }
.admin-bar .aad-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .aad-header { top: 0; } }
.aad-header__inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.aad-logo { display: block; line-height: 0; padding: 8px 0; }
.aad-logo img { height: 26px; width: auto; display: block; }
.aad-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 16px; font-weight: 600; }
.aad-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.aad-nav a:not(.btn) { color: #FFFFFF; text-decoration: none; padding: 10px 0; display: inline-block; border-bottom: 3px solid transparent; }
.aad-nav a:not(.btn):hover { color: var(--aad-mint); }
.aad-nav .current-menu-item > a, .aad-nav .current_page_item > a, .aad-nav .current-menu-ancestor > a { border-bottom-color: var(--aad-teal); }
.aad-nav .btn::after { background: repeating-linear-gradient(-45deg, var(--aad-mint) 0 2px, transparent 2px 6px); }
.aad-menu-toggle { display: none; min-height: 44px; padding: 8px 14px; background: var(--aad-bg-2); color: #fff; border: 2px solid #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 960px) {
	.aad-menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
	.aad-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 8px 0 16px; }
	.aad-nav.is-open { display: flex; }
	.aad-nav ul { flex-direction: column; gap: 0; width: 100%; }
	.aad-nav a:not(.btn) { padding: 12px 0; }
}

/* ---------- Fusszeile ---------- */
.aad-footer { background: var(--aad-bg-2); color: #DCE3DF; font-size: 16px; }
.aad-footer__inner { max-width: var(--aad-max); margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.aad-footer a { color: #DCE3DF; display: block; }
.aad-footer a:hover { color: var(--aad-mint); }
.aad-footer p { margin: 0; }
.aad-footer__title { color: #FFFFFF; font-weight: 600; margin: 0 0 8px !important; }
.aad-footer__logo { width: 150px; max-width: 100%; height: auto; display: block; margin: 0 0 18px; }
.aad-footer ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Startseite: Titelbild ---------- */
.aad-hero { position: relative; min-height: clamp(520px, 86vh, 820px); display: flex; align-items: flex-end; background: #3E4A46; overflow: hidden; }
.aad-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 1.4s ease, transform 7s ease; }
.aad-hero__slide.is-active { opacity: 1; transform: scale(1.06); }
.aad-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 18, 17, .85) 0%, rgba(14, 18, 17, .35) 45%, rgba(14, 18, 17, .15) 100%); }
.aad-hero__content { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px 120px; color: #FFFFFF; }
.aad-hero__kicker { margin: 0 0 14px; font-weight: 600; color: var(--aad-mint); text-transform: uppercase; letter-spacing: 2px; font-size: 15px; }
.aad-hero h1 { margin: 0 0 20px; font-size: clamp(44px, 7.5vw, 96px); line-height: 1; letter-spacing: -2px; max-width: 900px; }
.aad-hero h1 span { color: var(--aad-mint); font-style: italic; font-weight: 500; }
.aad-hero__text { margin: 0; font-size: clamp(18px, 2vw, 22px); max-width: 640px; color: #E3EAE6; }
.aad-hero__dots { position: absolute; right: 24px; bottom: 40px; display: flex; gap: 4px; z-index: 2; }
.aad-dot { width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer; background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) no-repeat center / 28px 4px; }
.aad-dot.is-active, .aad-dot[aria-pressed="true"] { background-image: linear-gradient(#FFFFFF, #FFFFFF); }

/* ---------- Erfahrungs-Leiste ---------- */
.aad-stats { background: var(--aad-petrol); border-bottom: 1px solid var(--aad-line); }
.aad-stats__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.aad-stat { padding: 32px 24px 32px 0; border-right: 1px solid var(--aad-line); }
.aad-stat:last-child { border-right: 0; }
.aad-stat__num { margin: 0 0 4px; font-family: var(--aad-serif); font-size: 34px; font-weight: 600; color: var(--aad-teal-light); line-height: 1.1; hyphens: manual; }
.aad-stat__label { margin: 0; color: #DCE6E1; font-size: 16px; }

/* ---------- Sektionen, Kicker ---------- */
.aad-section { padding: 80px 0 88px; }
.aad-kicker, p.aad-kicker { margin: 0 0 12px; font-weight: 600; color: var(--aad-teal-light); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
.aad-lead { font-size: 21px; color: var(--aad-muted); max-width: 760px; }
.aad-muted { color: var(--aad-muted); }

/* ---------- Event-Kacheln (Startseite) ---------- */
.aad-tiles__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.aad-tiles__head h2 { margin: 0; }
.aad-tiles__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: var(--aad-muted); }
.aad-legend { display: inline-flex; align-items: center; gap: 8px; }
.aad-legend span { width: 14px; height: 14px; display: inline-block; }
.aad-legend--own span { background: var(--aad-teal-deep); }
.aad-legend--ext span { background: var(--aad-ext-bg); border: 2px solid var(--aad-ext-line); }
.aad-arrow { width: 52px; height: 52px; border: 2px solid #FFFFFF; background: var(--aad-bg-2); color: #FFFFFF; font: inherit; font-size: 22px; cursor: pointer; }
.aad-arrow:disabled { opacity: .35; cursor: default; }
.aad-tiles__viewport { overflow: hidden; }
.aad-tiles__track { display: flex; gap: 20px; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.aad-tile { position: relative; flex: 0 0 min(420px, 82vw); height: 520px; overflow: hidden; background: var(--aad-bg-2); display: flex; flex-direction: column; justify-content: flex-end; border: 2px solid var(--aad-teal); text-decoration: none; color: #FFFFFF; }
.aad-tile--extern { border-color: #C9B3EA; }
.aad-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aad-tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 18, 17, .95) 0%, rgba(14, 18, 17, .55) 45%, rgba(14, 18, 17, 0) 75%); }
.aad-tile__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.aad-chip { display: inline-block; font-size: 14px; font-weight: 600; padding: 4px 10px; background: var(--aad-teal-deep); color: #FFFFFF; }
.aad-chip--extern { background: var(--aad-ext-bg); color: var(--aad-ext-text); border: 1px solid var(--aad-ext-line); }
.aad-chip--cat { background: var(--aad-petrol); color: var(--aad-teal-light); }
.aad-chip--cat-extern { background: var(--aad-bg-2); color: var(--aad-ext-text); }
.aad-tile__logo { width: 72px; height: 72px; background: #FFFFFF; padding: 6px; display: flex; align-items: center; justify-content: center; flex: 0 0 72px; }
.aad-tile__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aad-tile__body { position: relative; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.aad-tile__meta { margin: 0; font-size: 15px; color: #DCE6E1; }
.aad-tile__body h3 { margin: 0 0 10px; font-size: 28px; }
.aad-tile--more { border: 2px dashed var(--aad-teal); align-items: flex-start; justify-content: center; padding: 32px; gap: 14px; background: var(--aad-petrol); }
.aad-tile--more img { height: 60px; width: auto; }
.aad-tile--more strong { font-family: var(--aad-serif); font-size: 30px; }
.aad-tile--more span { color: var(--aad-muted); }

/* ---------- Event-Liste ---------- */
.aad-filter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--aad-line); border-bottom: 1px solid var(--aad-line); margin-bottom: 24px; }
.aad-filter__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.aad-filter__btn { font: inherit; font-size: 16px; font-weight: 600; padding: 10px 18px; min-height: 44px; cursor: pointer; background: var(--aad-bg-2); color: var(--aad-teal-light); border: 2px solid rgba(255, 255, 255, .3); }
.aad-filter__btn[aria-pressed="true"] { background: var(--aad-teal-deep); color: #FFFFFF; border-color: var(--aad-teal-deep); }
.aad-filter__legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; color: var(--aad-muted); }
.aad-events { display: flex; flex-direction: column; gap: 20px; }
.aad-event { display: flex; flex-wrap: wrap; background: var(--aad-bg-2); border: 1px solid var(--aad-line); overflow: hidden; }
.aad-event--extern { background: var(--aad-ext-bg); border: 2px solid var(--aad-ext-line); }
.aad-event__date { flex: 0 0 150px; background: var(--aad-teal-deep); color: #FFFFFF; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.aad-event--extern .aad-event__date { background: var(--aad-bg-2); color: var(--aad-ext-text); border-right: 1px solid #D3C2EA; }
.aad-event__wd, .aad-event__month { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.aad-event__wd { margin-bottom: 4px; }
.aad-event__day { font-family: var(--aad-serif); font-size: 40px; font-weight: 700; line-height: 1; }
.aad-event__day--text { font-size: 22px; line-height: 1.15; }
.aad-event__main { flex: 1 1 420px; min-width: 0; padding: 24px 28px; }
.aad-event__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.aad-event__main h2 { font-size: 26px; margin: 0 0 6px; }
.aad-event__main h2 a { color: inherit; text-decoration: none; }
.aad-event__meta { margin: 0 0 6px; color: var(--aad-muted); font-size: 16px; }
.aad-event__text { margin: 0; color: var(--aad-muted); }
.aad-event--extern .aad-event__meta, .aad-event--extern .aad-event__text { color: var(--aad-ext-muted); }
.aad-event__side { flex: 0 0 auto; padding: 24px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.aad-event__logo { width: 120px; height: 120px; background: #FFFFFF; padding: 10px; display: flex; align-items: center; justify-content: center; }
.aad-event__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aad-note-small { margin: 24px 0 0; font-size: 15px; color: var(--aad-muted-2); max-width: 820px; }
.aad-empty { padding: 32px; background: var(--aad-bg-2); color: var(--aad-muted); }

/* ---------- Event-Detail ---------- */
.aad-banner { position: relative; height: clamp(320px, 50vw, 620px); background: #3E4A46; overflow: hidden; }
.aad-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aad-crumbs { font-size: 15px; color: var(--aad-muted-2); padding-top: 32px; }
.aad-detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 24px 0 64px; }
.aad-detail__main { flex: 1 1 560px; min-width: 0; }
.aad-detail__main h1 { margin: 0 0 24px; }
.aad-detail__lead { font-size: 21px; color: var(--aad-muted); margin: 0 0 20px; }
.aad-detail__aside { flex: 1 1 340px; min-width: 0; background: var(--aad-bg-2); border: 1px solid var(--aad-line); }
.aad-detail__aside .aad-event__date { flex: none; flex-direction: row; align-items: baseline; gap: 12px; padding: 20px 24px; }
.aad-facts { margin: 0; padding: 8px 24px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; font-size: 17px; }
.aad-facts dt { font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--aad-line); }
.aad-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--aad-line); }
.aad-detail__actions { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.aad-detail__actions .btn { justify-content: center; }
.aad-checklist { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 10px; }
.aad-checklist li { display: flex; gap: 12px; }
.aad-checklist li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 9px; background: var(--aad-teal); }

/* ---------- Formulare ---------- */
.aad-form { background: var(--aad-bg-2); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.aad-form .aad-full, .aad-form fieldset, .aad-form hr { grid-column: 1 / -1; }
.aad-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.aad-field input, .aad-field select, .aad-field textarea { font: inherit; font-weight: 400; padding: 12px; border: 1px solid #5A6662; border-radius: 0; width: 100%; }
.aad-field input:focus, .aad-field select:focus, .aad-field textarea:focus { border-color: var(--aad-teal-light); outline: none; box-shadow: 0 0 0 2px var(--aad-teal-light); }
.aad-form fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; }
.aad-form legend { font-family: var(--aad-serif); font-size: 24px; font-weight: 600; padding: 0; margin: 0 0 6px; }
.aad-form fieldset > p { grid-column: 1 / -1; margin: 0; color: var(--aad-muted-2); font-size: 16px; }
.aad-form hr { border: 0; height: 1px; background: var(--aad-line); margin: 8px 0; width: 100%; }
.aad-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--aad-bg); border: 1px solid #3A4642; font-size: 17px; cursor: pointer; font-weight: 400; }
.aad-opt:hover { border-color: var(--aad-teal); }
.aad-opt input { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 20px; accent-color: var(--aad-teal); }
.aad-opt small { display: block; color: var(--aad-muted-2); font-size: 16px; }
.aad-opts--col { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.aad-check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.aad-check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--aad-teal); }
.aad-upload { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border: 2px dashed #5A6662; background: var(--aad-bg); text-align: center; cursor: pointer; }
.aad-upload strong { color: var(--aad-link); }
.aad-upload input { max-width: 100%; font-size: 15px; color: var(--aad-muted); }
.aad-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aad-form button[type="submit"] { grid-column: 1 / -1; justify-self: start; }
.aad-alert { grid-column: 1 / -1; padding: 16px 20px; border: 2px solid var(--aad-teal); background: var(--aad-petrol); font-weight: 600; }
.aad-alert--error { border-color: #E07A5F; background: #2B1A17; }

/* ---------- Referenz-Slider ---------- */
.aad-refs { position: relative; height: clamp(420px, 50vw, 600px); background: var(--aad-bg-2); overflow: hidden; }
.aad-ref { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.aad-ref.is-active { opacity: 1; pointer-events: auto; }
.aad-ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aad-ref--ganz img { object-fit: contain; object-position: 85% 50%; padding: 32px 24px 32px 0; }
.aad-ref__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to top, rgba(20, 26, 24, .88), rgba(20, 26, 24, 0)); }
.aad-ref__text { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--aad-max); margin: 0 auto; padding: 0 24px 40px; color: #FFFFFF; }
.aad-ref__kind { margin: 0 0 6px; font-weight: 600; color: var(--aad-mint); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; max-width: 60%; }
.aad-ref__client { margin: 0; font-family: var(--aad-serif); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.15; max-width: 60%; }
.aad-refs__controls { position: absolute; right: 24px; bottom: 36px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; z-index: 2; max-width: 45%; }
.aad-refs__dots { display: flex; flex-wrap: wrap; }
.aad-refs__dots .aad-dot { width: 26px; background-size: 18px 4px; }
.aad-refs__count { font-size: 15px; color: #DCE3DF; min-width: 48px; text-align: right; }
@media (max-width: 700px) { .aad-refs__dots { display: none; } .aad-ref__kind, .aad-ref__client { max-width: 100%; } .aad-ref__text { padding-bottom: 110px; } .aad-refs__controls { max-width: none; bottom: 24px; } }

/* ---------- Empfehlungen ---------- */
.aad-rubrik { padding: 64px 0; }
.aad-rubrik:nth-of-type(3n+1) { background: var(--aad-bg); }
.aad-rubrik:nth-of-type(3n+2) { background: var(--aad-bg-2); }
.aad-rubrik:nth-of-type(3n) { background: var(--aad-petrol); }
.aad-rubrik__inner { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.aad-rubrik__head { flex: 1 1 260px; min-width: 0; }
.aad-rubrik__head h2 { margin: 0 0 10px; }
.aad-rubrik__head p { margin: 0; color: var(--aad-muted); }
.aad-rubrik__items { flex: 3 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.aad-card { background: rgba(255, 255, 255, .04); border: 1px solid var(--aad-line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.aad-card__head { display: flex; gap: 14px; align-items: center; }
.aad-card__head h3 { margin: 0; font-size: 22px; }
.aad-card__tag { margin: 2px 0 0; font-size: 15px; color: var(--aad-muted-2); }
.aad-card__text { margin: 0; color: var(--aad-muted); font-size: 17px; flex-grow: 1; }
.aad-logo-box { width: 110px; height: 60px; flex: 0 0 110px; background: #FFFFFF; border: 1px solid rgba(255, 255, 255, .18); padding: 6px; display: flex; align-items: center; justify-content: center; }
.aad-logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.aad-logo-box--initials { background: var(--aad-petrol); border-color: var(--aad-teal); font-family: var(--aad-serif); font-size: 22px; font-weight: 600; color: var(--aad-teal-light); }
.aad-logo-box--cover { width: 84px; height: 122px; flex: 0 0 84px; padding: 0; background: none; box-shadow: 4px 4px 0 rgba(0, 0, 0, .35); }
.aad-logo-box--cover img { width: 100%; height: 100%; object-fit: cover; }
.aad-code { border: 2px dashed var(--aad-teal); background: var(--aad-petrol); padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.aad-code__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--aad-teal-light); text-transform: uppercase; letter-spacing: 1px; }
.aad-code__value { margin: 2px 0 0; font-family: ui-monospace, Menlo, monospace; font-size: 18px; font-weight: 600; }
.aad-code__note { margin: 2px 0 0; font-size: 14px; color: var(--aad-muted-2); }
.aad-copy { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 14px; background: var(--aad-teal-deep); color: #FFFFFF; border: 0; cursor: pointer; }
.aad-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.aad-card__foot a { font-weight: 600; font-size: 16px; }
.aad-badge { font-size: 13px; font-weight: 600; padding: 2px 8px; border: 1px solid var(--aad-muted-2); color: var(--aad-muted); }
.aad-coaching { background: var(--aad-teal-deep); color: #FFFFFF; padding: 80px 0; }
.aad-coaching__inner { display: flex; flex-wrap: wrap; gap: 48px; }
.aad-coaching__head { flex: 1 1 360px; min-width: 0; }
.aad-coaching__head .aad-kicker { color: var(--aad-mint); }
.aad-coaching__head h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 44px); }
.aad-coaching__head p { margin: 0 0 16px; color: #DCE6E1; }
.aad-coaching__note { padding: 14px 16px; border: 1px solid var(--aad-mint); color: #FFFFFF !important; font-size: 16px; }
.aad-coaching__items { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.aad-coach { background: var(--aad-bg-2); color: var(--aad-text); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.aad-coach__logo { width: 100%; height: 72px; background: #FFFFFF; padding: 6px; display: flex; align-items: center; justify-content: center; }
.aad-coach__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.aad-coach h3 { margin: 0; font-size: 22px; }
.aad-transparenz { padding: 40px 0 64px; font-size: 16px; color: var(--aad-muted-2); }
.aad-transparenz div { border-left: 0; padding: 20px 24px; background: var(--aad-bg-2); }
.is-hidden { display: none !important; }

/* ---------- Galerie ---------- */
.aad-gallery { columns: 3 300px; column-gap: 8px; }
.aad-gallery__tile { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 8px; background: var(--aad-bg-2); cursor: zoom-in; break-inside: avoid; line-height: 0; }
.aad-gallery__tile img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.aad-gallery__tile:hover img { opacity: .85; }
.aad-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 16, 15, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.aad-lightbox[hidden] { display: none; }
.aad-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.aad-lightbox button { position: absolute; width: 48px; height: 48px; border: 2px solid #FFFFFF; background: var(--aad-bg-2); color: #FFFFFF; font: inherit; font-size: 24px; cursor: pointer; }
.aad-lightbox__close { top: 16px; right: 16px; }
.aad-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.aad-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.aad-lightbox__count { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; color: #DCE3DF; font-size: 15px; }
@media (max-width: 600px) { .aad-lightbox { padding: 64px 8px; } }

/* ==========================================================================
   Block-Editor-Inhalte
   ========================================================================== */
.aad-content > *:first-child { margin-top: 0; }
.aad-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.aad-content > .wp-block-group.alignfull + .wp-block-group.alignfull, .aad-content > .alignfull + .alignfull { margin-top: 0; }
.aad-content > :not(.alignfull):first-child { margin-top: 64px; }
.aad-content > :not(.alignfull):last-child { margin-bottom: 64px; }
.wp-block-group.alignfull { margin-top: 0; margin-bottom: 0; }
.has-text-gedaempft-color { color: var(--aad-muted) !important; }

/* Gruppen-Stile: Bänder */
.wp-block-group.is-style-aad-band { padding-top: 80px; padding-bottom: 88px; }
.wp-block-group.is-style-aad-karte { background: var(--aad-bg-2); padding: 28px; border: 1px solid var(--aad-line); }
.wp-block-group.is-style-aad-hinweis { background: var(--aad-petrol); border: 2px solid var(--aad-teal); border-left-width: 8px; padding: 24px 28px; }
.wp-block-group.is-style-aad-gestrichelt { border: 2px dashed var(--aad-teal); background: var(--aad-petrol); padding: 32px; }

/* Leistungs-Karten mit Symbol */
.aad-service { background: var(--aad-bg-2); padding: 28px; border-top: 3px solid var(--aad-teal); height: 100%; }
.aad-service h3, .aad-service h2 { font-size: 24px; margin: 12px 0 8px; }
.aad-service p { margin: 0; color: var(--aad-muted); font-size: 17px; }
.aad-service::before { content: ""; display: block; width: 32px; height: 32px; background: center / contain no-repeat; }
.aad-icon-web::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC4BC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); }
.aad-icon-print::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC4BC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M9 10h6M9 14h6M9 18h4'/%3E%3C/svg%3E"); }
.aad-icon-social::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC4BC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='4'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Ccircle cx='17' cy='7' r='0.6'/%3E%3C/svg%3E"); }
.aad-icon-foto::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC4BC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.aad-icon-netz::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC4BC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.2 11l7.6-4M8.2 13l7.6 4'/%3E%3C/svg%3E"); }

/* Titelbilder (Cover-Block) */
.wp-block-cover.is-style-aad-kopfbild { min-height: clamp(320px, 42vw, 520px) !important; padding: 0; }
.wp-block-cover.is-style-aad-fall { min-height: 560px !important; align-items: flex-end; padding: 0; border: 1px solid var(--aad-line); }
.wp-block-cover.is-style-aad-fall .wp-block-cover__inner-container { padding: 40px; max-width: 720px; margin: 0 auto 0 0; }
.wp-block-cover.is-style-aad-fall .wp-block-cover__background { background: linear-gradient(to top, rgba(14, 18, 17, .92) 0%, rgba(14, 18, 17, .6) 45%, rgba(14, 18, 17, .1) 80%) !important; opacity: 1 !important; }
.wp-block-cover.is-style-aad-fall h3, .wp-block-cover.is-style-aad-fall h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.wp-block-cover.is-style-aad-fall p { color: #E3EAE6; }
.aad-cases { display: flex; flex-direction: column; gap: 28px; }
.aad-cases > .wp-block-cover { position: sticky; top: 90px; margin: 0 !important; }
@media (max-width: 782px) { .aad-cases > .wp-block-cover { position: relative; top: auto; } }
.wp-block-cover.is-style-aad-banner { min-height: 480px !important; align-items: flex-end; }
.wp-block-cover.is-style-aad-banner .wp-block-cover__background { background: linear-gradient(to top, rgba(14, 18, 17, .9), rgba(14, 18, 17, .1) 70%) !important; opacity: 1 !important; }

/* Bild-Stile */
.wp-block-image.is-style-aad-sw img { filter: grayscale(1); }
.wp-block-image.is-style-aad-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.wp-block-image.is-style-aad-quadrat img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.wp-block-image figcaption, .wp-element-caption { color: var(--aad-muted-2); font-size: 15px; margin-top: 8px; text-align: left; }
.aad-pflege .wp-element-caption strong { display: block; color: var(--aad-text); font-family: var(--aad-serif); font-size: 20px; }

/* Zitat-Band */
.aad-quote p.aad-quote__text { font-family: var(--aad-serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; font-style: italic; font-weight: 500; margin: 0 0 16px; }

/* Lebenslauf: aufklappbare Zeiträume (Details-Block) */
.wp-block-details { border-bottom: 1px solid var(--aad-line); padding: 0; margin: 0 !important; }
.wp-block-details:first-of-type { border-top: 1px solid var(--aad-line); }
.wp-block-details summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 18px 4px; cursor: pointer; font-family: var(--aad-serif); font-size: 22px; font-weight: 600; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary strong { flex: 0 0 190px; color: var(--aad-teal-light); font-size: 28px; font-weight: 600; }
.wp-block-details summary::after { content: "+"; margin-left: auto; flex: 0 0 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--aad-teal-light); color: var(--aad-teal-light); font-family: var(--aad-sans); font-size: 22px; }
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > :not(summary) { margin: 0 0 24px; }
.wp-block-details ul { list-style: none; padding: 0 4px; }
.wp-block-details li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 17px; }
.wp-block-details li strong { display: inline-block; min-width: 110px; color: var(--aad-link); font-size: 16px; }
.wp-block-details li img { width: 16px !important; height: 16px; vertical-align: -2px; margin-left: 6px; }
@media (max-width: 600px) { .wp-block-details summary { flex-wrap: wrap; gap: 4px 12px; } .wp-block-details summary strong { flex-basis: 100%; } }

/* Spalten im Inhalt */
.wp-block-columns { gap: 32px 48px; }
.aad-content .wp-block-columns.alignwide, .aad-content .wp-block-columns.alignfull { margin-bottom: 0; }

/* Footer-Abstand für Inhalte ohne Band */
.aad-page-plain { padding: 64px 0; }

@media (max-width: 600px) {
	.aad-event__date { flex-basis: 100%; flex-direction: row; align-items: baseline; gap: 12px; padding: 16px 24px; }
	.aad-event--extern .aad-event__date { border-right: 0; border-bottom: 1px solid #D3C2EA; }
	.aad-hero__content { padding-bottom: 100px; }
	.aad-stat { border-right: 0; border-bottom: 1px solid var(--aad-line); }
	.aad-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.aad-hero__slide, .aad-tiles__track, .aad-ref, .btn, .btn::after { transition: none !important; }
	.aad-hero__slide.is-active { transform: none; }
}

/* ==========================================================================
   Feinschliff für Inhalte aus dem Editor
   ========================================================================== */
.aad-content .aad-wrap { max-width: calc(var(--aad-max) + 48px); }
.aad-content p.aad-kicker:not(:first-child) { margin-top: 32px; }
.has-tuerkis-tief-background-color .aad-kicker, .has-tuerkis-background-color .aad-kicker, .aad-coaching .aad-kicker { color: var(--aad-mint) !important; }
.has-tuerkis-tief-background-color .has-text-gedaempft-color, .has-tuerkis-tief-background-color .aad-muted { color: #DCE6E1 !important; }
.aad-content h3.wp-block-heading { font-size: 24px; margin-top: 36px; }
.aad-content .wp-block-group.is-style-aad-karte h3, .aad-content .wp-block-cover h3 { margin-top: 0; }
.aad-erinnerung .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.aad-erinnerung h3.wp-block-heading { margin: 16px 0 4px; }
.aad-erinnerung p.aad-kicker:not(:first-child) { margin-top: 0; }
ol.aad-schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 0; display: grid; gap: 20px; }
ol.aad-schritte li { counter-increment: schritt; position: relative; padding-left: 64px; min-height: 44px; color: #DCE6E1; }
ol.aad-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--aad-bg-2); color: #FFFFFF; font-family: var(--aad-serif); font-size: 22px; font-weight: 600; border: 2px solid var(--aad-mint); }
ol.aad-schritte li strong { color: #FFFFFF; font-size: 19px; }
.aad-fc-bilder .wp-block-columns { gap: 0; margin: 0; }
.aad-fc-bilder .wp-block-column { margin: 0 !important; }
.aad-fc-bilder .wp-block-image, .aad-fotostreifen .wp-block-image { margin: 0; }
.aad-fc-bilder.wp-block-group, .aad-fotostreifen.wp-block-group { padding: 0 !important; }
.aad-fc-bilder .wp-block-columns, .aad-fotostreifen .wp-block-columns { max-width: none !important; gap: 0; }
.aad-fc-bilder .wp-block-image img, .aad-fotostreifen .wp-block-image img { aspect-ratio: 4 / 3; height: clamp(220px, 28vw, 420px); }
.aad-about-schrift img { max-width: 340px; height: auto; }
@media (max-width: 781px) {
	.aad-fc-bilder .wp-block-column:not(:first-child), .aad-fotostreifen .wp-block-column:not(:first-child) { display: none; }
	.aad-content p.aad-kicker:not(:first-child) { margin-top: 24px; }
}
.aad-content > :not(.alignfull) { max-width: min(var(--aad-max), calc(100% - 48px)) !important; }
.aad-content > .aad-refs, .aad-content > .aad-empfehlungen { max-width: none !important; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 600px) {
	.aad-tiles__controls .aad-legend { display: none; }
	.aad-tiles__controls { flex-wrap: nowrap; }
}
