/* =====================================================================
   Theme «Agentur» für miracreative.ch
   Wird NACH /assets/css/style.css geladen. Teil 1 passt Farben und
   Schriften aller Seiten an, danach folgen die Bausteine (Präfix ag-).
   ===================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-latin-500-normal.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: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-700-normal.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: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-latin-ext-500-normal.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: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-ext-700-normal.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: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.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: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.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: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.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: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-400-normal.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: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-ext-500-normal.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: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-ext-600-normal.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; }

/* ---------- 1. Farben & Schriften für ALLE Seiten ---------- */
:root {
  --paper: #ffffff;
  --paper-2: #f4f6f6;
  --card: #ffffff;
  --ink: #07242b;
  --ink-2: #263f45;
  --muted: #55676b;
  --line: #e5e9ea;
  --accent: #ffc119;        /* Gelb – Flächen, Rahmen, Fokus */
  --accent-ink: #07242b;    /* Text-Akzent bleibt dunkel (Gelb ist auf Weiss nicht lesbar) */
  --ok: #1f7a43;
  --serif: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 12px;
  --shadow: 0 2px 6px rgba(7,36,43,.05), 0 16px 40px rgba(7,36,43,.09);
  /* nur Theme */
  --ag-petrol: #07242b;
  --ag-petrol-2: #0e3640;
  --ag-yellow: #ffc119;
  --ag-yellow-d: #f0ae00;
  --ag-lime: #d4fe00;
  --ag-grey: #f4f6f6;
}
body.ag { font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.ag h1, .ag h2, .ag h3 { font-weight: 700; letter-spacing: -.025em; }
.ag h1 em, .ag h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--ag-lime) 62%, var(--ag-lime) 92%, transparent 92%); color: inherit; }
.ag .eyebrow { color: var(--ink); }
.ag .eyebrow::before { background: var(--ag-yellow); }
.ag a { text-decoration-color: var(--ag-yellow); }
.ag .btn { border-radius: 10px; font-weight: 600; }
.ag .btn:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); color: var(--ink); }
.ag .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ag .badge { background: var(--ag-yellow); color: var(--ink); border-radius: 6px; }
.ag .chips li { background: var(--ag-grey); }
.ag .page-head { background: var(--ag-petrol); color: #fff; border-bottom: 0; }
.ag .page-head h1, .ag .page-head .lead, .ag .page-head .eyebrow, .ag .page-head a, .ag .page-head p { color: #fff; }
.ag .page-head .lead { opacity: .85; }
.ag .page-head h1 em { color: var(--ag-lime); background: none; }
.ag .page-head .searchbar { color: var(--ink); }
.ag .page-head .searchbar label, .ag .page-head .searchbar a { color: var(--ink); }
.ag .card { border-radius: var(--r); }
.ag .card:hover { box-shadow: var(--shadow); }
.ag .searchbar { border-radius: 12px; }
.ag .searchbar .btn { background: var(--ag-yellow); border-color: var(--ag-yellow); color: var(--ink); }
.ag .band { background: var(--ag-petrol); }
.ag .plan-prem { border-color: var(--ag-yellow); }
.ag .plan-flag { background: var(--ag-yellow); color: var(--ink); }
.ag :focus-visible { outline-color: var(--ag-yellow); }
.ag .flashes { margin-top: 16px; }

/* ---------- 2. Grundbausteine ---------- */
.ag-wrap { width: min(1320px, 100% - 32px); margin-inline: auto; }
.ag-sec { padding-block: clamp(56px, 7vw, 100px); }
.ag-grey { background: var(--ag-grey); }
.ag-center { text-align: center; margin-top: 30px; }
.ag .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 28px; border-radius: 10px; font: 600 .96rem var(--sans); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.ag-btn:hover { transform: translateY(-1px); }
.ag-btn-yellow { background: var(--ag-yellow); color: var(--ink); }
.ag-btn-yellow:hover { background: var(--ag-lime); }
.ag-btn-dark { background: var(--ag-petrol); color: #fff; }
.ag-btn-dark:hover { background: var(--ag-yellow); color: var(--ink); }
.ag-btn-white { background: #fff; color: var(--ink); }
.ag-btn-white:hover { background: var(--ag-yellow); }
.ag-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ag-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ag-btn-soft { background: #fff5dc; color: var(--ink); }
.ag-btn-soft:hover { background: var(--ag-yellow); }
.ag-btn-block { width: 100%; }
.ag-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ag-kick { display: inline-block; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.ag-kick-light { color: var(--ag-lime); }
.ag-sh { display: flex; justify-content: space-between; align-items: end; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 34px; }
.ag-sh h2, .ag-ct h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.ag-sh p, .ag-ct p { margin: 4px 0 0; color: var(--muted); }
.ag-ct { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.ag-more { font-weight: 600; color: var(--ink); text-decoration: none; }
.ag-more:hover { text-decoration: underline; }
.ag-ph { display: block; background: linear-gradient(135deg, var(--ag-petrol-2), var(--ag-petrol)); }
.ag-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-grey); }
.ag-av-txt { background: var(--ag-petrol); color: var(--ag-lime); font: 700 1rem var(--serif); }
.ag-av-l { width: 84px; height: 84px; font-size: 1.8rem; }
.ag-badge-demo { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff4d6; color: #6b4e00; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.ag-badge-top { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ag-lime); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; }

/* ---------- 3. Kopfbereich ---------- */
.ag-topbar { background: #041a1f; font-size: .82rem; }
.ag-topbar nav { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.ag-topbar a { color: rgba(255,255,255,.75); text-decoration: none; white-space: nowrap; }
.ag-topbar a:hover { color: #fff; }
.ag-head { position: sticky; top: 0; z-index: 40; background: var(--ag-petrol); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.ag-head-in { display: flex; align-items: center; gap: 30px; min-height: 80px; }
.ag-logo { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 1.35rem var(--serif); letter-spacing: -.03em; color: #fff; text-decoration: none; }
.ag-logo b { color: var(--ag-yellow); font-weight: 700; }
.ag-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ag-yellow); display: inline-flex; align-items: center; justify-content: center; }
.ag-logo-mark::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ag-petrol); box-shadow: inset 0 0 0 4px var(--ag-lime); }
.ag-nav { display: flex; align-items: center; gap: 2px; flex: 1; font-weight: 500; font-size: .95rem; }
.ag-nav > a, .ag-dd > a { padding: 10px 14px; border-radius: 8px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ag-nav > a:hover, .ag-dd:hover > a { color: var(--ag-yellow); }
.ag-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ag-yellow); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ag-nav-sp { flex: 1; }
.ag-nav .ag-btn { min-height: 44px; padding: 9px 22px; margin-left: 8px; color: var(--ink); }
.ag-nav .ag-btn:hover { color: var(--ink); }
.ag-dd { position: relative; }
.ag-dd > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.ag-sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.18); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 5; }
.ag-dd:hover .ag-sub, .ag-dd:focus-within .ag-sub { opacity: 1; visibility: visible; transform: none; }
.ag-sub a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 400; }
.ag-sub a:hover { background: #fff5dc; }
.ag-sub .ag-sub-all { font-weight: 600; }
.ag-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ag-burger span[aria-hidden] { display: block; width: 20px; height: 2px; background: #fff; }
@media (max-width: 1080px) {
  .ag-burger { display: inline-flex; }
  .ag-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--ag-petrol); flex-direction: column; align-items: stretch; padding: 10px 16px 22px; gap: 2px; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 80px); overflow-y: auto; }
  .ag-nav.open { display: flex; }
  .ag-nav-sp { display: none; }
  .ag-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 14px; display: none; min-width: 0; }
  .ag-sub a { color: rgba(255,255,255,.8); }
  .ag-sub a:hover { background: rgba(255,255,255,.06); }
  .ag-dd:focus-within .ag-sub { display: block; }
  .ag-nav .ag-btn { margin: 10px 0 0; }
}

/* ---------- 4. Kopfbereich Startseite mit Slider ---------- */
.ag-hero { background: var(--ag-petrol); color: #fff; overflow: hidden; position: relative; }
.ag-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 90px rgba(255,255,255,.02), 0 0 0 180px rgba(255,255,255,.015); pointer-events: none; }
.ag-hero-in { position: relative; display: grid; padding-block: clamp(48px, 7vw, 90px) 40px; }
.ag-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.ag-slide.on { opacity: 1; visibility: visible; z-index: 2; }
.ag-hero-tx > * { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.ag-slide.on .ag-hero-tx > * { opacity: 1; transform: none; }
.ag-slide.on .ag-hero-tx > :nth-child(2) { transition-delay: .12s; }
.ag-slide.on .ag-hero-tx > :nth-child(3) { transition-delay: .24s; }
.ag-slide.on .ag-hero-tx > :nth-child(4) { transition-delay: .36s; }
.ag-hero .ag-kick { color: var(--ag-lime); }
.ag-h1 { font: 700 clamp(2.4rem, 5.4vw, 4.4rem)/1.04 var(--serif); letter-spacing: -.035em; color: #fff; margin: 0 0 22px; max-width: 12em; }
.ag-hl { color: var(--ag-lime); text-decoration: underline; text-decoration-color: var(--ag-lime); text-decoration-thickness: .08em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.ag-lead { color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 34em; margin-bottom: 30px; }
.ag-hero-vis { position: relative; height: clamp(360px, 38vw, 500px); }
.ag-blob { position: absolute; inset: 6% 6% 0 12%; border-radius: 50%; background: var(--ag-yellow); }
.ag-hero-main { position: absolute; left: 18%; top: 10%; width: 64%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; border: 8px solid var(--ag-petrol); }
.ag-hero-s1, .ag-hero-s2 { position: absolute; width: 28%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.ag-hero-s1 { right: 0; top: 4%; }
.ag-hero-s2 { right: 6%; bottom: 6%; width: 22%; }
.ag-float { position: absolute; left: 0; bottom: 14%; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 18px 12px 12px; box-shadow: 0 16px 40px rgba(0,0,0,.25); max-width: 260px; }
.ag-float b { display: block; font-size: .95rem; line-height: 1.3; }
.ag-float span { font-size: .82rem; color: var(--muted); }
.ag-hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 40px; position: relative; z-index: 3; }
.ag-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; flex-wrap: wrap; }
.ag-stats b { display: block; font: 700 2rem/1.1 var(--serif); color: #fff; }
.ag-stats span { font-size: .85rem; color: rgba(255,255,255,.65); }
.ag-hnav { display: flex; align-items: center; gap: 14px; }
.ag-hnav > button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; transition: .2s; }
.ag-hnav > button:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); color: var(--ink); }
.ag-hdots { display: flex; gap: 8px; }
.ag-hdots button { width: 8px; height: 8px; border-radius: 5px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.ag-hdots button.on { width: 28px; background: var(--ag-lime); }
@media (max-width: 900px) {
  .ag-slide { grid-template-columns: 1fr; gap: 24px; }
  .ag-hero-vis { height: 320px; max-width: 440px; width: 100%; }
  .ag-stats { gap: 28px; }
}
@media (max-width: 520px) { .ag-hero-vis { height: 260px; } .ag-float { display: none; } .ag-stats b { font-size: 1.6rem; } }

/* Suche */
.ag-searchwrap { position: relative; z-index: 5; margin-top: -1px; }
.ag-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 0; background: #fff; border-radius: 0 0 16px 16px; padding: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 0; }
.ag-f { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-right: 1px solid var(--line); min-width: 0; color: var(--muted); }
.ag-f:nth-child(3) { border-right: 0; }
.ag-f input, .ag-f select { border: 0; outline: none; background: transparent; font: 400 1rem var(--sans); color: var(--ink); width: 100%; min-width: 0; padding: 14px 0; margin: 0; box-shadow: none; appearance: none; -webkit-appearance: none; }
.ag-search:focus-within { box-shadow: 0 0 0 3px var(--ag-yellow), var(--shadow); }
@media (max-width: 820px) { .ag-search { grid-template-columns: 1fr; } .ag-f { border-right: 0; border-bottom: 1px solid var(--line); } .ag-search .ag-btn { margin-top: 8px; } }

/* ---------- 5. Karussell ---------- */
.ag-car { position: relative; }
.ag-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 12px; }
.ag-track::-webkit-scrollbar { display: none; }
.ag-track > * { scroll-snap-align: start; }
.ag-cbtn { position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.16); cursor: pointer; font-size: 1.05rem; color: var(--ink); transition: .2s; }
.ag-cbtn:hover { background: var(--ag-yellow); }
.ag-cbtn[disabled] { opacity: 0; pointer-events: none; }
.ag-cprev { left: -23px; } .ag-cnext { right: -23px; }
.ag-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; min-height: 8px; }
.ag-dots button { width: 8px; height: 8px; border-radius: 5px; border: 0; padding: 0; background: #d3d9da; cursor: pointer; transition: .3s; }
.ag-dots button.on { background: var(--ag-petrol); width: 24px; }
@media (max-width: 1100px) { .ag-track { grid-auto-columns: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 820px) { .ag-track { grid-auto-columns: calc((100% - 24px) / 2); } .ag-cbtn { display: none; } }
@media (max-width: 520px) { .ag-track { grid-auto-columns: 82%; } }

/* Kategorie-Bildkarten */
.ag-track-cats { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; }
.ag-catcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ag-petrol); }
.ag-catcard img, .ag-catcard .ag-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ag-catcard:hover img { transform: scale(1.06); }
.ag-catcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,36,43,.55) 0%, rgba(7,36,43,0) 35%, rgba(7,36,43,0) 55%, rgba(7,36,43,.85) 100%); }
.ag-catcard-top { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: .8rem; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: 20px; }
.ag-catcard-name { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; font: 700 1.15rem/1.25 var(--serif); letter-spacing: -.02em; }
.ag-catcard-name svg { width: 30px; height: 30px; fill: none; stroke: var(--ag-lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .ag-track-cats { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 520px) { .ag-track-cats { grid-auto-columns: 62%; } }

/* Dunkle Box */
.ag-darkbox { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ag-petrol); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 56px); }
.ag-darkbox h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; max-width: 10em; }
.ag-darkbox p { color: rgba(255,255,255,.78); max-width: 30em; margin-bottom: 26px; }
.ag-darkbox-im img, .ag-darkbox-im .ag-ph { width: 100%; aspect-ratio: 16 / 11; height: auto; object-fit: cover; border-radius: 16px; }
@media (max-width: 820px) { .ag-darkbox { grid-template-columns: 1fr; } }

