/* appity personal – Marketing-Website (lokaler Entwurf)
   Markenfarben aus dem bestehenden Odoo-Theme (sky/sea/sun/leaf/neutral). */
:root {
  --navy: #05323c;
  --navy-80: #325a5f;
  --navy-50: #829ba0;
  --navy-60: #5a7277; /* kleine Texte: Kontrast mind. 4,5:1 auf Weiß und --soft */
  --line: #d3dddd;
  --line-strong: #c3cdcd;
  --soft: #f0f5f5;
  --soft-2: #f7fafa;
  --sea: #008278;
  --sea-dark: #00665e;
  --sea-50: #73beb9;
  --sea-20: #d7ebeb;
  --sea-10: #ebf5f4;
  --sky: #32b4dc;
  --sky-50: #96dcf0;
  --sky-20: #dcf5fa;
  --sun: #ffa53c;
  --sun-dark: #f08c14;
  --sun-50: #ffd2a0;
  --sun-20: #ffebd2;
  --leaf: #5ab45a;
  --leaf-20: #dcf0dc;
  --danger: #a52e27;
  --text: var(--navy);
  --muted: var(--navy-80);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(5 50 60 / 6%), 0 2px 8px rgb(5 50 60 / 6%);
  --shadow-md: 0 10px 30px rgb(5 50 60 / 10%);
  --shadow-lg: 0 24px 64px rgb(5 50 60 / 16%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--sea-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong, b { font-weight: 700; }
h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.15; letter-spacing: -0.022em; font-weight: 800; color: var(--navy); text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 480px) { h1, h2, h3, h4 { text-wrap: wrap; hyphens: auto; hyphenate-limit-chars: 14 5 5; } }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.45rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; font-weight: 750; }
h4 { font-size: 1.02rem; letter-spacing: 0; font-weight: 700; }
p { text-wrap: pretty; }
small, .small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-20); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }
.wrap-mid { max-width: 960px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--soft-2); border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.section-sea { background: linear-gradient(160deg, var(--sea-10) 0%, #fff 70%); }
.section-navy { background: var(--navy); color: #e8f1f1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--sky-50); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p:last-child { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-cta { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.btn-cta:hover { background: var(--sun-dark); border-color: var(--sun-dark); color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 22px rgb(240 140 20 / 28%); }
.btn-primary { background: var(--sea); color: #fff; border-color: var(--sea); }
.btn-primary:hover { background: var(--sea-dark); border-color: var(--sea-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--sea-dark); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--sea-dark); }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--soft); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 118px; height: auto; }
.brand-sub { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-60); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--navy); font: inherit; font-size: .98rem; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a[aria-current], .nav-drop.is-current > button { background: var(--soft); color: var(--navy); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 8px); left: -12px; width: 360px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
.nav-drop.open .nav-panel { display: block; }
/* Bridges the 8px gap above the panel, so the mouse does not leave the menu on its way down. */
@media (hover: hover) and (min-width: 941px) { .nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } }
.nav-panel a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; color: var(--navy); text-decoration: none; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: var(--soft); }
.nav-panel .ico { width: 40px; height: 40px; margin: 0; }
.nav-panel strong { display: block; font-size: .98rem; line-height: 1.45; }
.nav-panel strong + span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.nav-panel .nav-all { display: block; margin-top: 4px; border-top: 1px solid var(--soft); border-radius: 0 0 10px 10px; font-weight: 700; color: var(--sea-dark); font-size: .92rem; padding: 12px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 940px) {
  .site-header.menu-open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .main-nav, .header-cta { display: none; width: 100%; }
  .site-header.menu-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0; border-top: 1px solid var(--soft); }
  .site-header.menu-open .header-cta { display: flex; flex-direction: column; align-items: stretch; padding: 8px 0 18px; }
  .site-header.menu-open .header-cta .header-phone { display: inline-flex; justify-content: center; padding: 10px; }
  .main-nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .nav-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; }
  .nav-panel a { padding: 10px; }
  .brand img { width: 104px; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--navy-50); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Hero */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; background: radial-gradient(1100px 520px at 85% 10%, var(--sky-20) 0%, rgb(220 245 250 / 0%) 60%), radial-gradient(900px 480px at 0% 100%, var(--sea-10) 0%, rgb(235 245 244 / 0%) 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--sea); }
