/* ==========================================================================
   EwenWeb – eigenes Design (Custom-Look ausschließlich hier, CONV-09)
   Bootstrap 5 liefert Grid/Utilities; Design-Tokens als CSS Custom Properties.
   ========================================================================== */

:root {
    --color-navy-900: #0b2438;
    --color-navy-800: #10314f;
    --color-navy-700: #1b4b73;
    --color-navy-600: #2a6a9c;
    --color-accent: #c8a24a;
    --color-accent-600: #b0892f;
    --color-bg: #ffffff;
    --color-surface: #f4f7fa;
    --color-surface-2: #e9eff5;
    --color-border: #dbe3ea;
    --color-text: #1c2530;
    --color-muted: #5b6b7c;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 3px rgba(11, 36, 56, 0.08);
    --shadow-md: 0 10px 30px rgba(11, 36, 56, 0.10);

    --container-gap: 1.25rem;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy-900);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--color-navy-700);
}

a:hover {
    color: var(--color-navy-600);
}

[x-cloak] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--color-navy-900);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--color-navy-900);
}

.site-header .navbar {
    background: transparent;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: var(--color-navy-900);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-mark.small {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.72);
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.4rem 0.85rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: #fff;
}

.nav-login-btn {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.nav-login-btn:hover {
    background: #fff;
    color: var(--color-navy-900);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--color-navy-900);
}

.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(11, 36, 56, 0.94) 0%, rgba(11, 36, 56, 0.72) 45%, rgba(16, 49, 79, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 900px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #fff;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-navy-900);
    font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--color-accent-600);
    border-color: var(--color-accent-600);
    color: var(--color-navy-900);
}

.btn-primary {
    background: var(--color-navy-700);
    border-color: var(--color-navy-700);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-navy-600);
    border-color: var(--color-navy-600);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding: 5rem 0;
}

.section-muted {
    background: var(--color-surface);
}

.section-head {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy-600);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Page hero (Unterseiten)
   -------------------------------------------------------------------------- */

.page-hero {
    background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-700));
    color: #fff;
    padding: 4rem 0 3.25rem;
}

.page-hero .section-eyebrow {
    color: var(--color-accent);
}

.page-title {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.page-lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    max-width: 720px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.service-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-2);
    color: var(--color-navy-700);
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card .card-title {
    margin-bottom: 0.5rem;
}

.service-card .card-text {
    color: var(--color-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Chips, region note
   -------------------------------------------------------------------------- */

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.chip {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-weight: 500;
    color: var(--color-navy-800);
}

.region-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

.region-note-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: var(--color-navy-600);
    margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Image collage
   -------------------------------------------------------------------------- */

.image-collage {
    position: relative;
    padding-bottom: 2rem;
}

.collage-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    width: 100%;
}

.collage-img-main {
    aspect-ratio: 4 / 3;
}

.collage-img-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    aspect-ratio: 1 / 1;
    border: 6px solid #fff;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    background: var(--color-navy-800);
    color: #fff;
    padding: 3.5rem 0;
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.cta-title {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 0.4rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0 0 0 1.75rem;
    border-left: 2px solid var(--color-border);
}

.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 0.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2.11rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-border);
}

/* --------------------------------------------------------------------------
   Info panel, lists
   -------------------------------------------------------------------------- */

.info-panel,
.contact-card,
.price-card,
.panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.info-panel {
    background: var(--color-surface);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.info-list li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--color-border);
}

.info-list li:last-child {
    border-bottom: 0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.check-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-navy-600);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.feature-tile {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
}

.feature-tile h3 {
    color: var(--color-navy-700);
}

/* --------------------------------------------------------------------------
   Contact & price
   -------------------------------------------------------------------------- */