/* So funktioniert's */
.ag-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.ag-step-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--ag-grey); display: flex; align-items: center; justify-content: center; transition: .25s; }
.ag-step-ic .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.ag-steps li:hover .ag-step-ic { background: var(--ag-yellow); }
.ag-steps b { display: block; font: 700 1.15rem var(--serif); margin-bottom: 6px; }
.ag-steps p { color: var(--muted); font-size: .93rem; margin: 0 auto; max-width: 18em; }
@media (max-width: 900px) { .ag-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ag-steps { grid-template-columns: 1fr; } }

/* Geteilter Bereich */
.ag-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--ag-petrol); color: #fff; }
.ag-split-im { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.ag-split-im img, .ag-split-im .ag-ph { width: 100%; height: 100%; object-fit: cover; }
.ag-split-tx { padding: clamp(40px, 6vw, 90px); align-self: center; }
.ag-split-tx .ag-kick { color: var(--ag-lime); }
.ag-split-tx h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; max-width: 12em; }
.ag-split-tx p { color: rgba(255,255,255,.78); max-width: 32em; }
.ag-ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.ag-ticks li { display: flex; gap: 12px; align-items: center; }
.ag-ticks li::before { content: "✓"; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ag-lime); color: var(--ink); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .ag-split { grid-template-columns: 1fr; } .ag-split-im { min-height: 260px; } }