.hero .lead { margin-bottom: 28px; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.hero-points li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--sea); flex-shrink: 0; }
.trial-entry > summary { display: inline-flex; list-style: none; cursor: pointer; }
.trial-entry > summary::-webkit-details-marker { display: none; }
.trial-entry > summary svg { width: 18px; height: 18px; }
.trial-entry[open] > summary { margin-bottom: 12px; }
.trial-entry[open] > summary svg { transform: rotate(180deg); }
.page-hero { padding: 40px 0 72px; }
.page-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-hero.text-only .wrap { max-width: 880px; }
.hero-produkt { grid-template-areas: "intro media" "points media"; row-gap: 20px; }
.hero-produkt > :first-child { grid-area: intro; align-self: end; }
.hero-produkt .hero-media { grid-area: media; }
.hero-produkt > .hero-points { grid-area: points; align-self: start; margin-top: 0; }
.hero-rechner .lead { margin: 0 auto 14px; }
.hero-rechner .wrap > p:last-child { margin-bottom: 0; }
@media (max-width: 980px) { .hero-grid, .page-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding: 36px 0 64px; } }
@media (max-width: 980px) {
  .hero .hero-produkt { grid-template-areas: "intro" "media" "points"; row-gap: 20px; }
  .hero-produkt .hero-media:has(.shot-phone) { margin-bottom: 24px; }
  .hero-rechner { padding: 26px 0 32px; }
  .hero-rechner + .section { padding-top: 32px; }
}
@media (max-width: 480px) { h1 { font-size: clamp(1.6rem, 7.4vw, 2.2rem); } .page-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); } }

/* Demo form – Verhalten liefert assets/demo-request.js.
   Felder mit schwebender Beschriftung: leer steht sie mittig im Feld, beim Tippen rutscht sie nach oben. */