.contact-card {
    margin-bottom: 1.25rem;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.form-note {
    color: var(--color-muted);
    font-size: 0.875rem;
}

.price-card {
    text-align: center;
    background: var(--color-navy-800);
    color: #fff;
    border: 0;
}

.price-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.price-value {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.price-note {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1rem;
}

.price-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--color-navy-800);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */

.legal-content {
    max-width: 860px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content address {
    font-style: normal;
    background: var(--color-surface);
    border-left: 4px solid var(--color-accent);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
}

.legal-source {
    color: var(--color-muted);
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */

.auth-section {
    padding: 5rem 0;
    background: var(--color-surface);
    min-height: 70vh;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--color-navy-900);
    color: rgba(255, 255, 255, 0.78);
    padding: 3.5rem 0 1.5rem;
    margin-top: 0;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.9rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-text a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-text a:hover {
    color: #fff;
}

.footer-gap {
    display: block;
    height: 0.6rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Admin / Backoffice
   -------------------------------------------------------------------------- */

.admin-body {
    background: var(--color-surface);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: var(--color-navy-900);
    color: #fff;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 2rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
}

.admin-main {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 2rem;
}

.admin-title {
    font-size: 1.4rem;
    margin: 0;
}

.admin-content {
    padding: 2rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy-800);
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.panel {
    margin-bottom: 1.75rem;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.toolbar-search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex: 1 1 320px;
    max-width: 480px;
}

.loading-row {
    display: flex;
    align-items: center;
    color: var(--color-muted);
    padding: 0.75rem 0;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
}

.pager-info {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.request-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-item {
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    background: #fff;
}

.request-item.is-handled {
    border-left-color: #2e7d32;
    opacity: 0.85;
}

.request-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.request-subject {
    font-size: 0.95rem;
}

.request-message {
    white-space: pre-line;
    color: var(--color-text);
}

.request-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
    }

    .collage-img-secondary {
        position: static;
        width: 100%;
        margin-top: 1rem;
        border: 0;
    }

    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex: 1 1 auto;
    }

    .admin-content {
        padding: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Online-Hilfe (lesbar, druckfreundlich, hervorgehobene Warnhinweise)
   -------------------------------------------------------------------------- */

.help-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.help-nav-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    color: var(--color-navy-800);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.help-nav-link:hover {
    border-color: var(--color-navy-600);
    color: var(--color-navy-600);
}

.help-nav-link.is-active {
    background: var(--color-navy-700);
    border-color: var(--color-navy-700);
    color: #fff;
}

.help-lead {
    font-size: 1.05rem;
    color: var(--color-navy-800);
    max-width: 900px;
}

.help-section {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.help-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.help-section h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.help-section > :last-child {
    margin-bottom: 0;
}

.help-warn,
.help-danger,
.help-tip {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-left: 5px solid;
}

.help-warn {
    background: #fff8e6;
    border-left-color: var(--color-accent);
}

.help-danger {
    background: #fdeceb;
    border-left-color: #b3261e;
}

.help-tip {
    background: #eaf3fa;
    border-left-color: var(--color-navy-600);
}

.help-steps {
    padding-left: 1.25rem;
}

.help-steps li {
    margin-bottom: 0.75rem;
}

.help-table {
    margin-bottom: 1rem;
}

.help-dl {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 0.5rem 1.25rem;
    margin: 0;
}

.help-dl dt {
    font-weight: 700;
    color: var(--color-navy-800);
}

.help-dl dd {
    margin: 0;
}

.help-quote {
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-style: italic;
    color: var(--color-navy-800);
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.help-card {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.help-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-navy-600);
}

.help-card h3 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
    color: var(--color-navy-700);
}

.help-card p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.help-context {
    color: var(--color-muted);
    font-size: 0.95rem;
}

@media (max-width: 575.98px) {
    .help-dl {
        grid-template-columns: 1fr;
    }

    .help-section {
        padding: 1.25rem;
    }
}

@media print {
    .admin-sidebar,
    .admin-topbar,
    .help-nav,
    .navbar,
    .site-footer {
        display: none !important;
    }

    .admin-shell {
        display: block;
    }

    .help-section {
        break-inside: avoid;
        box-shadow: none;
        border-color: #999;
    }

    body {
        background: #fff;
    }
}

/* --------------------------------------------------------------------------
   Consent- und Widerrufsstrecke (barrierefrei, keine Dark Patterns)
   -------------------------------------------------------------------------- */

.consent-container {
    max-width: 900px;
}

.consent-ident,
.consent-block,
.consent-declaration,
.consent-note {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.consent-block {
    background: var(--color-surface);
}

.consent-declaration {
    border-left: 4px solid var(--color-navy-700);
}

.consent-declaration-decline {
    border-left-color: var(--color-muted);
    background: var(--color-surface);
}

.consent-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.consent-dl {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}

.consent-dl dt {
    color: var(--color-muted);
    font-weight: 600;
}

.consent-dl dd {
    margin: 0;
    word-break: break-word;
}

.consent-facts {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.consent-facts li {
    margin-bottom: 0.5rem;
}

.consent-statement {
    font-weight: 600;
    color: var(--color-navy-800);
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.consent-note {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.text-block {
    white-space: pre-line;
}

@media (max-width: 575.98px) {
    .consent-dl {
        grid-template-columns: 1fr;
    }

    .consent-dl dt {
        margin-top: 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Barrierefreiheit: reduzierte Bewegung (CONV-09)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .service-card:hover {
        transform: none;
    }
}