/* Top-Anbieter */
.ag-fl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 34px 22px 22px; background: #fff; transition: box-shadow .25s; }
.ag-fl:hover { box-shadow: var(--shadow); }
.ag-fl h3 { font-size: 1.12rem; margin: 14px 0 0; }
.ag-role { color: var(--muted); font-size: .88rem; }
.ag-rate { margin: 8px 0 0; font-size: .88rem; font-weight: 600; }
.ag-rate span { color: var(--muted); font-weight: 400; }
.ag-starc { color: var(--ag-yellow-d); }
.ag-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.ag-loc .ic { width: 15px; height: 15px; }
.ag-from { margin: 10px 0 18px; font-size: .92rem; color: var(--muted); }
.ag-from b { color: var(--ink); font-size: 1.1rem; }
.ag-fl .ag-btn { margin-top: auto; }

/* Pakete mit Filter */
.ag-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 8px 18px; font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; transition: .2s; }
.ag-tabs button.on, .ag-tabs button:hover { background: var(--ag-petrol); border-color: var(--ag-petrol); color: #fff; }
.ag-offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ag-offer { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s; }
.ag-offer[hidden] { display: none; }
.ag-offer:hover { box-shadow: var(--shadow); }
.ag-offer-im { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ag-offer-im img, .ag-offer-im .ag-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag-offer:hover .ag-offer-im img { transform: scale(1.05); }
.ag-offer-bd { padding: 16px 18px 0; flex: 1; }
.ag-offer h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin: 0 0 6px; }
.ag-offer h3 a { color: var(--ink); text-decoration: none; }
.ag-offer h3 a:hover { text-decoration: underline; }
.ag-offer-by { font-size: .84rem; color: var(--muted); margin: 0 0 8px; }
.ag-offer-dl { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin: 0; }
.ag-offer-dl span { display: inline-flex; align-items: center; gap: 5px; }
.ag-offer-dl .ic { width: 14px; height: 14px; }
.ag-offer-ft { display: flex; align-items: baseline; gap: 6px; border-top: 1px solid var(--line); margin-top: 14px; padding: 12px 18px; font-size: .84rem; color: var(--muted); }
.ag-offer-ft b { font-size: 1.05rem; color: var(--ink); }
@media (max-width: 1100px) { .ag-offers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ag-offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ag-offers { grid-template-columns: 1fr; } }

/* Häufige Fragen */
.ag-faqwrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ag-faqwrap h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 22px; }
.ag-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.ag-faq summary { cursor: pointer; font: 700 1.05rem var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ag-grey); display: flex; align-items: center; justify-content: center; font: 500 1.1rem var(--sans); }
.ag-faq details[open] summary::after { content: "–"; background: var(--ag-yellow); }
.ag-faq p { color: var(--muted); margin: 10px 0 0; max-width: 40em; }
.ag-faq-vis { position: relative; height: 460px; }
.ag-faq-circle { position: absolute; inset: 8% 4% 4% 14%; border-radius: 50%; background: #ffe2d6; }
.ag-faq-main { position: absolute; left: 22%; top: 12%; width: 66%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; }
.ag-faq-card { position: absolute; left: 0; bottom: 14%; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 220px; }
.ag-faq-card b { display: block; font: 700 2rem/1 var(--serif); }
.ag-faq-card span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .ag-faqwrap { grid-template-columns: 1fr; } .ag-faq-vis { height: 340px; max-width: 420px; } }