.demo-form { margin: 0; max-width: 520px; }
.demo-form .df-grid { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: 10px; }
.demo-form .df-wide, .demo-form .df-submit { grid-column: 1 / -1; }
.demo-form .df-field { position: relative; }
.demo-form .df-field input { display: block; width: 100%; height: 56px; margin: 0; padding: 23px 16px 7px; font: inherit; font-size: 1rem; line-height: 1.25; color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 1px 2px rgb(5 50 60 / 5%); outline: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.demo-form .df-field input:hover { border-color: var(--navy-50); }
.demo-form .df-field input:focus { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea), 0 0 0 4px rgb(0 130 120 / 18%); }
.demo-form .df-field label { position: absolute; left: 17px; right: 12px; top: 17px; font-size: 1rem; line-height: 1.35; color: #5c7b80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transform-origin: 0 0; transition: transform .15s ease, color .15s ease; }
.demo-form .df-field input:focus + label, .demo-form .df-field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: #5c7b80; font-weight: 500; }
.demo-form .df-field input:focus + label { color: var(--sea-dark); }
.demo-form .df-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--navy); }
.demo-form .df-field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px rgb(165 46 39 / 14%); }
.demo-form .df-field input[aria-invalid="true"] + label { color: var(--danger); }
/* Zustimmung zu den Nutzungsbedingungen im Registrierungsformular */
.demo-form .df-plan { margin: 0 2px; font-size: .92rem; font-weight: 600; color: var(--navy); }
.demo-form .df-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0 10px; align-items: start; margin: 4px 2px 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.df-check > :is([data-demo-status], .df-field-error) { grid-column: 2; }
.demo-form .df-check input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sea); cursor: pointer; }
.demo-form .df-check label { cursor: pointer; }
.demo-form .df-check a { color: var(--sea-dark); text-decoration: underline; text-underline-offset: 3px; }
.demo-form .df-check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.demo-form .df-check input[aria-invalid="true"] + label { color: var(--danger); }
.demo-form .df-submit { width: 100%; min-height: 56px; margin-top: 4px; font-size: 1.05rem; box-shadow: 0 8px 20px -10px rgb(240 140 20 / 60%); }
.demo-form .df-submit svg { width: 20px; height: 20px; transition: transform .15s ease; }
.demo-form .df-submit:hover svg { transform: translateX(3px); }
.demo-form[aria-busy="true"] .df-submit { cursor: progress; opacity: .85; }
.demo-form .df-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.demo-form .df-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--sea); }
.demo-form .df-note a { color: inherit; }
/* Rückmeldungen: Fehler, Warnung und Senden als leise Zeile mit Symbol, Erfolg als eigene Fläche statt der Felder */
.demo-form [data-demo-status] { margin-top: 12px; padding-left: 28px; font-size: .92rem; line-height: 1.5; font-weight: 500; background: no-repeat 0 2px / 18px 18px; }
.demo-form [data-demo-status]:empty { display: none; }
.demo-form :is(.df-field, .df-check) > :is([data-demo-status], .df-field-error) { margin: 5px 0 0; padding: 0; background: none; color: var(--danger); font-size: .88rem; line-height: 1.4; }
.on-navy .demo-form :is(.df-field, .df-check) > :is([data-demo-status], .df-field-error) { color: #ffc4be; }
.demo-form [data-demo-tone="error"] { color: var(--danger); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a52e27' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E"); }
.demo-form [data-demo-tone="warning"] { color: #7a4a00; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4a00' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.demo-form [data-demo-tone="info"] { color: var(--muted); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008278' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.56'/%3E%3C/svg%3E"); }
.demo-form [data-demo-tone="success"] { display: flex; gap: 16px; align-items: flex-start; box-sizing: border-box; margin-top: 0; padding: 22px 22px 20px; border-radius: 14px; background: var(--sea-10); border: 1px solid #cfe5e2; font-weight: 400; color: var(--muted); }
.demo-form .df-success-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #d6ecea; color: var(--sea); }
.demo-form .df-success-icon svg { width: 22px; height: 22px; }
.demo-form .df-success-title { margin: 6px 0 4px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.demo-form .df-success-text { margin: 0; font-size: .94rem; line-height: 1.55; overflow-wrap: anywhere; }
.demo-form .df-success-text strong { color: var(--navy); font-weight: 600; }
.demo-form .df-reset { margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--sea-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.demo-form[data-demo-state="sent"] .df-grid, .demo-form[data-demo-state="sent"] .df-note { display: none; }
@media (max-width: 560px) {
  .demo-form .df-grid { grid-template-columns: minmax(0, 1fr); }
}
.on-navy .demo-form .df-field input { border-color: transparent; }
.on-navy .demo-form .df-field input:focus { box-shadow: inset 0 0 0 1px var(--sea), 0 0 0 3px #7fd6cc; }
.on-navy .demo-form .df-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 3px #ffb4ad; }
.on-navy .demo-form .df-plan, .on-navy .demo-form .ur-field label { color: #fff; }
.on-navy .demo-form .df-check { color: #cfe2e2; }
.on-navy .demo-form .df-check a { color: #fff; }
.on-navy .demo-form .df-check input[aria-invalid="true"] { outline-color: #ffb4ad; }
.on-navy .demo-form .df-check input[aria-invalid="true"] + label { color: #ffc4be; }
.on-navy .demo-form .df-note { color: #cfe2e2; }
.on-navy .demo-form .df-note svg { color: #8fd3cc; }
.on-navy .demo-form [data-demo-tone="error"] { color: #ffc4be; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc4be' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E"); }
.on-navy .demo-form [data-demo-tone="warning"] { color: #ffd59a; }
.on-navy .demo-form [data-demo-tone="info"] { color: #cfe2e2; }
.on-navy .form-msg { color: var(--navy); }

/* Inputs */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 650; font-size: .92rem; color: var(--navy); }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sea); box-shadow: 0 0 0 4px rgb(0 130 120 / 14%); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sea); }

/* Media / screenshots */
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot .shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.shot .shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot .shot-bar span { margin-left: 10px; font-size: .72rem; color: var(--navy-60); font-weight: 600; letter-spacing: .02em; }
.shot img { width: 100%; height: auto; }
.shot-view { display: block; cursor: zoom-in; color: var(--sea-dark); }
.shot-view:focus-visible { outline-offset: -3px; }
.shot-zoom { position: absolute; top: 3px; right: 8px; padding: 1px 6px; background: var(--soft); font-size: .76rem; font-weight: 650; text-decoration: underline; }
.shot-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 84px; }
.shot-phone { position: absolute; right: -10px; bottom: -36px; width: 30%; max-width: 200px; border-radius: 26px; border: 6px solid var(--navy); background: var(--navy); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-phone img { border-radius: 19px; }
.hero-media { position: relative; padding-bottom: 24px; }
.hero-media .shot { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); transform-origin: left center; }
@media (max-width: 980px) { .hero-media .shot { transform: none; } .shot-phone { right: 8px; } }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.shot-placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--soft) 0 12px, #fff 12px 24px); color: var(--navy-60); font-size: .9rem; font-weight: 600; text-align: center; padding: 24px; }

/* Trust strip */
.trust { padding: 28px 0; border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 40px; }
.trust-items { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 44px; list-style: none; margin: 0; padding: 0; }
.trust-items li { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: .95rem; color: var(--navy); }
.trust-items svg { width: 22px; height: 22px; color: var(--sea); }
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.trust-badges img { height: 60px; width: auto; }
@media (max-width: 359px) { .trust-badges img { height: 50px; } }
@media (max-width: 860px) {
  .trust .wrap { grid-template-columns: minmax(0, 1fr); }
  .trust-items { grid-template-columns: minmax(0, 1fr); }
}

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .45em; }
.resource-list h2 { font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sea-50); color: inherit; }
.card-link .link-arrow { margin-top: auto; padding-top: 14px; }
.card-soft { background: var(--soft-2); box-shadow: none; }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sea-10); color: var(--sea); margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; }
.ico.sun { background: var(--sun-20); color: #b4600a; }
.ico.sky { background: var(--sky-20); color: #137fa3; }
.ico.leaf { background: var(--leaf-20); color: #2f7d2f; }
.usecase { padding: 32px; }
.usecase .usecase-q { font-size: .95rem; color: var(--muted); font-style: italic; margin-bottom: 10px; }
.feature-grid .card { padding: 24px; }
.feature-grid .card h3 { font-size: 1.07rem; }
.feature-grid .card p { font-size: .97rem; color: var(--muted); }

/* Feature rows (alternating) */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 14px; }
@media (max-width: 900px) { .feature-row { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feature-row.flip .feature-copy { order: 0; } .feature-row + .feature-row { margin-top: 64px; } }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 32px; }
.checks li + li { margin-top: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--sea-10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23008278' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks.cross li::before { background: #fdf1f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a52e27' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks.compact li + li { margin-top: .35em; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { margin: 0; counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--sea); box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -14px; left: 32px; background: var(--sea); color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .plan-term { color: var(--muted); margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price .amount { font-size: 3rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1; }
.price .unit { color: var(--muted); font-size: .95rem; line-height: 1.3; }
.plan .vat { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.plan .checks { font-size: .97rem; }
.plan .btn { margin-top: auto; }
.plan-fine { margin-top: 12px; font-size: .86rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.calc { max-width: 920px; margin: 40px auto 0; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #e8f1f1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.calc-section { padding-bottom: 0; }
.calc-section .calc { margin-top: 0; }
.calc h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 6px; }
.calc p { color: #cfe2e2; margin: 0; font-size: .95rem; }
.calc-input { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.calc-input label { font-weight: 650; color: #fff; }
.calc-input input { width: 110px; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 0; font: inherit; font-size: 1.15rem; font-weight: 750; color: var(--navy); text-align: center; }
.calc-storage { margin-top: 12px; }
.calc-storage summary { padding: 5px 0; color: #fff; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.calc-storage p { margin-top: 8px; }
.calc-storage a { color: #fff; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-out[hidden], .calc-error:empty { display: none; }
.calc .calc-error { margin: 8px 0 0; color: #ffc4be; }
.calc-input input[aria-invalid="true"] { outline: 2px solid #ffc4be; outline-offset: 2px; }
.calc-out div { background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; padding: 16px; }
.calc-out .lbl { display: block; font-size: .85rem; color: #cfe2e2; }
.calc-out .val { display: block; font-size: 1.7rem; font-weight: 850; color: #fff; letter-spacing: -0.02em; }
.calc-out .sub { display: block; font-size: .82rem; color: #cfe2e2; }
.calc-out .btn { margin-top: 12px; padding: 8px 10px; font-size: .9rem; }
.calc-save { grid-column: 1 / -1; font-size: .92rem; color: var(--sun-50); }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .calc { padding: 20px; } .calc-out { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
.compare-input { max-width: 20rem; }
[data-kostenvergleich] .section-head { margin-bottom: 24px; }
[data-kostenvergleich] .compare-error { color: var(--danger); }
[data-kostenvergleich] [aria-invalid="true"] { border-color: var(--danger); }
[data-kostenvergleich] tr[hidden] { display: none; }
[data-kostenvergleich] .example-table td { white-space: normal; }
[data-kostenvergleich] [data-monat], [data-kostenvergleich] [data-jahr] { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--soft); }
thead th { background: var(--soft-2); font-size: .85rem; letter-spacing: .02em; color: var(--muted); font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 650; color: var(--navy); }
.col-hl { background: rgb(0 130 120 / 5%); }
.example-table td:not(:first-child), .example-table th:not(:first-child) { text-align: right; white-space: nowrap; }
/* Am Handy dürfen Kopf und Zellen umbrechen, sonst liegt die letzte Spalte außerhalb des Bildschirms. Zahl und Einheit hält ein geschütztes Leerzeichen zusammen. */
@media (max-width: 600px) {
  .example-table:not(.stack-mobile) th, .example-table:not(.stack-mobile) td { padding: 12px 8px; white-space: normal; }
  .example-table:not(.stack-mobile) th:first-child, .example-table:not(.stack-mobile) td:first-child { padding-left: 12px; }
  .example-table:not(.stack-mobile) th:last-child, .example-table:not(.stack-mobile) td:last-child { padding-right: 12px; }
}
/* Urlaubsplaner: Bundesländer mit Feiertagen, Arbeitstagen und Vorlagen. Am Handy zwei Zeilen je Land: Name und Downloads, darunter die Zahlen. */
.state-table .num, .state-table .dl { text-align: right; white-space: nowrap; }
.state-table td, .state-table tbody th { vertical-align: middle; }
.state-table td.dl a { display: inline-block; padding: 4px 8px; font-weight: 700; }
.state-table td.dl a + a { margin-left: 6px; }
@media (max-width: 700px) {
  .state-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .state-table, .state-table tbody { display: block; }
  .state-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 8px 6px 10px 14px; border-bottom: 1px solid var(--soft); }
  .state-table tr:last-child { border-bottom: 0; }
  .state-table tbody th, .state-table td { display: block; padding: 0; border: 0; }
  .state-table tbody th { grid-area: 1 / 1; }
  .state-table td.dl { grid-area: 1 / 2; }
  .state-table td.num { font-size: .86rem; color: var(--muted); }
  .state-table td.num::after { content: " " attr(data-unit); }
  .state-table td.num:nth-child(2) { grid-area: 2 / 1; text-align: left; }
  .state-table td.num:nth-child(3) { grid-area: 2 / 2; padding-right: 8px; }
}

/* Notes, callouts */
.callout { border-radius: var(--radius); padding: 22px 24px; background: var(--sky-20); border: 1px solid var(--sky-50); }
.callout.sea { background: var(--sea-10); border-color: var(--sea-20); }
.callout.sun { background: var(--sun-20); border-color: var(--sun-50); }
.callout h3, .callout h2 { font-size: 1.1rem; margin-bottom: .4em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.answer-box { border-left: 4px solid var(--sea); background: var(--sea-10); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 0 0 2rem; }
.answer-box .label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-dark); margin-bottom: 6px; }
.answer-box p:last-child { margin-bottom: 0; }

/* Terms box */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.terms li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: .95rem; color: var(--muted); }
.terms li strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
@media (max-width: 900px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .terms { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 4px; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2305323c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 4px 20px; color: var(--muted); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { padding: 80px 0; background: radial-gradient(700px 300px at 90% 0%, rgb(50 180 220 / 22%) 0%, rgb(50 180 220 / 0%) 70%), var(--navy); color: #e8f1f1; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #cfe2e2; }
.cta-band .alt-contact { margin-top: 18px; font-size: .875rem; color: #cfe2e2; }
.cta-band .alt-contact a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Article */
.article-head { padding: 28px 0 8px; }
.article-head h1 { font-size: clamp(1.95rem, 4vw, 2.85rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.article-body { font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.article-body > :is(p, ul, ol) { max-width: 72ch; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 2.2em; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.8em; }
.article-body table { font-size: .97rem; line-height: 1.55; }
.article-body .table-wrap { margin: 0 0 1.6em; }
.article-body figure { margin: 2em 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft-2); font-size: .93rem; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc li + li { margin-top: .4em; }
.toc a:not(.btn) { color: var(--muted); text-decoration: none; }
.toc a:not(.btn):hover { color: var(--navy); text-decoration: underline; }
.toc .toc-cta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sources { font-size: .93rem; color: var(--muted); }
.sources li { word-break: break-word; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); margin: 2.5em 0 0; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sea-10); display: grid; place-items: center; color: var(--sea); }
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2em; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.post-card .post-top { padding: 22px 24px 0; }
.post-card .tag { display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--sea-dark); background: var(--sea-10); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: .96rem; padding: 0 24px; }
.post-card .post-foot { margin-top: auto; padding: 0 24px 22px; font-size: .88rem; color: var(--navy-60); }
@media (max-width: 980px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-list { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages */
.legal-page { padding: 32px 0 80px; }
.legal-page h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.legal-page h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-page h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal-page p, .legal-page li { color: #133f48; }

/* Footer */
.site-footer { background: #052a32; color: #b9d0d0; padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: #e3eeee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img.logo { width: 120px; height: auto; background: #fff; border-radius: 10px; padding: 8px 10px; box-sizing: content-box; }
.footer-brand p { margin: 16px 0; max-width: 28em; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-badges img { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .55em; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--sea-50); flex-shrink: 0; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .88rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer .link-button { padding: 0; border: 0; background: none; font: inherit; color: #e3eeee; cursor: pointer; }
.site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.site-footer .link-button[hidden] { display: none; }

/* Die Auswahl steht beim Erstbesuch unter der Navigation, beim erneuten Öffnen am Footer. */
.consent { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; width: min(calc(100% - 32px), 1112px); margin: 12px auto; padding: 12px 16px; background: var(--soft-2); color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent-title { margin: 0 0 4px; font-size: 1.02rem; font-weight: 800; }
.consent-text { margin: 0; color: var(--muted); }
.consent-text strong { color: var(--navy); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.consent-actions .btn { min-width: 108px; }
.consent-actions a { padding: 8px 4px; color: var(--navy-80); font-size: .9rem; }
@media (max-width: 900px) { .consent { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .consent { width: calc(100% - 24px); margin: 8px auto; padding: 10px 12px; font-size: .875rem; } .consent-title { font-size: .95rem; } .consent-actions { gap: 4px 8px; } .consent-actions .btn { min-width: 0; flex: 1 0 40%; } .consent-actions a { padding: 3px 4px; font-size: .85rem; } }

/* Utilities */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .86rem; font-weight: 650; }
.pill.sea { background: var(--sea-10); color: var(--sea-dark); }
.pill.sun { background: var(--sun-20); color: #8a4b05; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.kicker-num { font-size: 2.4rem; font-weight: 850; letter-spacing: -0.03em; color: var(--sea); line-height: 1; margin-bottom: 8px; }
.stand { font-size: .86rem; color: var(--muted); }
.local-flag { position: fixed; right: 12px; bottom: 12px; z-index: 1500; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 650; padding: 6px 10px; border-radius: 999px; opacity: .85; pointer-events: none; }

/* Article helpers */
.toc-mobile { display: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.6em; background: var(--soft-2); font-size: .97rem; }
.toc-mobile summary { font-weight: 750; cursor: pointer; color: var(--navy); }
.toc-mobile ol { margin: .6em 0 0; padding-left: 1.2em; }
.toc-mobile li + li { margin-top: .3em; }
@media (max-width: 1000px) { .toc-mobile { display: block; } .toc { display: none; } }
.toc-cta p strong { display: block; margin-bottom: 2px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.5em; }
.steps-list li { counter-increment: s; position: relative; padding: 12px 16px 12px 58px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.steps-list li + li { margin-top: 10px; }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

/* Wide tables become stacked cards on phones */
@media (max-width: 640px) {
  .workdays-table { table-layout: fixed; }
  .workdays-table :is(th, td) { padding: 8px 6px; overflow-wrap: anywhere; hyphens: auto; }
  .workdays-table th:nth-child(1) { width: 27%; }
  .workdays-table th:nth-child(2) { width: 25%; }
  table.stack-mobile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack-mobile, table.stack-mobile tbody, table.stack-mobile tr, table.stack-mobile th, table.stack-mobile td { display: block; width: 100%; }
  table.stack-mobile tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.stack-mobile tr:last-child { border-bottom: 0; }
  table.stack-mobile th[scope="row"] { padding: 0 0 6px; border: 0; font-size: 1rem; color: var(--navy); background: none; }
  table.stack-mobile td { padding: 4px 0; border: 0; background: none; }
  .example-table.stack-mobile td, .example-table.stack-mobile th { white-space: normal; text-align: left; overflow-wrap: anywhere; }
  table.stack-mobile td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
  table.stack-mobile td.col-hl { background: none; }
  table.stack-mobile td.col-hl[data-label]::before { color: var(--sea-dark); }
  .table-wrap:has(table.stack-mobile) { overflow: visible; }
}

/* Urlaubsrechner (/rechner/urlaubsanspruch) */
.ur { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ur-form { display: grid; gap: 22px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ur-form fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ur-form legend { padding: 0; margin-bottom: 4px; font-weight: 750; color: var(--navy); }
.ur-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ur-field label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 600; color: var(--navy); }
.ur-field .hint { display: block; margin-top: 5px; font-size: .84rem; color: var(--muted); }
.ur-field input, .ur-field select { display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; }
.ur-field input:focus, .ur-field select:focus { outline: none; border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea), 0 0 0 4px rgb(0 130 120 / 18%); }
.ur-out { position: sticky; top: calc(var(--header-h) + 16px); min-height: 220px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #e8f1f1; }
.ur-out p { margin: 0; }
.ur-out .ur-label { font-size: .95rem; color: #cfe2e2; }
.ur-out .ur-big { margin: 6px 0 8px; font-size: 3.2rem; font-weight: 850; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.ur-out .ur-big span { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; color: #cfe2e2; }
.ur-out .ur-sub { margin-bottom: 14px; color: #cfe2e2; }
.ur-out .ur-fall { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: rgb(255 255 255 / 9%); font-size: .95rem; font-weight: 600; color: #fff; }
.ur-out .ur-steps { margin: 0 0 12px; padding-left: 20px; font-size: .92rem; color: #cfe2e2; }
.ur-out .ur-steps li, .ur-out .ur-notes li { margin: 4px 0; }
.ur-out .ur-notes { margin: 0; padding-left: 20px; font-size: .9rem; color: var(--sun-50); }
.ur-out .ur-fehler { font-weight: 600; color: var(--sun-50); }
@media (max-width: 900px) { .ur { grid-template-columns: minmax(0, 1fr); } .ur-out { position: static; } }
@media (max-width: 520px) { .ur-row { grid-template-columns: minmax(0, 1fr); } .ur-form, .ur-out { padding: 22px; } }

/* --- UX-Vorschläge vom 17.11.2026 (seit demselben Tag live) --- */

/* 1. Button zum Testzugang am Handy immer in der Kopfzeile. Das Wort "personal" rückt dafür unter das Logo.
   Die Leiste ist ein Raster: Wird es eng, schrumpft das Logo, nichts bricht in eine zweite Zeile. */
.header-demo { display: none; }
@media (max-width: 940px) {
  .site-header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
  .brand { justify-self: start; min-width: 0; max-width: 100%; }
  .brand img { max-width: 100%; }
  .header-demo { display: block; }
  .header-demo .btn { min-height: 44px; padding: 8px 15px; white-space: nowrap; }
  .nav-toggle { margin-left: 0; }
  .main-nav, .header-cta { grid-column: 1 / -1; }
  /* Im offenen Menü steht der Button schon oben in der Leiste. */
  .site-header.menu-open .header-cta .btn { display: none; }
  .site-header.menu-open .header-cta { padding-bottom: 10px; }
}
@media (max-width: 480px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-sub { padding-left: 1px; border-left: 0; font-size: .6rem; }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .header-demo .btn { padding: 8px 12px; }
}
@media (max-width: 359px) {
  .header-demo .btn { min-height: 42px; padding: 8px 10px; font-size: .82rem; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* 2. Vorlagen-Seiten: Brücke zum Produkt direkt nach dem Download. */
.section-bridge { padding: 32px 0 0; }
.bridge { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 22px 26px; border: 1px solid var(--sea-20); border-radius: var(--radius); background: var(--sea-10); }
.bridge h2 { margin-bottom: .3em; font-size: 1.25rem; letter-spacing: -0.012em; }
.bridge p { margin: 0; max-width: 62ch; color: var(--muted); }
.bridge .btn { flex-shrink: 0; }
@media (max-width: 760px) { .bridge { flex-direction: column; align-items: flex-start; padding: 20px; } .bridge .btn { width: 100%; } }
.dl-next { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1400; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; max-width: 620px; margin: 0 auto; padding: 14px 52px 14px 18px; border-radius: var(--radius); background: var(--navy); color: #e8f1f1; box-shadow: var(--shadow-lg); font-size: .95rem; line-height: 1.45; }
.dl-next[hidden] { display: none; }
.dl-next p { flex: 1 1 260px; margin: 0; }
.dl-next strong { color: #fff; }
.dl-next-close { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: #cfe2e2; cursor: pointer; }
.dl-next-close:hover { color: #fff; background: rgb(255 255 255 / 10%); }
.dl-next-close svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .dl-next { left: 8px; right: 8px; bottom: 8px; font-size: .9rem; } .dl-next .btn { width: 100%; } }

/* 3. Urlaubsrechner am Handy: das Ergebnis bleibt beim Ausfüllen unter der Kopfzeile stehen. */
.ur-mini { display: none; }
@media (max-width: 900px) {
  .ur { display: block; }
  .ur-form { margin-bottom: 28px; }
  .ur-mini { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 11px 16px; border-radius: 14px; background: var(--navy); color: #cfe2e2; font-size: .92rem; line-height: 1.35; text-decoration: none; box-shadow: var(--shadow-md); transition: opacity .15s ease; }
  .ur-mini:hover { color: #cfe2e2; }
  .ur-mini span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ur-mini strong { flex-shrink: 0; font-size: 1.3rem; font-weight: 850; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
  .ur-mini strong::after { content: " ↓"; font-size: .95rem; font-weight: 700; color: var(--sea-50); }
  .ur-mini.is-error span { display: none; }
  .ur-mini.is-error strong { flex-shrink: 1; font-size: .92rem; font-weight: 700; letter-spacing: 0; color: var(--sun-50); white-space: normal; }
  .ur-mini.is-error strong::after { content: none; }
  /* Das volle Ergebnis ist im Bild: die kleine Zeile macht Platz, ohne dass die Seite springt. */
  .ur-mini.is-off { opacity: 0; pointer-events: none; }
}