/* Bewertungen (Neon) */
.ag-lime { background: var(--ag-lime); padding-block: clamp(56px, 7vw, 100px); }
.ag-lime-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 44px; }
.ag-lime-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; }
.ag-lime-head p { color: var(--ink-2); }
.ag-lime-vis { position: relative; height: 300px; }
.ag-lv1, .ag-lv2 { position: absolute; object-fit: cover; border-radius: 16px; height: auto; box-shadow: 0 16px 40px rgba(7,36,43,.2); }
.ag-lv1 { left: 0; top: 0; width: 58%; aspect-ratio: 4 / 3; }
.ag-lv2 { right: 6%; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 6px solid var(--ag-lime); }
.ag-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ag-review { margin: 0; background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ag-stars { margin: 0; color: var(--ag-yellow-d); letter-spacing: 2px; }
.ag-stars span { color: #d3d9da; }
.ag-review blockquote { margin: 0; font: 500 1.02rem/1.55 var(--serif); color: var(--ink); flex: 1; }
.ag-review figcaption b { display: block; font-size: .95rem; }
.ag-review figcaption span { font-size: .82rem; color: var(--muted); }
.ag-review figcaption a { color: var(--ink); }
@media (max-width: 1000px) { .ag-reviews { grid-template-columns: 1fr 1fr; } .ag-lime-head { grid-template-columns: 1fr; } .ag-lime-vis { height: 240px; max-width: 460px; } }
@media (max-width: 560px) { .ag-reviews { grid-template-columns: 1fr; } }

/* Ratgeber */
.ag-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ag-post { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.ag-post-im { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 8px; }
.ag-post-im img, .ag-post-im .ag-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag-post:hover .ag-post-im img { transform: scale(1.05); }
.ag-post-cat { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ag-post b { font: 700 1.12rem/1.3 var(--serif); letter-spacing: -.015em; }
.ag-post:hover b { text-decoration: underline; text-decoration-color: var(--ag-yellow); text-decoration-thickness: 3px; }
.ag-post-ex { font-size: .9rem; color: var(--muted); }
.ag-post-date { font-size: .8rem; color: var(--muted); }



/* Regionen */
.ag-regions-sec { padding-block: 10px clamp(56px, 7vw, 90px); text-align: center; }
.ag-regions-sec h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 22px; }
.ag-regions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ag-regions a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; transition: .2s; }
.ag-regions a span { font-size: .78rem; background: var(--ag-grey); border-radius: 20px; padding: 0 8px; color: var(--muted); }
.ag-regions a:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); }

/* ---------- 6. Fussbereich ---------- */
.ag-foot { padding-top: 20px; font-size: .94rem; }
.ag-foot-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--ag-petrol); color: #fff; border-radius: 22px; padding: clamp(30px, 5vw, 64px); }
.ag-foot-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; max-width: 13em; }
.ag-foot-cta p { color: rgba(255,255,255,.78); max-width: 32em; margin-bottom: 26px; }
.ag-foot-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ag-foot-facts li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ag-foot-facts b { font: 700 1.4rem var(--serif); color: var(--ag-lime); }
.ag-foot-facts span { color: rgba(255,255,255,.75); font-size: .9rem; text-align: right; }
.ag-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.ag-foot-grid .ag-logo { color: var(--ink); margin-bottom: 14px; }
.ag-foot-grid .ag-logo b { color: var(--ink); background: linear-gradient(transparent 60%, var(--ag-lime) 60%); }
.ag-foot-grid p { color: var(--muted); max-width: 24em; }
.ag-foot-h { font: 700 1rem var(--serif); margin-bottom: 14px; }
.ag-foot a { color: var(--muted); text-decoration: none; }
.ag-foot a:hover { color: var(--ink); text-decoration: underline; }
.ag-foot .plain li { margin-bottom: 8px; }
.ag-foot-cta .ag-btn-yellow { color: var(--ink); }
.ag-foot-cta .ag-btn-ghost { color: #fff; }
.ag-foot-cta .ag-btn:hover { text-decoration: none; }
.ag-foot-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.ag-foot-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ag-foot .linklike { color: var(--muted); font-size: .85rem; text-decoration: none; }
@media (max-width: 900px) { .ag-foot-cta { grid-template-columns: 1fr; } .ag-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ag-foot-grid { grid-template-columns: 1fr; } }
.ag-totop { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 46px; height: 46px; border-radius: 12px; background: var(--ag-yellow); color: var(--ink); border: 0; cursor: pointer; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.ag-totop.show { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  .ag *, .ag *::before, .ag *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   7. Effekte & Bildwirkung (Version 1.1)
   ===================================================================== */
/* Satte, warme Bildwirkung */
.ag-catcard img, .ag-offer-im img, .ag-darkbox-im img, .ag-split-im img, .ag-post-im img,
.ag-hero-main, .ag-hero-s1, .ag-hero-s2, .ag-faq-main, .ag-lv1, .ag-lv2 { filter: saturate(1.2) contrast(1.06) brightness(1.02); }
.ag-offer-im::after, .ag-post-im::after, .ag-darkbox-im::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,193,25,.06) 0%, rgba(7,36,43,0) 45%, rgba(7,36,43,.32) 100%); transition: opacity .5s; }
.ag-post-im, .ag-darkbox-im { position: relative; display: block; overflow: hidden; border-radius: 16px; }
.ag-darkbox-im img { border-radius: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ag-darkbox:hover .ag-darkbox-im img { transform: scale(1.05); }

/* Kategorie-Karten wie im Original: Text oben links, Verlauf von oben */
.ag-catcard { box-shadow: 0 10px 30px rgba(7,36,43,.12); }
.ag-catcard::after { background: linear-gradient(180deg, rgba(7,36,43,.82) 0%, rgba(7,36,43,.35) 32%, rgba(7,36,43,0) 58%, rgba(7,36,43,.25) 100%); transition: opacity .5s; }
.ag-catcard img { transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s; }
.ag-catcard:hover img { transform: scale(1.09); filter: saturate(1.35) contrast(1.08); }
.ag-catcard-tx { position: absolute; z-index: 2; top: 18px; left: 18px; right: 18px; display: flex; flex-direction: column; gap: 6px; }
.ag-catcard-tx small { font-size: .82rem; font-weight: 500; opacity: .92; }
.ag-catcard-tx b { font: 700 1.28rem/1.18 var(--serif); letter-spacing: -.02em; }
.ag-catcard-go { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--ag-yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; opacity: 0; transform: translateY(14px) scale(.8); transition: opacity .35s, transform .35s; }
.ag-catcard:hover .ag-catcard-go, .ag-catcard:focus-visible .ag-catcard-go { opacity: 1; transform: none; }

/* Karten heben sich an */
.ag-offer, .ag-fl, .ag-review, .ag-post { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.ag-offer:hover, .ag-fl:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(7,36,43,.14); }
.ag-review:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 24px 50px rgba(7,36,43,.16); }
.ag-offer-im img, .ag-post-im img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.ag-offer:hover .ag-offer-im img, .ag-post:hover .ag-post-im img { transform: scale(1.08); filter: saturate(1.35) contrast(1.08); }
.ag-step-ic { transition: background .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.ag-steps li:hover .ag-step-ic { transform: translateY(-6px) rotate(-6deg); }

/* Glanz über Knöpfe */
.ag-btn { position: relative; overflow: hidden; isolation: isolate; }
.ag-btn::after { content: ""; position: absolute; z-index: -1; top: 0; left: -130%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .75s; }
.ag-btn:hover::after { left: 150%; }

/* Kopfbereich: schwebende Bilder und langsamer Zoom */
@keyframes ag-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ag-spin { to { transform: rotate(360deg); } }
.ag-slide.on .ag-hero-s1 { animation: ag-bob 6s ease-in-out infinite; }
.ag-slide.on .ag-hero-s2 { animation: ag-bob 7s ease-in-out 1.2s infinite; }
.ag-slide.on .ag-float { animation: ag-bob 8s ease-in-out .6s infinite; }
.ag-hero-main { transform: scale(.94); transition: transform 6s ease-out; }
.ag-slide.on .ag-hero-main { transform: scale(1); }
.ag-blob { background: conic-gradient(from 0deg, var(--ag-yellow), #ffd75e, var(--ag-yellow), #ffb300, var(--ag-yellow)); }
.ag-slide.on .ag-blob { animation: ag-spin 30s linear infinite; }
.ag-faq-card { animation: ag-bob 7s ease-in-out infinite; }

/* Einblenden beim Scrollen (nur mit JavaScript, sonst sofort sichtbar) */
.ag-js [data-rv] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms); }
.ag-js [data-rv].rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ag-js [data-rv] { opacity: 1; transform: none; }
  .ag-hero-main { transform: none; }
}
/* Ebenen der Kategorie-Karten: Bild – Verlauf – Text; Schrift bleibt beim Hover weiss */
.ag-catcard img, .ag-catcard .ag-ph { z-index: 0; }
.ag-catcard::after { z-index: 1; }
.ag-catcard-tx, .ag-catcard-go { z-index: 2; }
.ag-catcard:hover, .ag-catcard:focus-visible { color: #fff; }

/* =====================================================================
   8. Farbvariante «Weiss & Schwarz mit Gelb» (Version 1.2)
   Schwarz für Schrift, Knöpfe und dunkle Boxen – Gelb als Textmarker.
   ===================================================================== */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #5c5c5c;
  --line: #e7e7e7;
  --paper-2: #f6f6f4;
  --accent: #ffe45c;
  --accent-ink: #111111;
  --ag-petrol: #111111;     /* dunkle Flächen */
  --ag-petrol-2: #262626;
  --ag-yellow: #ffe45c;     /* Gelb */
  --ag-yellow-d: #e2b800;   /* Sterne */
  --ag-lime: #ffe45c;       /* Hervorhebungen */
  --ag-grey: #f6f6f4;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 16px 40px rgba(0,0,0,.08);
}
/* Kopfbereich hell */
.ag-topbar { background: #111; }
.ag-head { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.ag-logo { color: var(--ink); }
.ag-logo b { color: var(--ink); background: linear-gradient(transparent 60%, var(--ag-yellow) 60%, var(--ag-yellow) 92%, transparent 92%); }
.ag-logo-mark { background: #111; }
.ag-logo-mark::after { background: var(--ag-yellow); box-shadow: inset 0 0 0 4px #111; }
.ag-nav > a, .ag-dd > a { color: var(--ink); }
.ag-nav > a:hover, .ag-dd:hover > a { color: var(--ink); background: var(--ag-grey); }
.ag-nav a[aria-current="page"] { text-decoration-color: var(--ag-yellow); text-decoration-thickness: 3px; }
.ag-burger { border-color: var(--line); }
.ag-burger span[aria-hidden] { background: #111; }

/* Knöpfe: auf hellem Grund schwarz, auf dunklem Grund gelb */
.ag-btn-yellow, .ag-nav .ag-btn { background: #111; color: #fff; }
.ag-btn-yellow:hover, .ag-nav .ag-btn:hover { background: var(--ag-yellow); color: #111; }
.ag-darkbox .ag-btn-yellow, .ag-split .ag-btn-yellow, .ag-foot-cta .ag-btn-yellow, .ag .page-head .ag-btn-yellow { background: var(--ag-yellow); color: #111; }
.ag-darkbox .ag-btn-yellow:hover, .ag-split .ag-btn-yellow:hover, .ag-foot-cta .ag-btn-yellow:hover { background: #fff; color: #111; }
.ag-btn-dark { background: #111; }
.ag-btn-soft { background: var(--ag-grey); }
.ag .btn:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); color: #111; }
.ag .searchbar .btn { background: #111; border-color: #111; color: #fff; }
.ag .searchbar .btn:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); color: #111; }

/* Startseite oben: hell, Textmarker in Gelb */
.ag-hero { background: #fff; color: var(--ink); }
.ag-hero::before { border-color: rgba(0,0,0,.05); box-shadow: 0 0 0 90px rgba(0,0,0,.015), 0 0 0 180px rgba(0,0,0,.01); }
.ag-h1 { color: var(--ink); }
.ag-hl { color: var(--ink); text-decoration: none; background: linear-gradient(transparent 58%, var(--ag-yellow) 58%, var(--ag-yellow) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ag-hero .ag-kick { color: var(--muted); }
.ag-lead { color: var(--muted); }
.ag-stats b { color: var(--ink); }
.ag-stats span { color: var(--muted); }
.ag-hero .ag-btn-ghost { color: var(--ink); border-color: rgba(0,0,0,.18); }
.ag-hero .ag-btn-ghost:hover { border-color: #111; background: transparent; }
.ag-hnav > button { color: var(--ink); border-color: rgba(0,0,0,.18); }
.ag-hnav > button:hover { background: var(--ag-yellow); border-color: var(--ag-yellow); color: #111; }
.ag-hdots button { background: rgba(0,0,0,.16); }
.ag-hdots button.on { background: #111; }
.ag-blob { background: conic-gradient(from 0deg, #ffe45c, #fff1a8, #ffe45c, #ffd60a, #ffe45c); }
.ag-hero-main { border-color: #fff; }
.ag-searchwrap { margin-top: 0; }
.ag-search { border-top: 1px solid var(--line); border-radius: 16px; }
.ag-search:focus-within { box-shadow: 0 0 0 3px var(--ag-yellow), var(--shadow); }

/* Kategorie-Karten, Boxen und Bereiche */
.ag-catcard::after { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 32%, rgba(0,0,0,0) 58%, rgba(0,0,0,.2) 100%); }
.ag-catcard-go { background: var(--ag-yellow); color: #111; }
.ag-offer-im::after, .ag-post-im::after, .ag-darkbox-im::after { background: linear-gradient(180deg, rgba(255,228,92,.05) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.28) 100%); }
.ag-split-tx .ag-kick, .ag-kick-light { color: var(--ag-yellow); }
.ag-ticks li::before { background: var(--ag-yellow); color: #111; }
.ag-faq-circle { background: #fff4b8; }
.ag-lime { background: var(--ag-yellow); }
.ag-lv2 { border-color: var(--ag-yellow); }
.ag-step-ic { background: var(--ag-grey); }
.ag-tabs button.on, .ag-tabs button:hover { background: #111; border-color: #111; color: #fff; }
.ag-dots button.on { background: #111; }
.ag-badge-top { background: var(--ag-yellow); color: #111; }
.ag-foot-facts b { color: var(--ag-yellow); }
.ag-av-txt { background: #111; color: var(--ag-yellow); }
.ag-totop { background: #111; color: #fff; }
.ag-totop:hover { background: var(--ag-yellow); color: #111; }
/* Unterseiten */
.ag .page-head { background: #111; }
.ag .page-head h1 em { color: #111; background: linear-gradient(transparent 58%, var(--ag-yellow) 58%, var(--ag-yellow) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ag .badge { background: var(--ag-yellow); color: #111; }
.ag .plan-prem { border-color: #111; }
.ag .plan-flag { background: var(--ag-yellow); color: #111; }

/* =====================================================================
   9. Megamenü unter «Kreative finden»
   ===================================================================== */
.ag-mega-h { font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.ag-mega-grid a, .ag-mega-reg a { text-decoration: none; color: var(--ink); }
@media (min-width: 1081px) {
  .ag-nav { align-self: stretch; }
  .ag-dd-mega { position: static; align-self: stretch; display: flex; align-items: center; }
  .ag-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s; z-index: 50; }
  .ag-dd-mega:hover .ag-mega, .ag-dd-mega:focus-within .ag-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
  .ag-mega-in { display: grid; grid-template-columns: 3fr 1fr 1.1fr; gap: 40px; padding-block: 30px 34px; }
  .ag-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
  .ag-mega-grid a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; transition: background .2s; }
  .ag-mega-grid a:hover { background: var(--ag-grey); }
  .ag-mega-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--ag-grey); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .3s; }
  .ag-mega-grid a:hover .ag-mega-ic { background: var(--ag-yellow); transform: rotate(-6deg); }
  .ag-mega-ic svg { width: 20px; height: 20px; fill: none; stroke: #111; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ag-mega-grid b { display: block; font: 600 .92rem/1.3 var(--sans); }
  .ag-mega-grid small { display: block; font-size: .78rem; color: var(--muted); }
  .ag-mega-reg ul { display: grid; gap: 2px; margin-bottom: 14px; }
  .ag-mega-reg li a { display: block; padding: 5px 0; font-size: .93rem; }
  .ag-mega-reg li a:hover { text-decoration: underline; text-decoration-color: var(--ag-yellow); text-decoration-thickness: 3px; }
  .ag-mega-all { font-weight: 600; font-size: .92rem; }
  .ag-mega-promo { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; background: #111; color: #fff; border-radius: 16px; padding: 24px; text-decoration: none; min-height: 220px; position: relative; overflow: hidden; transition: transform .3s; }
  .ag-mega-promo::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: var(--ag-yellow); opacity: .95; transition: transform .5s; }
  .ag-mega-promo:hover { transform: translateY(-3px); }
  .ag-mega-promo:hover::before { transform: scale(1.12); }
  .ag-mega-promo small { position: relative; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .ag-mega-promo b { position: relative; font: 700 1.2rem/1.25 var(--serif); }
  .ag-mega-promo span { position: relative; font-size: .9rem; color: var(--ag-yellow); font-weight: 600; }
}
@media (max-width: 1080px) {
  .ag-nav { background: #fff; border-top: 1px solid var(--line); }
  .ag-sub a { color: var(--ink); }
  .ag-sub a:hover { background: var(--ag-grey); }
  .ag-mega { display: none; padding: 0 0 8px 14px; }
  .ag-dd-mega:focus-within .ag-mega { display: block; }
  .ag-mega-in { width: auto; padding: 0; }
  .ag-mega-grid a, .ag-mega-reg a { display: block; padding: 7px 12px; }
  .ag-mega-ic, .ag-mega-grid small, .ag-mega-promo, .ag-mega-reg { display: none; }
  .ag-mega-h { display: none; }
  .ag-mega-grid b { font-weight: 400; }
}

/* =====================================================================
   10. Ganze Website 10 % kleiner und Seitenbreite 1600 px
   Ohne «zoom» (das machte die Schrift unter Windows unscharf): stattdessen
   wird die Grundschrift verkleinert – alle rem-Grössen ziehen mit.
   ===================================================================== */
.ag-wrap, .ag .wrap { width: min(1600px, 100% - 32px); }
@media (min-width: 900px) {
  html:has(body.ag) { font-size: 99%; }    /* +10 % gegenüber Version 1.4 (90 % × 1.1) */
  body.ag { font-size: 16.5px; }
  .ag-btn { min-height: 46px; padding: 11px 24px; }
  .ag-nav .ag-btn { min-height: 42px; }
}
/* Schärfere, dunklere Schrift */
body.ag { text-rendering: optimizeLegibility; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
:root { --muted: #474747; --ink: #0d0d0d; }
.ag-mega-grid small, .ag-catcard-tx small { color: inherit; }
.ag-mega-grid small { color: #555; }

/* Logo: «creative» in Gelb (etwas kräftiger als das Marker-Gelb, damit es auf Weiss lesbar bleibt) */
.ag-logo b, .ag-foot-grid .ag-logo b { color: #f5c200; background: none; }
/* Karussell-Pfeile bleiben innerhalb des Bildschirms */
.ag-cprev { left: -14px; }
.ag-cnext { right: -14px; }
/* Beliebte Pakete: 5 in einer Reihe (auf kleineren Bildschirmen weniger) */
.ag-offers { grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1280px) { .ag-offers { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .ag-offers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .ag-offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ag-offers { grid-template-columns: 1fr; } }

/* =====================================================================
   11. Megamenü: kleine Anbieter-Karten beim Darüberfahren (Version 1.5)
   ===================================================================== */
.ag-mega-cards[hidden] { display: none !important; }
@media (min-width: 1081px) {
  .ag-mega-cards { grid-column: 2 / 4; min-height: 300px; position: relative; }
  .ag-mega-in.is-cards .ag-mega-reg, .ag-mega-in.is-cards .ag-mega-promo { display: none; }
  .ag-mega-grid a.is-active { background: var(--ag-grey); }
  .ag-mega-grid a.is-active .ag-mega-ic { background: var(--ag-yellow); }
  .ag-mc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
  .ag-mc-head .ag-mega-h { margin: 0; }
  .ag-mc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; animation: ag-mc-in .3s ease; }
  @keyframes ag-mc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .ag-mc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
  .ag-mc:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
  .ag-mc-im { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ag-grey); overflow: hidden; }
  .ag-mc-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); filter: saturate(1.15) contrast(1.05); }
  .ag-mc:hover .ag-mc-im img { transform: scale(1.06); }
  .ag-mc-ini { display: flex; align-items: center; justify-content: center; height: 100%; font: 700 2.2rem var(--serif); color: #111; }
  .ag-mc-badge { position: absolute; top: 8px; right: 8px; background: var(--ag-yellow); color: #111; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
  .ag-mc-bd { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
  .ag-mc-bd b { font: 700 .98rem/1.25 var(--serif); letter-spacing: -.01em; }
  .ag-mc-tag { font-size: .8rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ag-mc-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: .78rem; color: var(--muted); margin-top: 2px; }
  .ag-mc-price { font-size: .82rem; font-weight: 600; margin-top: 2px; }
  .ag-mc-empty { color: var(--muted); font-size: .92rem; }
  /* Ladezustand */
  .ag-mega-cards.is-loading::before { content: ""; position: absolute; inset: 34px 0 0; border-radius: 12px; background: linear-gradient(90deg, var(--ag-grey) 0%, #fff 50%, var(--ag-grey) 100%); background-size: 200% 100%; animation: ag-shimmer 1.1s linear infinite; }
  @keyframes ag-shimmer { to { background-position: -200% 0; } }
}
@media (max-width: 1080px) { .ag-mega-cards { display: none !important; } }

/* =====================================================================
   12. Ratgeber-Übersicht (Version 1.6)
   ===================================================================== */
.ag-blog { padding-top: clamp(40px, 5vw, 70px); }
.ag-blog-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: var(--ink); margin-bottom: clamp(48px, 6vw, 80px); }
.ag-blog-top-im { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ag-grey); }
.ag-blog-top-im img, .ag-blog-top-im .ag-ph { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ag-blog-top:hover .ag-blog-top-im img { transform: scale(1.05); }
.ag-blog-new { position: absolute; top: 16px; left: 16px; background: var(--ag-yellow); color: #111; font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 30px; }
.ag-blog-top-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ag-blog-top-tx .ag-kick { margin: 0; color: var(--muted); }
.ag-blog-top-tx b { font: 700 clamp(1.7rem, 3vw, 2.6rem)/1.12 var(--serif); letter-spacing: -.03em; }
.ag-blog-top:hover .ag-blog-top-tx b { text-decoration: underline; text-decoration-color: var(--ag-yellow); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.ag-blog-ex { color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.ag-blog-top-tx .ag-btn { margin-top: 6px; }
.ag-blog-sh { margin-bottom: 28px; }
.ag-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
.ag-blog-card[hidden] { display: none; }
.ag-blog-card b { font-size: 1.2rem; }
@media (max-width: 900px) { .ag-blog-top { grid-template-columns: 1fr; } }
