/* Lokal gehostete Schriften.
   Bewusst nicht ueber fonts.googleapis.com eingebunden: Das wuerde die
   IP-Adresse jedes Besuchers ohne Einwilligung an Google uebertragen.
   Cormorant Garamond und Source Sans 3 stehen unter der SIL Open Font
   License 1.1, lokales Hosting ist erlaubt.
   Erzeugt von _dev/fetch_fonts.py, 20 Schnitte. */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-300-latin-ext.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-300-latin.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-400-latin-ext.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-400-latin.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-500-latin-ext.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-500-latin.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-600-latin-ext.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-600-latin.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-700-latin-ext.woff2?v=20260823-font-fix-v1') 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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/cormorant-garamond-700-latin.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/source-sans-3-300-latin-ext.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/source-sans-3-300-latin.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/source-sans-3-400-latin-ext.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/source-sans-3-400-latin.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/source-sans-3-500-latin-ext.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/source-sans-3-500-latin.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/source-sans-3-600-latin-ext.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/source-sans-3-600-latin.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/source-sans-3-700-latin-ext.woff2?v=20260823-font-fix-v1') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/source-sans-3-700-latin.woff2?v=20260823-font-fix-v1') 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;
}

*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.bottom-24{bottom:6rem}.left-1\/2{left:50%}.top-0{top:0}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.order-1{order:1}.order-2{order:2}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mt-4{margin-top:-1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-\[16\/10\]{aspect-ratio:16/10}.aspect-\[4\/5\]{aspect-ratio:4/5}.aspect-square{aspect-ratio:1/1}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2\.5{height:.625rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[74\%\]{height:74%}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[780px\]{max-height:780px}.min-h-\[38vh\]{min-height:38vh}.min-h-\[40vh\]{min-height:40vh}.min-h-\[42vh\]{min-height:42vh}.min-h-\[45vh\]{min-height:45vh}.min-h-\[46vh\]{min-height:46vh}.min-h-\[50vh\]{min-height:50vh}.min-h-\[52vh\]{min-height:52vh}.min-h-\[58vh\]{min-height:58vh}.min-h-screen{min-height:100vh}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[230px\]{min-width:230px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-\[1440px\]{max-width:1440px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-14{gap:3.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-12{row-gap:3rem}.gap-y-2{row-gap:.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(3rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem*var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-gold{--tw-border-opacity:1;border-color:rgb(196 154 108/var(--tw-border-opacity,1))}.border-gold\/10{border-color:hsla(31,43%,60%,.1)}.border-gold\/15{border-color:hsla(31,43%,60%,.15)}.border-gold\/20{border-color:hsla(31,43%,60%,.2)}.border-gold\/30{border-color:hsla(31,43%,60%,.3)}.border-gold\/50{border-color:hsla(31,43%,60%,.5)}.border-white\/10{border-color:hsla(0,0%,100%,.1)}.border-white\/5{border-color:hsla(0,0%,100%,.05)}.bg-dark-bg{--tw-bg-opacity:1;background-color:rgb(10 10 15/var(--tw-bg-opacity,1))}.bg-dark-bg\/30{background-color:rgba(10,10,15,.3)}.bg-dark-bg\/40{background-color:rgba(10,10,15,.4)}.bg-dark-bg\/50{background-color:rgba(10,10,15,.5)}.bg-dark-bg\/55{background-color:rgba(10,10,15,.55)}.bg-dark-bg\/60{background-color:rgba(10,10,15,.6)}.bg-dark-bg\/80{background-color:rgba(10,10,15,.8)}.bg-dark-bg\/85{background-color:rgba(10,10,15,.85)}.bg-dark-bg\/90{background-color:rgba(10,10,15,.9)}.bg-dark-elevated{--tw-bg-opacity:1;background-color:rgb(26 26 46/var(--tw-bg-opacity,1))}.bg-dark-elevated\/20{background-color:rgba(26,26,46,.2)}.bg-dark-elevated\/30{background-color:rgba(26,26,46,.3)}.bg-dark-elevated\/80{background-color:rgba(26,26,46,.8)}.bg-dark-surface{--tw-bg-opacity:1;background-color:rgb(20 20 31/var(--tw-bg-opacity,1))}.bg-dark-surface\/50{background-color:rgba(20,20,31,.5)}.bg-dark-surface\/60{background-color:rgba(20,20,31,.6)}.bg-gold{--tw-bg-opacity:1;background-color:rgb(196 154 108/var(--tw-bg-opacity,1))}.bg-gold\/20{background-color:hsla(31,43%,60%,.2)}.bg-gold\/30{background-color:hsla(31,43%,60%,.3)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-dark-bg{--tw-gradient-from:#0a0a0f var(--tw-gradient-from-position);--tw-gradient-to:rgba(10,10,15,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-dark-bg\/95{--tw-gradient-from:rgba(10,10,15,.95) var(--tw-gradient-from-position);--tw-gradient-to:rgba(10,10,15,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-dark-bg\/15{--tw-gradient-to:rgba(10,10,15,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(10,10,15,.15) var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-dark-bg\/20{--tw-gradient-to:rgba(10,10,15,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(10,10,15,.2) var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-dark-bg\/85{--tw-gradient-to:rgba(10,10,15,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(10,10,15,.85) var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-dark-bg\/60{--tw-gradient-to:rgba(10,10,15,.6) var(--tw-gradient-to-position)}.to-gold\/30{--tw-gradient-to:hsla(31,43%,60%,.3) var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-top{-o-object-position:top;object-position:top}.p-0{padding:0}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-7{padding:1.75rem}.p-8{padding:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-12{padding-bottom:3rem}.pb-14{padding-bottom:3.5rem}.pb-16{padding-bottom:4rem}.pb-20{padding-bottom:5rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pr-4{padding-right:1rem}.pt-12{padding-top:3rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-32{padding-top:8rem}.pt-36{padding-top:9rem}.pt-4{padding-top:1rem}.pt-40{padding-top:10rem}.pt-44{padding-top:11rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-cormorant{font-family:Cormorant Garamond,serif}.font-source{font-family:Source Sans 3,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-\[0\.35em\]{letter-spacing:.35em}.tracking-\[0\.3em\]{letter-spacing:.3em}.tracking-\[0\.4em\]{letter-spacing:.4em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-dark-bg{--tw-text-opacity:1;color:rgb(10 10 15/var(--tw-text-opacity,1))}.text-gold{--tw-text-opacity:1;color:rgb(196 154 108/var(--tw-text-opacity,1))}.text-gold\/40{color:hsla(31,43%,60%,.4)}.text-gold\/50{color:hsla(31,43%,60%,.5)}.text-gold\/60{color:hsla(31,43%,60%,.6)}.text-gold\/80{color:hsla(31,43%,60%,.8)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-40{opacity:.4}.shadow-\[0_24px_80px_rgba\(0\2c 0\2c 0\2c 0\.35\)\]{--tw-shadow:0 24px 80px rgba(0,0,0,.35);--tw-shadow-colored:0 24px 80px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.marker\:text-gold ::marker{color:#c49a6c}.marker\:text-gold::marker{color:#c49a6c}.hover\:border-gold\/30:hover{border-color:hsla(31,43%,60%,.3)}.hover\:text-gold:hover{--tw-text-opacity:1;color:rgb(196 154 108/var(--tw-text-opacity,1))}.hover\:text-gold-light:hover{--tw-text-opacity:1;color:rgb(212 176 140/var(--tw-text-opacity,1))}.group[open] .group-open\:rotate-45{--tw-rotate:45deg}.group:hover .group-hover\:translate-x-1,.group[open] .group-open\:rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-x-1{--tw-translate-x:0.25rem}.group:hover .group-hover\:scale-105{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:text-gold{--tw-text-opacity:1;color:rgb(196 154 108/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:col-span-2{grid-column:span 2/span 2}.sm\:ml-2{margin-left:.5rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline{display:inline}.sm\:hidden{display:none}.sm\:h-\[105\%\]{height:105%}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-6{gap:1.5rem}.sm\:p-10{padding:2.5rem}.sm\:p-8{padding:2rem}.sm\:text-left{text-align:left}.sm\:text-right{text-align:right}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-6xl{font-size:3.75rem;line-height:1}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:opacity-95{opacity:.95}}@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.lg\:sticky{position:sticky}.lg\:top-28{top:7rem}.lg\:top-32{top:8rem}.lg\:order-1{order:1}.lg\:order-2{order:2}.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:w-1\/2{width:50%}.lg\:w-4\/5{width:80%}.lg\:translate-y-8{--tw-translate-y:2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-\[0\.85fr_1\.15fr\]{grid-template-columns:.85fr 1.15fr}.lg\:grid-cols-\[0\.9fr_1\.1fr\]{grid-template-columns:.9fr 1.1fr}.lg\:grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.lg\:grid-cols-\[260px_minmax\(0\2c 1fr\)\]{grid-template-columns:260px minmax(0,1fr)}.lg\:flex-row{flex-direction:row}.lg\:gap-16{gap:4rem}.lg\:self-start{align-self:flex-start}.lg\:p-8{padding:2rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-0{padding-top:0;padding-bottom:0}.lg\:py-24{padding-top:6rem;padding-bottom:6rem}.lg\:pr-8{padding-right:2rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width:1280px){.xl\:grid-cols-\[280px_minmax\(0\2c 1fr\)\]{grid-template-columns:280px minmax(0,1fr)}.xl\:gap-20{gap:5rem}.xl\:text-5xl{font-size:3rem;line-height:1}.xl\:text-6xl{font-size:3.75rem;line-height:1}}
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 · macrostructure: single-boundary proof module · theme: studied-DNA (source: Bettermann design system) · contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57) */
/* ============================================================
   BETTERMANN IMMOBILIEN - Shared Design System
   WordPress-ready: Maps to theme.json + style.css
   ============================================================ */

/* --- CSS Custom Properties (→ theme.json settings.custom) --- */
:root {
    --color-bg: #0A0A0F;
    --color-surface: #14141F;
    --color-elevated: #1A1A2E;
    --color-gold: #C49A6C;
    --color-gold-light: #D4B08C;
    --color-gold-dark: #A67C52;
    --color-gold-20: rgba(196, 154, 108, 0.2);
    --color-text: #FFFFFF;
    --color-text-muted: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Source Sans 3', sans-serif;
    /* Akzentschrift bewusst auf Cormorant gesetzt: Instrument Serif wurde nirgends
       verwendet und wird seit der Umstellung auf lokale Fonts nicht mehr geladen. */
    --font-accent: 'Cormorant Garamond', serif;
    --text-body: 1rem;
    --text-lead: clamp(1.125rem, 1.08rem + 0.24vw, 1.25rem);
    --text-heading: clamp(2rem, 1.55rem + 2vw, 3rem);
    --text-display: clamp(2.75rem, 1.85rem + 4vw, 4.5rem);
    --text-primary: #FFFFFF;
    --text-accent: #C49A6C;
    --text-accent-hover: #D4B08C;
    --text-on-gold: #0A0A0F;
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-40: 2.5rem;
    --space-48: 3rem;
    --space-64: 4rem;
    --space-fluid-sm: clamp(1rem, 0.83rem + 0.83vw, 1.5rem);
    --space-fluid-md: clamp(1.5rem, 1.33rem + 0.83vw, 2rem);
    --space-fluid-lg: clamp(2rem, 1.67rem + 1.67vw, 3rem);
    --space-fluid-xl: clamp(3rem, 2.67rem + 1.67vw, 4rem);
    --space-fluid-2xl: clamp(4rem, 3.33rem + 3.33vw, 6rem);
    --space-fluid-3xl: clamp(6rem, 5.33rem + 3.33vw, 8rem);
    --container-max: 1280px;
    --gutter: var(--space-fluid-md);
    --max-width: var(--container-max);
    --section-spacing: var(--space-fluid-xl);
    --content-padding: var(--gutter);
    --font-size-body: var(--text-body);
    --font-size-lead: var(--text-lead);
    --font-size-section-title: var(--text-heading);
    --font-size-display-cap: var(--text-heading);
    --font-size-hero: var(--text-display);
    /* KI-Kennzeichnung: eine Stellschraube fuer das einheitliche Bild-Badge. */
    --ai-label-font-size: 0.75rem;
}

/* --- Base (→ theme.json styles.elements) --- */
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: var(--color-bg);
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) var(--color-bg);
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: var(--color-bg);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
    border: 2px solid var(--color-bg);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-elevated) 50%, var(--color-bg) 100%);
    background-attachment: fixed;
    color: var(--color-text);
    font-size: var(--font-size-body);
    line-height: 1.6;
    margin: 0;
    min-height: 100dvh;
    overflow-x: hidden;
    max-width: 100%;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Links: gold statt Browser-default lila
   a:visited MUSS !important haben - Browser überschreibt visited-Farbe sonst immer */
body a { color: #C49A6C; text-decoration: none; }
body a:visited { color: #C49A6C !important; }
body a:hover { color: #D4B08C; }
/* Nav dropdown items */
body .nav-dropdown-menu a,
body .nav-dropdown-menu a:visited { color: #FFFFFF !important; }
body .nav-dropdown-menu a:hover { color: #C49A6C !important; }
/* Footer links: white by default, gold on hover, active stays gold */
footer a { color: #FFFFFF !important; }
footer a:visited { color: #FFFFFF !important; }
footer a:hover { color: #C49A6C !important; }
footer a.text-gold,
footer a.text-gold:visited { color: #C49A6C !important; }
/* Buttons: keep link-state colors stable across the global anchor rules. */
body :where(a.btn-gold, button.btn-gold),
body :where(a.btn-gold, button.btn-gold):visited,
body :where(a.btn-gold, button.btn-gold):hover,
body :where(a.btn-gold, button.btn-gold):focus-visible,
body :where(.btn-gold) > span {
    color: #0A0A0F !important;
    -webkit-text-fill-color: #0A0A0F !important;
}
body :where(a.btn-outline-copper, button.btn-outline-copper),
body :where(a.btn-outline-copper, button.btn-outline-copper):visited,
body :where(a.btn-outline-copper, button.btn-outline-copper):hover,
body :where(a.btn-outline-copper, button.btn-outline-copper):focus-visible {
    color: #C49A6C !important;
}

/* ScrollSpy: Active TOC link */
.toc a.toc-active,
.toc a.toc-active:visited {
    color: #C49A6C !important;
    border-left-color: #C49A6C !important;
    font-weight: 600;
}

/* --- Noise Overlay (→ WP: custom block or after_body hook) --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* --- Gold Divider (→ WP: wp:separator with custom class) --- */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 154, 108, 0.3), transparent);
}

/* --- Prestige Card (→ WP: wp:group with prestige-card class) --- */
.prestige-card {
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.125);
    transition: all 0.3s ease;
}
.prestige-card:hover {
    border-color: rgba(196, 154, 108, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(196, 154, 108, 0.1);
}

/* --- Homepage Hero (mobile portrait + spacing) --- */
.home-hero-background-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-ai-label {
    z-index: 30;
    top: auto !important;
    right: clamp(0.75rem, 2vw, 1.25rem) !important;
    bottom: clamp(0.75rem, 2vw, 1.25rem) !important;
    max-width: none;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
}

.home-hero-copy .max-w-lg {
    max-width: 40rem;
}

.home-hero-title-line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .home-hero-section {
        min-height: auto;
        align-items: flex-start;
    }
    .home-hero-shell {
        padding-top: 5.75rem !important;
        padding-bottom: 3rem;
    }
    .home-hero-inner {
        min-height: auto !important;
        align-items: flex-start;
    }
    .home-hero-copy {
        padding-top: 1.75rem !important;
        padding-bottom: 2rem !important;
    }
    .home-hero-copy .max-w-lg {
        max-width: 38rem;
    }
    .home-hero-section .absolute.bottom-24 {
        display: none;
    }
}

@media (max-width: 640px) {
    .home-hero-shell {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    .home-hero-copy .max-w-lg {
        width: 100%;
        max-width: calc(100vw - 2.5rem) !important;
    }
    .home-hero-copy p {
        overflow-wrap: break-word;
    }
    .home-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.18rem, 8.65vw, 2.72rem) !important;
        line-height: 0.95 !important;
        margin-bottom: 1rem !important;
        text-wrap: balance;
    }
    .home-hero-copy .font-cormorant.italic {
        max-width: 31rem;
        font-size: clamp(1.18rem, 4.4vw, 1.35rem) !important;
        line-height: 1.32 !important;
        text-wrap: balance;
    }
    .home-hero-copy .btn-gold,
    .home-hero-copy .btn-outline-copper {
        width: 100%;
        justify-content: center;
    }
}

/* --- 404: cinematic wrong-address page --- */
.error-404-page { background: #0A0A0F; color: #FFFFFF; }
.error-404-main { overflow: hidden; }
.error-404-hero {
    --error-404-label-clearance: clamp(10.75rem, 20vh, 12rem);
    position: relative;
    min-height: calc(100svh - var(--solid-nav-offset));
    display: flex;
    align-items: stretch;
    background: #0A0A0F;
    isolation: isolate;
}
.error-404-visual,
.error-404-shade { position: absolute; inset: 0; }
.error-404-visual { z-index: -3; overflow: hidden; }
.error-404-visual > img,
.error-404-visual > .bm-ai-media-frame,
.error-404-visual .bm-ai-media-image { width: 100%; height: 100%; }
.error-404-visual > .bm-ai-media-frame { position: absolute; inset: 0; }
.error-404-image,
.error-404-visual .bm-ai-media-image {
    display: block;
    object-fit: cover;
    object-position: center center;
}
.error-404-visual .bm-ai-label-overlay {
    right: clamp(1rem, 3vw, 3rem);
    bottom: var(--error-404-label-clearance);
}
.error-404-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, #0A0A0F 0%, #0A0A0F 28%, rgba(10, 10, 15, 0.92) 45%, rgba(10, 10, 15, 0.36) 70%, rgba(10, 10, 15, 0.12) 100%),
        linear-gradient(0deg, #0A0A0F 0%, transparent 34%);
}
.error-404-content {
    min-height: inherit;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    padding-top: clamp(3rem, 7vh, 6rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
}
.error-404-copy { width: min(100%, 44rem); padding-block: 2.5rem; }
.error-404-number {
    margin: 0 0 0.75rem;
    color: var(--color-gold-light) !important;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.035em;
    user-select: none;
}
.error-404-copy h1 {
    max-width: 12ch;
    margin: 0 0 1.25rem;
    color: #FFFFFF;
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.035em;
}
.error-404-lead {
    max-width: 40rem;
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 400;
    line-height: 1.65;
}
.error-404-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.error-404-routes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(196, 154, 108, 0.55);
    border-bottom: 1px solid rgba(196, 154, 108, 0.28);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(18px);
}
.error-404-route {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 6.5rem;
    padding: 1.15rem 1.35rem;
    color: #FFFFFF;
    border-right: 1px solid rgba(196, 154, 108, 0.24);
    transition: background-color 180ms ease, color 180ms ease;
}
.error-404-route:last-child { border-right: 0; }
.error-404-route:hover,
.error-404-route:focus-visible { background: var(--color-gold); color: #0A0A0F; }
.error-404-route-index {
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.error-404-route:hover .error-404-route-index,
.error-404-route:focus-visible .error-404-route-index { color: #0A0A0F; }
.error-404-route strong,
.error-404-route small { display: block; color: inherit; }
.error-404-route strong { font-size: 1.25rem; line-height: 1.1; }
.error-404-route small { margin-top: 0.3rem; font-size: 0.76rem; font-weight: 500; line-height: 1.35; }
.error-404-route-arrow {
    color: var(--color-gold-light);
    font-size: 1.1rem;
    transition: transform 180ms ease;
}
.error-404-route:hover .error-404-route-arrow,
.error-404-route:focus-visible .error-404-route-arrow { color: #0A0A0F; transform: translateX(0.25rem); }

@media (max-width: 1023px) {
    .error-404-shade {
        background:
            linear-gradient(90deg, #0A0A0F 0%, rgba(10, 10, 15, 0.92) 52%, rgba(10, 10, 15, 0.42) 100%),
            linear-gradient(0deg, #0A0A0F 0%, transparent 38%);
    }
    .error-404-copy { width: min(76%, 38rem); }
    .error-404-route { grid-template-columns: auto minmax(0, 1fr); }
    .error-404-route-arrow { display: none; }
}

@media (max-width: 767px) {
    .error-404-hero { min-height: auto; display: block; }
    .error-404-visual {
        position: relative;
        inset: auto;
        z-index: 0;
        height: clamp(13.5rem, 62vw, 17rem);
        overflow: hidden;
    }
    .error-404-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg, #0A0A0F 0%, rgba(10, 10, 15, 0.48) 24%, transparent 58%);
    }
    .error-404-visual .bm-ai-media-image,
    .error-404-image { object-position: 72% center; }
    .error-404-shade {
        display: none;
    }
    .error-404-content {
        position: relative;
        z-index: 1;
        min-height: auto;
        display: block;
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
    .error-404-copy { width: 100%; padding-block: 1.25rem 3rem; }
    .error-404-number { margin-bottom: 0.625rem; font-size: clamp(2.75rem, 13vw, 3.75rem); }
    .error-404-copy h1 { max-width: 11ch; font-size: clamp(2.75rem, 13vw, 4rem); }
    .error-404-actions { flex-direction: column; }
    .error-404-actions .btn-gold,
    .error-404-actions .btn-outline-copper { width: 100%; justify-content: center; }
    .error-404-routes { grid-template-columns: 1fr; }
    .error-404-route { min-height: 4.9rem; border-right: 0; border-bottom: 1px solid rgba(196, 154, 108, 0.24); }
    .error-404-route:last-child { border-bottom: 0; }
    .error-404-visual .bm-ai-label-overlay { top: 1rem; right: 0.75rem; bottom: auto; z-index: 4; }
}

@media (prefers-reduced-motion: reduce) {
    .error-404-route,
    .error-404-route-arrow { transition: none; }
}

/* --- Linked Image Cards (Homepage Leistungen + Partnernetzwerk) --- */
.home-service-grid {
    align-items: stretch;
}

.home-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    color: #FFFFFF !important;
    text-decoration: none !important;
    cursor: pointer;
}

.home-service-card:visited {
    color: #FFFFFF !important;
}

.home-service-card:focus-visible {
    outline: 2px solid #C49A6C;
    outline-offset: 4px;
}

.home-service-image {
    position: relative;
    aspect-ratio: 16 / 7;
    min-height: 9rem;
    overflow: hidden;
    background: #0A0A0F;
}

.home-service-image > img,
.home-service-image .bm-ai-media-frame > .bm-ai-media-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.home-service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
}

.home-service-card:hover .home-service-image > img,
.home-service-card:hover .home-service-image .bm-ai-media-frame > .bm-ai-media-image {
    transform: scale(1.04);
    opacity: 0.95;
}

.home-service-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin: -1.5rem 0 -1.5rem 1.5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.home-service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem 2rem;
}

.home-service-body p {
    margin-bottom: 1.75rem;
}

.prestige-card.home-service-card span.home-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: auto;
    padding: 0;
    border: 1px solid rgba(196, 154, 108, 0.45);
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    color: #C49A6C !important;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.prestige-card.home-service-card:hover span.home-service-link,
.prestige-card.home-service-card:focus-visible span.home-service-link {
    color: #E8CBA0 !important;
    border-color: rgba(232, 203, 160, 0.75);
    background: rgba(196, 154, 108, 0.08);
    transform: translateX(0.25rem);
}

/* --- Topic Cards (Homepage "Beliebte Themen") --- */
.topic-card {
    position: relative;
    display: block;
    min-height: 9.5rem;
    padding: 1.5rem;
    overflow: hidden;
    color: #FFFFFF !important;
    text-align: left;
    text-decoration: none !important;
    background:
        linear-gradient(180deg, rgba(196, 154, 108, 0.035), transparent 58%),
        var(--color-surface);
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(196, 154, 108, 0.85), rgba(196, 154, 108, 0.08));
    opacity: 0.7;
}

.topic-card:focus-visible {
    outline: 2px solid #C49A6C;
    outline-offset: 4px;
}

.topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #0A0A0F !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.topic-icon svg {
    position: relative;
    z-index: 1;
    width: 1.25rem;
    height: 1.25rem;
    color: #0A0A0F !important;
}

.prestige-card.topic-card .topic-icon,
.prestige-card.topic-card .topic-icon svg {
    color: #0A0A0F !important;
    stroke: #0A0A0F !important;
}

.topic-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(196, 154, 108, 0.35);
    color: #C49A6C !important;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.prestige-card.topic-card .topic-arrow {
    color: #C49A6C !important;
}

.prestige-card.topic-card .topic-title {
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.prestige-card.topic-card .topic-subtitle {
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.35;
}

.topic-card:hover .topic-arrow,
.topic-card:focus-visible .topic-arrow {
    border-color: rgba(232, 203, 160, 0.75);
    background: rgba(196, 154, 108, 0.08);
    transform: translateX(0.25rem);
}

@media (max-width: 768px) {
    .home-service-image {
        aspect-ratio: 16 / 8;
        min-height: 8rem;
    }

    .home-service-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }
}


/* --- Buttons (→ WP: wp:button with custom classes) --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    background: linear-gradient(135deg, #C49A6C 0%, #D4B08C 40%, #E8CBA0 55%, #D4B08C 70%, #A67C52 100%) !important;
    color: #0A0A0F !important;
    -webkit-text-fill-color: #0A0A0F !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 12px rgba(196, 154, 108, 0.3), inset 0 1px 0 rgba(255,255,255,0.25);
    padding: var(--space-16) var(--space-40);
    font-size: var(--font-size-body);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    width: fit-content;
}
/* The shine layer sat above the label and made the CTA text look faded while
   it moved across the button. Keep the gold surface static so the dark label
   remains readable in every state and on every page. */
.btn-gold::before { display: none; }
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 154, 108, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline-copper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    border: 1px solid rgba(196, 154, 108, 0.5) !important;
    color: #C49A6C !important;
    background: transparent !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: var(--space-16) var(--space-40);
    font-size: var(--font-size-body);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    font-family: var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    width: fit-content;
}
.btn-outline-copper::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 154, 108, 0.15), transparent);
    transition: left 0.6s ease;
}
.btn-outline-copper:hover::before { left: 120%; }
.btn-outline-copper:hover {
    border-color: #C49A6C !important;
    background: rgba(196, 154, 108, 0.08) !important;
    box-shadow: 0 0 20px rgba(196, 154, 108, 0.15);
}

/* High-contrast secondary hero CTA: stays legible over bright photography. */
body a.btn-outline-copper.btn-phone-contrast {
    border-color: rgba(196, 154, 108, 0.82) !important;
    background: rgba(10, 10, 15, 0.94) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.28);
}
body a.btn-outline-copper.btn-phone-contrast:visited {
    color: #FFFFFF !important;
}
.btn-phone-contrast::before {
    content: "";
    position: static;
    display: block;
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    background: #C49A6C;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 0.25s ease;
}
body a.btn-outline-copper.btn-phone-contrast:hover {
    border-color: #C49A6C !important;
    background: #C49A6C !important;
    color: #0A0A0F !important;
    box-shadow: 0 0.45rem 1.5rem rgba(196, 154, 108, 0.3);
}
body a.btn-outline-copper.btn-phone-contrast:focus-visible {
    border-color: #C49A6C !important;
    background: #C49A6C !important;
    color: #0A0A0F !important;
    box-shadow: 0 0.45rem 1.5rem rgba(196, 154, 108, 0.3);
}
.btn-phone-contrast:hover::before,
.btn-phone-contrast:focus-visible::before {
    background: #0A0A0F;
}

/* --- Launch PDFs: responsive, contextual download cards --- */
.bm-pdf-downloads {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
    background:
        radial-gradient(circle at 12% 10%, rgba(196, 154, 108, 0.09), transparent 32rem),
        #101018;
    border-block: 1px solid rgba(196, 154, 108, 0.14);
}
.bm-pdf-downloads__backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.bm-pdf-downloads__backdrop > img,
.bm-pdf-downloads__backdrop > .bm-ai-media-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.bm-pdf-downloads .bm-pdf-downloads__backdrop-image,
.bm-pdf-downloads .bm-pdf-downloads__backdrop > .bm-ai-media-frame > .bm-pdf-downloads__backdrop-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0.12;
    filter: saturate(0.72) brightness(0.62) contrast(1.08);
}
.bm-pdf-downloads__backdrop .bm-ai-label-overlay {
    top: 1rem !important;
    right: 1rem !important;
    bottom: auto !important;
    left: auto !important;
}
.bm-pdf-downloads__inner {
    position: relative;
    z-index: 1;
    width: min(100%, var(--container-max));
    margin-inline: auto;
}
.bm-pdf-downloads__kicker,
.bm-pdf-card__eyebrow {
    margin: 0 0 0.75rem;
    color: #C49A6C;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.bm-pdf-downloads h2 {
    margin: 0 0 2rem;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}
.bm-pdf-downloads__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 74rem;
    margin-inline: auto;
    gap: 1.25rem;
}
.bm-pdf-downloads__grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 52rem;
}
.bm-pdf-downloads .bm-pdf-downloads__kicker,
.bm-pdf-downloads h2 {
    text-align: center;
}
.bm-pdf-downloads--featured .bm-pdf-card {
    border-color: rgba(196, 154, 108, 0.52);
    background:
        linear-gradient(135deg, rgba(196, 154, 108, 0.11), transparent 52%),
        #171720;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}
.bm-pdf-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-content: stretch;
    gap: 1rem 1.25rem;
    min-width: 0;
    height: 100%;
    padding: clamp(1.35rem, 3vw, 2rem);
    background: #171720;
    border: 1px solid rgba(196, 154, 108, 0.2);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}
.bm-pdf-card--primary {
    border-color: rgba(196, 154, 108, 0.5);
    background: linear-gradient(145deg, rgba(196, 154, 108, 0.08), transparent 55%), #171720;
}
.bm-pdf-card__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: #C49A6C;
    border: 1px solid rgba(196, 154, 108, 0.55);
    background: rgba(196, 154, 108, 0.06);
}
.bm-pdf-card__icon svg {
    width: 1.45rem;
    height: 1.45rem;
}
.bm-pdf-card__body {
    min-width: 0;
}
.bm-pdf-card h3 {
    margin: 0 0 0.65rem;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-wrap: balance;
}
.bm-pdf-card__body > p:not(.bm-pdf-card__eyebrow) {
    margin: 0 0 0.8rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.55;
}
.bm-pdf-card__meta {
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
}
.bm-pdf-card__action {
    grid-column: 1 / -1;
    align-self: end;
    width: 100%;
    margin-top: 0.35rem;
}
.bm-pdf-downloads__note {
    max-width: 58rem;
    margin: 1.35rem auto 0;
    text-align: center;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .bm-pdf-downloads__backdrop .bm-ai-label-overlay {
        top: 0.75rem !important;
        right: 0.75rem !important;
    }
    .bm-pdf-downloads__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bm-pdf-card {
        grid-template-columns: 1fr;
    }
    .bm-pdf-card__icon {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 768px) {
    .btn-gold,
    .btn-outline-copper {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        min-width: 0;
        text-align: center;
        justify-content: center;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.25;
    }
}

/* --- Icon & Badge Copper (→ WP: utility classes) --- */
.icon-copper {
    background: linear-gradient(135deg, #C49A6C 0%, #D4B08C 40%, #E8CBA0 55%, #D4B08C 70%, #A67C52 100%) !important;
    position: relative;
    overflow: hidden;
}
.icon-copper::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.prestige-card:hover .icon-copper::before { left: 120%; }

/* Leading-icon cards: keep the icon anchored to the first text line instead
   of centering it against the full card content. */
.icon-leading-card {
    align-items: flex-start;
}
.icon-leading-card > .flex-shrink-0 {
    align-self: flex-start;
}

.badge-copper {
    background: linear-gradient(135deg, #C49A6C 0%, #D4B08C 40%, #E8CBA0 55%, #D4B08C 70%, #A67C52 100%) !important;
    color: #0A0A0F !important;
    position: relative;
    overflow: hidden;
}
.badge-copper::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.badge-copper:hover::before { left: 120%; }

/* --- Text Copper Gradient (→ WP: has-copper-gradient-color) --- */
.text-copper-gradient {
    background: linear-gradient(135deg, #C49A6C, #E8CBA0, #C49A6C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Star Gold --- */
.star-gold { display: inline-block !important; color: #C49A6C; }
.stat-number { font-family: var(--font-body); }

/* Homepage: compact owner facts without changing the global type scale. */
#ueber-uns .owner-stat-number {
    display: inline-block;
    font-size: 2.25rem !important;
    line-height: 1.08 !important;
}

/* --- Animations (→ WP: enqueue in view.js) --- */
@keyframes heroFocus {
    from { transform: scale(1.02); }
    to { transform: scale(1); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-fade-right { animation: fadeInRight 0.8s ease-out forwards; opacity: 0; }
.animate-fade { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- V3 Navigation (→ WP: header.html template part) --- */
.v3-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 0.6rem 0;
    transition: all 0.4s ease;
}
.v3-nav-inner {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex; justify-content: space-between; align-items: center;
}
.v3-nav.v3-nav-scrolled-bg,
.v3-nav.v3-nav-solid,
.page-solid-nav .v3-nav {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(196, 154, 108, 0.1), 0 4px 20px rgba(0, 0, 0, 0.4);
}
.page-solid-nav {
    --solid-nav-offset: 4.3125rem;
}
.page-solid-nav main {
    padding-top: var(--solid-nav-offset);
}
.page-solid-nav .hero-split {
    min-height: calc(100dvh - var(--solid-nav-offset)) !important;
}
img[src*="ai-labeled"][class*="object-cover"] {
    object-position: center !important;
}

/* The portrait source is intentionally tall. Keep its top edge visible so
   Stephan's face is never cropped by the 4:5 content frame. */
.about-portrait {
    object-position: center top !important;
}
img.about-portrait[src*="ai-labeled"] {
    object-position: center top !important;
}

/* AI imagery uses clean source files; the official EU label is added only as
   a stable, frame-bound overlay. */
.bm-ai-media-frame {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}
.bm-ai-media-frame--hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.bm-ai-media-frame--hero > .bm-ai-media-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: none;
}
.page-solid-nav .bm-ai-media-frame--hero > .bm-ai-label-overlay {
    top: auto !important;
    right: 1rem !important;
    bottom: 0.8rem !important;
    left: auto !important;
    /* Die Beschriftung im Label muss lesbar bleiben, nicht nur als Flaeche
       erkennbar sein: 11rem ergeben rund 9,5px Schrifthoehe. */
    width: auto !important;
}
.bm-ai-media-frame--fill {
    height: 100%;
}
.bm-ai-media-frame > .bm-ai-media-image {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
    transform-origin: center center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.bm-ai-media-frame--fill > .bm-ai-media-image {
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    object-fit: cover;
}
.bm-ai-media-frame:not(.bm-ai-media-frame--hero):not(.bm-ai-media-frame--fill) > .bm-ai-media-image {
    transform: none !important;
}
.bm-ai-label-overlay {
    position: absolute;
    z-index: 2;
    right: 0.65rem;
    top: 0.65rem;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    width: auto;
    max-width: min(64%, 20rem);
    height: auto;
    padding: 0.2rem 0.42rem;
    border-radius: 3px;
    background: rgba(10, 10, 15, 0.64);
    border: 1px solid rgba(196, 154, 108, 0.46);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}
.bm-ai-label-overlay__icon {
    display: block;
    flex: 0 0 auto;
    width: 0.78rem;
    height: 0.78rem;
    filter: brightness(0) invert(1);
    opacity: 0.86;
}
.bm-ai-label-overlay__text {
    display: block;
    font-family: var(--font-body);
    font-size: var(--ai-label-font-size);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.035em;
    color: #FFFFFF;
    white-space: nowrap;
    /* Source Sans sits optically above the square Lucide icon although both
       flex boxes are mathematically centered. This tiny offset aligns the
       visible glyphs without moving or enlarging the complete badge. */
    transform: translateY(0.06em);
}
.bm-ai-media-frame--labeled > .bm-ai-label-overlay {
    top: auto;
    bottom: 0.7rem;
    right: 0.9rem;
}
.bm-ai-label-overlay--top {
    top: 0.75rem;
    bottom: auto;
}
.bm-ai-label-overlay--portrait {
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    top: auto !important;
    display: grid;
    place-items: center;
    width: 1.45rem !important;
    min-width: 1.45rem;
    height: 1.45rem !important;
    padding: 0;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.68);
}
.bm-ai-label-overlay--portrait .bm-ai-label-overlay__icon {
    width: 0.72rem;
    height: 0.72rem;
}
.bm-ai-media-frame > .bm-ai-label-overlay,
.home-service-image .bm-ai-label-overlay {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Thumbnail frames must match the fixed card crop so the corner label stays
   inside the visible image instead of being clipped below it. */
.home-service-image > .bm-ai-media-frame {
    position: absolute;
    inset: 0;
    height: auto;
}
.home-service-image .bm-ai-media-frame > .bm-ai-media-image {
    height: 100%;
    object-fit: cover;
    object-position: center !important;
    transform: scale(1.14);
    transform-origin: center center;
}
.home-service-image .bm-ai-label-overlay {
    width: auto !important;
}
.home-service-image .bm-ai-media-frame > .bm-ai-label-overlay {
    width: auto !important;
}

/* The transparency page demonstrates both official marks on one real example
   without introducing another card inside the editorial column. */
.ai-transparency-example {
    width: min(100%, 42rem);
    margin: 2rem auto 0;
}
.ai-transparency-example__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0d0d14;
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.28);
}
.ai-transparency-example__media > .bm-ai-media-frame.bm-ai-media-frame--labeled {
    height: 100% !important;
}
.ai-transparency-example__media > .bm-ai-media-frame.bm-ai-media-frame--labeled > .bm-ai-media-image {
    height: 100% !important;
    object-fit: cover;
    object-position: center 34%;
}
.ai-transparency-example__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
}
.ai-transparency-example figcaption {
    max-width: 38rem;
    margin: 0.9rem auto 0;
    color: rgba(240, 237, 232, 0.62);
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}
.home-service-card:hover .home-service-image .bm-ai-media-frame > .bm-ai-media-image {
    transform: scale(1.17);
}

/* Secondary service/guide cards use one site-wide crop: every source fills
   the fixed 16:10 preview frame without black letterbox bars. */
a.prestige-card.group > .overflow-hidden > .bm-ai-media-frame--fill > .bm-ai-media-image {
    width: 100%;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
    background: transparent;
}
a.prestige-card.group:hover > .overflow-hidden > .bm-ai-media-frame--fill > .bm-ai-media-image {
    transform: none !important;
}

/* Person and text-heavy sources override the generic centered crop. */
a.prestige-card.group > .overflow-hidden > .bm-ai-media-frame--fill > .bm-ai-media-image.related-card-image--faces {
    object-position: center 14% !important;
}

a.prestige-card.group > .overflow-hidden > .bm-ai-media-frame--fill > .bm-ai-media-image.related-card-image--graphic {
    object-position: center 16% !important;
}

body img.service-portrait-focus[src*="ai-labeled"] {
    object-position: center 14% !important;
}
.bm-ai-media-frame--portrait > .bm-ai-media-image {
    transform: translateY(2%);
    transform-origin: center top;
}
.bm-ai-media-frame--portrait:hover > .bm-ai-media-image {
    transform: translateY(2%);
}

/* Portrait frames keep their source ratio instead of letterboxing a tall
   image into the generic 34rem grid cap. This keeps the image full-width and
   keeps the AI label attached to the actual visible frame. */
.bm-ai-media-frame--portrait {
    height: auto !important;
    max-height: none !important;
}

.bm-ai-media-frame--portrait > .bm-ai-media-image {
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
}

/* The About portrait uses a fixed 4:5 editorial frame. Fill that frame so
   the photograph does not sit inside it with letterboxed side areas. */
.bm-ai-media-frame--portrait {
    aspect-ratio: 4 / 5;
    height: auto !important;
    max-height: none !important;
}

.bm-ai-media-frame--portrait > .bm-ai-media-image {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
}

@media (max-width: 640px) {
    main:has(.home-hero-section) .home-hero-section {
        min-height: auto !important;
    }

    main:has(.home-hero-section) .home-hero-copy .max-w-lg {
        width: min(100%, 22rem);
        max-width: 22rem !important;
        margin-inline: auto;
    }
}
.bm-ai-media-frame:hover > .bm-ai-media-image {
    transform: none;
}

/* Article images are inline editorial media, not hero art. Keep them inside
   the reading column and preserve the complete source image. */
.article-content > .bm-ai-media-frame,
.article-content .bm-ai-media-frame,
#article-body > .bm-ai-media-frame,
#article-body .bm-ai-media-frame {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Content-column images beside text should not stretch to the full height of
   a long neighboring column. Their natural aspect ratio is the useful one. */
.grid > .scroll-reveal > .bm-ai-media-frame:not(.bm-ai-media-frame--hero),
.grid > .flex > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) {
    height: auto;
    max-height: 34rem;
}
.grid > .scroll-reveal > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) > .bm-ai-media-image,
.grid > .flex > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) > .bm-ai-media-image {
    height: auto;
    max-height: 34rem;
    object-fit: contain;
}
.article-content > .bm-ai-media-frame > .bm-ai-media-image,
.article-content .bm-ai-media-frame > .bm-ai-media-image,
#article-body > .bm-ai-media-frame > .bm-ai-media-image,
#article-body .bm-ai-media-frame > .bm-ai-media-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: none !important;
}
.v3-nav-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.v3-nav-logo img {
    display: block;
    width: min(250px, 100%);
    height: auto;
    max-height: 70px;
    margin: -4px 0;
    object-fit: contain;
    object-position: left center;
    position: relative;
    z-index: 2;
    transform: none;
    transform-origin: left center;
}
.v3-nav-links {
    position: relative;
    display: flex; gap: 2.35rem; align-items: center;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.v3-nav.v3-nav-home .v3-nav-links {
    padding: 0.7rem 1.5rem 0.7rem 1rem;
}
.v3-nav.v3-nav-home .v3-nav-links::before {
    content: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.v3-nav-links > * {
    position: relative;
    z-index: 1;
}
.v3-nav-links a {
    color: var(--color-gold-light); text-decoration: none; font-size: 1rem;
    letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400;
    transition: color 0.3s; font-family: var(--font-body);
    white-space: nowrap;
}
.v3-nav-links a:hover { color: #E8CBA0; }
/* Active nav link */
.v3-nav-links a.active,
.v3-nav-links .nav-dropdown-trigger.active { color: var(--color-gold-light) !important; }
.v3-nav-links .v3-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    position: relative;
    overflow: hidden;
    padding: var(--space-12) var(--space-32);
    border: none;
    background: linear-gradient(135deg, #C49A6C 0%, #D4B08C 40%, #E8CBA0 55%, #D4B08C 70%, #A67C52 100%) !important;
    color: #0A0A0F !important;
    box-shadow: 0 2px 12px rgba(196, 154, 108, 0.3), inset 0 1px 0 rgba(255,255,255,0.25);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2 !important;
    transition: all 0.4s ease;
}
.v3-nav-links .v3-nav-cta:visited {
    color: #0A0A0F !important;
}
.v3-nav-links .v3-nav-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s ease;
}
.v3-nav-links .v3-nav-cta:hover::before { left: 120%; }
.v3-nav-links .v3-nav-cta:hover {
    color: #0A0A0F !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 154, 108, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
/* Der aktive CTA bleibt auf dem Goldgrund dunkel (auch bei .active-Regeln). */
.v3-nav-links a.v3-nav-cta.active,
.v3-nav-links a.v3-nav-cta.active:visited,
.v3-nav-links a.v3-nav-cta.active:hover {
    color: #0A0A0F !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown:hover,
.nav-dropdown.is-open {
    z-index: 80;
}
.nav-dropdown-trigger {
    display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer;
}
.nav-dropdown-trigger svg {
    width: 10px; height: 10px; transition: transform 0.3s;
}
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 0.9rem;
}
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 1rem); left: 0; min-width: 280px;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(196, 154, 108, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 0.5rem 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.3s ease; pointer-events: none;
    z-index: 90;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.nav-dropdown-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 1.5rem !important; font-size: 1rem !important;
    letter-spacing: 0.08em !important; color: #FFFFFF !important; transition: all 0.2s !important;
}
.nav-dropdown-menu a:hover {
    color: #C49A6C !important; background: rgba(196, 154, 108, 0.08);
    padding-left: 1.75rem !important;
}
.nav-dropdown-menu a.active {
    color: #C49A6C !important;
    background: rgba(196, 154, 108, 0.08);
}
.nav-dropdown-menu a span.arrow {
    opacity: 0; transform: translateX(-4px); transition: all 0.2s; font-size: 0.7rem;
}
.nav-dropdown-menu a:hover span.arrow { opacity: 1; transform: translateX(0); }

/* Ratgeber Mega Menu */
.nav-dropdown.nav-mega::after {
    left: 0;
    width: 100%;
    transform: none;
}
.nav-dropdown.nav-mega .nav-dropdown-menu {
    position: fixed;
    top: 5.75rem;
    left: auto;
    right: max(2rem, calc((100% - var(--max-width)) / 2 + 2rem));
    width: min(1000px, calc(100vw - 56px));
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 31, 0.995) 0%, rgba(10, 10, 15, 0.995) 58%, rgba(20, 20, 31, 0.99) 100%);
    backdrop-filter: blur(30px) saturate(1.25);
    -webkit-backdrop-filter: blur(30px) saturate(1.25);
    border-color: rgba(196, 154, 108, 0.18);
    transform: translateY(12px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}
.nav-dropdown.nav-mega:hover .nav-dropdown-menu,
.nav-dropdown.nav-mega.is-open .nav-dropdown-menu {
    transform: translateY(0);
}
.nav-menu-kicker {
    margin: 0 0 0.35rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.2;
    letter-spacing: 0.105em;
    text-transform: uppercase;
    color: #C49A6C;
    font-weight: 700;
}
.nav-menu-copy {
    margin: 0;
    max-width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.45;
    color: #FFFFFF;
    letter-spacing: 0;
    text-transform: none;
}
/* Unified Mega Menu - editorial two-column layout */
.nav-dropdown.nav-mega .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(196, 154, 108, 0.08), transparent 32%, rgba(196, 154, 108, 0.04));
}
.nav-mega-menu {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2.28fr);
}
.nav-mega-grid.nav-mega-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nav-mega-intro {
    position: relative;
    z-index: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    padding: 1.55rem 1.35rem;
    border-right: 1px solid rgba(196, 154, 108, 0.14);
    border-bottom: 0;
    background: rgba(196, 154, 108, 0.055);
}
.nav-mega-intro::before {
    content: none;
    display: none;
}
.nav-mega-title {
    display: block;
    margin: 0 0 1.05rem;
    font-family: var(--font-heading);
    font-size: 2.05rem;
    line-height: 0.95;
    color: #FFFFFF;
    font-weight: 600;
}
.nav-mega-intro .nav-menu-kicker {
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    font-weight: 300;
}
.nav-mega-intro .nav-menu-copy {
    color: #FFFFFF;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 300;
}
.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.25rem 1.05rem;
    gap: 0;
    border-bottom: 1px solid rgba(196, 154, 108, 0.12);
}
.nav-mega-grid > div {
    padding: 0 1rem;
    border: 0;
    background: transparent;
}
.nav-mega-grid > div:not(:first-child) {
    border-left: 1px solid rgba(196, 154, 108, 0.10);
}
.nav-mega-section-title {
    font-family: var(--font-body);
    color: #C49A6C;
    font-weight: 700;
    position: relative;
    margin-bottom: 0.5rem;
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: left;
}
.nav-mega-menu .nav-mega-grid a {
    position: relative;
    justify-content: flex-start;
    gap: 0.65rem;
    text-align: left;
    min-height: 2.45rem;
    padding: 0.42rem 0 !important;
    color: #FFFFFF !important;
    font-size: 0.98rem !important;
    line-height: 1.32 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}
.nav-mega-menu .nav-mega-grid a:hover,
.nav-mega-menu .nav-mega-grid a.active {
    padding-left: 0 !important;
    color: #D4B08C !important;
    background: transparent;
}
.nav-mega-menu .nav-mega-grid a span.arrow,
.nav-mega-menu .nav-mega-tool-grid a span.arrow {
    flex: 0 0 auto;
    margin-left: auto;
    transform: none;
    transition: opacity 0.2s ease;
}
.nav-mega-menu .nav-mega-grid a:hover span.arrow,
.nav-mega-menu .nav-mega-grid a.active span.arrow,
.nav-mega-menu .nav-mega-tool-grid a:hover span.arrow,
.nav-mega-menu .nav-mega-tool-grid a.active span.arrow {
    transform: none;
    opacity: 1;
}
.nav-mega-tools {
    position: relative;
    z-index: 1;
    grid-column: 2;
    margin: 0;
    padding: 1.05rem 1.35rem 1.25rem;
    border-top: 0;
    background: rgba(10, 10, 15, 0.28);
}
.nav-mega-tools-head {
    display: grid;
    grid-template-columns: minmax(10rem, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.nav-mega-tools-head .nav-menu-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}
.nav-mega-tools-head .nav-menu-copy {
    max-width: 34rem;
    color: #FFFFFF;
    font-size: 0.88rem;
    line-height: 1.4;
}
.nav-mega-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.46rem;
}
.nav-mega-menu .nav-mega-tool-grid a {
    justify-content: flex-start;
    gap: 0.65rem;
    text-align: left;
    min-height: 2.35rem;
    padding: 0.54rem 0.7rem !important;
    border: 1px solid rgba(196, 154, 108, 0.12);
    background: rgba(255, 255, 255, 0.022);
    color: #FFFFFF !important;
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.nav-mega-menu .nav-mega-tool-grid a:hover,
.nav-mega-menu .nav-mega-tool-grid a.active {
    padding-left: 0.7rem !important;
    color: #D4B08C !important;
    border-color: rgba(196, 154, 108, 0.34);
    background: rgba(196, 154, 108, 0.075);
}
.nav-mega-intro .nav-menu-copy,
.nav-mega-tools-head .nav-menu-copy,
.nav-mega-menu .nav-mega-grid a,
.nav-mega-menu .nav-mega-tool-grid a {
    color: #FFFFFF !important;
}
@media (min-width: 1101px) and (max-width: 1280px) {
    .nav-dropdown.nav-mega .nav-dropdown-menu {
        width: min(940px, calc(100vw - 36px));
        transform: translateY(12px);
    }
    .nav-dropdown.nav-mega:hover .nav-dropdown-menu,
    .nav-dropdown.nav-mega.is-open .nav-dropdown-menu {
        transform: translateY(0);
    }
    .nav-mega-menu {
        grid-template-columns: 210px minmax(0, 1fr);
    }
    .nav-mega-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-mega-grid > div {
        padding: 0 0.72rem;
    }
}

/* Mobile Nav */
.v3-menu-toggle {
    display: none;
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    box-sizing: border-box;
    flex: 0 0 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    z-index: 120;
    border: 1px solid rgba(196, 154, 108, 0.35);
    background: rgba(20, 20, 31, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer;
}
.v3-menu-toggle span {
    display: block;
    width: 1.45rem;
    height: 2px;
    margin: 0;
    background: #C49A6C;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
}
.v3-menu-toggle.active span:nth-child(1),
.v3-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.v3-menu-toggle.active span:nth-child(2),
.v3-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.v3-menu-toggle.active span:nth-child(3),
.v3-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.v3-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(10, 10, 15, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.v3-mobile-overlay.active,
.v3-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Menu Panel */
.v3-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    width: 100vw;
    max-width: 100vw;
    background:
        radial-gradient(circle at 82% 8%, rgba(196, 154, 108, 0.13), transparent 34%),
        linear-gradient(155deg, rgba(20, 20, 31, 0.995) 0%, rgba(10, 10, 15, 0.995) 58%, rgba(20, 20, 31, 0.99) 100%);
    border-left: 0;
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.48);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.v3-mobile-menu.active,
.v3-mobile-menu.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
}
body.mobile-menu-open {
    overflow: hidden;
}

/* Mobile Menu Header */
.v3-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(196, 154, 108, 0.16);
}
.v3-mobile-header img {
    height: 3rem;
    width: auto;
}
.v3-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    border: 1px solid rgba(196, 154, 108, 0.32);
    background: rgba(196, 154, 108, 0.06);
    color: var(--color-gold, #C49A6C);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.v3-mobile-close:hover {
    border-color: rgba(196, 154, 108, 0.65);
    background: rgba(196, 154, 108, 0.1);
}

/* Mobile Menu Body */
.v3-mobile-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.v3-mobile-panel {
    position: absolute;
    inset: 0;
    padding: 1.35rem 1.25rem 1.6rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(16%, 0, 0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0.34s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 154, 108, 0.45) rgba(255, 255, 255, 0.05);
}
.v3-mobile-menu[data-panel-direction="back"] .v3-mobile-panel {
    transform: translate3d(-12%, 0, 0);
}
.v3-mobile-menu .v3-mobile-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}
.v3-mobile-panel-kicker,
.v3-mobile-section-title {
    margin-bottom: 0.75rem;
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-gold, #C49A6C);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.v3-mobile-panel-title {
    margin-bottom: 1.35rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 0.95;
    color: #FFFFFF;
}
.v3-mobile-panel-title span {
    color: #C49A6C;
    font: inherit;
}
.v3-mobile-panel-copy {
    margin: -0.65rem 0 1.25rem;
    max-width: 22rem;
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
}
.v3-mobile-panel-trigger,
.v3-mobile-back,
.v3-mobile-body a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.018);
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 1rem;
    line-height: 1.25;
    color: #FFFFFF !important;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}
.v3-mobile-panel-trigger {
    min-height: 5rem;
    border-color: rgba(196, 154, 108, 0.14);
    background:
        linear-gradient(90deg, rgba(196, 154, 108, 0.06), rgba(255, 255, 255, 0.015));
}
.v3-mobile-panel-trigger + .v3-mobile-panel-trigger,
.v3-mobile-link-list a + a,
.v3-mobile-body a + a {
    margin-top: 0.45rem;
}
.v3-mobile-panel-trigger strong,
.v3-mobile-panel-trigger span,
.v3-mobile-panel-trigger small {
    display: block;
}
.v3-mobile-panel-trigger strong {
    margin-bottom: 0.25rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 1.3rem;
    line-height: 1.1;
    color: #FFFFFF;
}
.v3-mobile-panel-trigger small {
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 0.86rem;
    line-height: 1.35;
    color: #FFFFFF;
}
.v3-mobile-panel-trigger::after,
.v3-mobile-back::before {
    color: #C49A6C;
    font-size: 1.15rem;
    line-height: 1;
}
.v3-mobile-panel-trigger::after {
    content: '\2192';
    flex: 0 0 auto;
}
.v3-mobile-back {
    justify-content: flex-start;
    width: auto;
    min-height: 2.6rem;
    margin-bottom: 1.1rem;
    padding: 0.55rem 0.8rem;
    border-color: rgba(196, 154, 108, 0.18);
    color: #C49A6C !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}
.v3-mobile-back::before {
    content: '\2190';
}
.v3-mobile-link-list {
    display: grid;
    gap: 0.45rem;
}
.v3-mobile-section {
    margin-top: 1.25rem;
}
.v3-mobile-body a::after {
    content: '\2192';
    color: #C49A6C;
    font-size: 1rem;
    line-height: 1;
}
.v3-mobile-body a:hover,
.v3-mobile-body a.active,
.v3-mobile-panel-trigger:hover,
.v3-mobile-panel-trigger:focus-visible,
.v3-mobile-back:hover,
.v3-mobile-back:focus-visible {
    color: #C49A6C !important;
    border-color: rgba(196, 154, 108, 0.24);
    background: rgba(196, 154, 108, 0.07);
    padding-left: 1rem;
}

/* Mobile Menu Footer */
.v3-mobile-footer {
    position: sticky;
    bottom: 0;
    padding: 1rem 1.1rem 1.2rem;
    border-top: 1px solid rgba(196, 154, 108, 0.15);
    background:
        linear-gradient(180deg, rgba(20, 20, 31, 0.86), rgba(10, 10, 15, 0.98));
    margin-top: auto;
}
.v3-mobile-footer .btn-gold {
    display: flex;
    width: 100%;
    margin-bottom: 0.75rem;
}
.v3-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.8rem;
    border: 1px solid rgba(196, 154, 108, 0.28);
    font-family: var(--font-body, 'Source Sans 3', sans-serif);
    font-size: 1rem;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.v3-mobile-phone:hover {
    color: var(--color-gold, #C49A6C) !important;
    border-color: rgba(196, 154, 108, 0.55);
    background: rgba(196, 154, 108, 0.06);
}

@media (max-width: 1100px) {
    :root {
        --ai-label-font-size: 0.75rem;
    }
    .bm-ai-media-frame > .bm-ai-media-image {
        transform: scale(1.12) translateY(1%);
    }
    .bm-ai-media-frame:hover > .bm-ai-media-image {
        transform: scale(1.15) translateY(1%);
    }
    .bm-ai-label-overlay {
        right: 0.5rem;
        top: 0.5rem;
        bottom: auto;
        width: auto;
    }
    .bm-ai-label-overlay--top {
        top: 0.55rem;
        bottom: auto;
    }
    .bm-ai-media-frame > .bm-ai-label-overlay,
    .home-service-image .bm-ai-label-overlay {
        width: auto !important;
    }

    .page-solid-nav .bm-ai-media-frame--hero > .bm-ai-label-overlay {
        width: auto !important;
    }
    a.prestige-card.group > .overflow-hidden > .bm-ai-media-frame--fill > .bm-ai-media-image {
        object-fit: cover !important;
        transform: none !important;
    }
    .v3-nav-links { display: none !important; }
    .v3-menu-toggle { display: flex !important; }
    .v3-nav {
        padding: 0.9rem 0 !important;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(196, 154, 108, 0.1), 0 4px 20px rgba(0, 0, 0, 0.28);
    }
    .v3-nav-inner {
        padding: 0 1rem;
        justify-content: flex-start;
        gap: 1rem;
    }
    .v3-nav-logo {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100vw - 6.5rem);
        margin-right: auto;
        display: flex;
        align-items: center;
    }
    .v3-nav-logo img {
        display: block;
        width: min(16rem, calc(100vw - 6.5rem));
        height: 58px;
        margin: -6px 0;
        object-fit: contain;
        object-position: left center;
        transform: translateY(8px) scale(1.03);
        transform-origin: left center;
    }
    .v3-menu-toggle {
        margin-left: auto;
    }
    .page-solid-nav { --solid-nav-offset: 5.5rem; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
    .v3-nav-links {
        gap: 1.35rem;
        padding: 0;
    }
    .v3-nav.v3-nav-home .v3-nav-links {
        padding: 0.65rem 1rem 0.65rem 0.65rem;
    }
    .v3-nav-links a {
        font-size: 0.88rem;
        letter-spacing: 0.09em;
    }
    .v3-nav-cta { padding: var(--space-8) var(--space-24); }
}

/* --- FAQ Accordion (→ WP: custom FAQ block) --- */
.faq-item {
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.1);
    transition: border-color 0.3s;
}
.faq-item[open] {
    border-color: rgba(196, 154, 108, 0.25);
}
.faq-item summary {
    list-style: none;
    padding: 0.9rem 1.25rem !important;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { transition: transform 0.3s ease; }
.faq-item[open] summary .faq-icon { transform: rotate(180deg); }
#faq .faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    opacity: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #FFFFFF;
    transition: max-height 0.36s cubic-bezier(0.22, 1, 0.36, 1), padding 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}
.faq-item[open] .faq-answer {
    max-height: 1000px;
    padding: 0 1.25rem 1rem;
    opacity: 1;
}

/* Keep the homepage FAQ cards as compact as the shared accordion pattern.
   The page markup adds Tailwind's p-6 utility, so this explicit component
   rule keeps the reduced vertical rhythm consistent across every FAQ. */
.faq-item.p-6 {
    padding: 1rem 1.25rem !important;
}

/* --- Breadcrumb (→ WP: Yoast/RankMath breadcrumb or custom) --- */
.breadcrumb { padding-top: 7rem; padding-bottom: 0.75rem; margin-bottom: 0; }
.page-solid-nav .breadcrumb { padding-top: 1.75rem; }
/* Exakt gleiche Ausrichtung wie .v3-nav-inner */
.breadcrumb .container,
.breadcrumb > div {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
@media (max-width: 768px) {
    .page-solid-nav .breadcrumb {
        padding-top: 1.1rem;
        padding-bottom: 0.85rem;
    }
    .breadcrumb .container,
    .breadcrumb > div { padding: 0 1rem; }
}
.breadcrumb ol { display: flex; align-items: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.breadcrumb a { color: #FFFFFF; text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb .separator { color: rgba(196, 154, 108, 0.4); }
.breadcrumb .current { color: var(--color-gold); }

/* --- Article Content (→ WP: post-content styles) --- */
.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 6rem;
    text-wrap: balance;
}
.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-wrap: balance;
}
.article-content p {
    font-family: var(--font-body);
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-wrap: pretty;
    word-break: normal;
    hyphens: auto;
    widows: 3;
    orphans: 3;
}
.article-content strong { color: #FFFFFF; font-weight: 600; }
.article-content a {
    color: var(--color-gold); text-decoration: underline;
    text-underline-offset: 3px; transition: color 0.3s;
}
.article-content a:visited { color: var(--color-gold) !important; }
.article-content a:hover { color: var(--color-gold-light); }
.article-content ul, .article-content ol {
    padding-left: 1.5rem; margin-bottom: 1rem;
}
.article-content li {
    font-family: var(--font-body);
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    text-wrap: pretty;
    word-break: normal;
    hyphens: auto;
    widows: 3;
    orphans: 3;
}
.article-content li::marker { color: var(--color-gold); }

/* Editorial article figures stay readable and restrained. The global media
   treatment must not enlarge diagrams and explanatory images beyond the text
   column or crop their edges. */
.article-content > figure,
.article-content figure,
#article-body > figure,
#article-body figure {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.article-content figure > .bm-ai-media-frame,
#article-body figure > .bm-ai-media-frame {
    width: 100%;
    max-width: 100%;
}
.article-content figure > .bm-ai-media-frame > .bm-ai-media-image,
#article-body figure > .bm-ai-media-frame > .bm-ai-media-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none !important;
}

/* --- Tables (→ WP: wp:table with custom class) --- */
.bm-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 1rem; }
.bm-table thead tr { border-bottom: 1px solid rgba(196, 154, 108, 0.2); }
.bm-table th {
    text-align: left; padding: 0.75rem 1rem; color: var(--color-gold); font-weight: 600;
}
.bm-table td { padding: 0.75rem 1rem; color: #FFFFFF; }
.bm-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.bm-table tbody tr:hover { background: rgba(255,255,255,0.02); }

@media (max-width: 640px) {
    .bm-table--responsive,
    .bm-table--responsive tbody {
        display: block;
        width: 100%;
    }

    .bm-table--responsive {
        border-collapse: separate;
        table-layout: auto;
    }

    .bm-table--responsive thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .bm-table--responsive tbody tr {
        display: block;
        margin: 0 0 0.85rem;
        padding: 0.35rem 1rem;
        border: 1px solid rgba(196, 154, 108, 0.22);
        background: rgba(10, 10, 15, 0.34);
    }

    .bm-table--responsive tbody tr:last-child {
        margin-bottom: 0;
    }

    .bm-table--responsive td {
        display: block;
        width: 100%;
        padding: 0.72rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: #FFFFFF;
        text-align: left !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .bm-table--responsive td:last-child {
        border-bottom: 0;
    }

    .bm-table--responsive td::before {
        display: block;
        content: attr(data-label);
        margin-bottom: 0.22rem;
        color: var(--color-gold);
        font-weight: 600;
        line-height: 1.35;
    }

    .bm-table--responsive tbody tr:hover {
        background: rgba(10, 10, 15, 0.34);
    }
}

/* --- Citeable editorial lead (semantic excerpt without card chrome) --- */
.citeable-block {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 1.5rem 0;
    max-width: none;
    font-family: var(--font-body);
    font-size: inherit;
    font-style: normal;
    line-height: 1.75;
    color: #FFFFFF;
}
.citeable-block > p,
.citeable-block p,
.citeable-block li {
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
    text-wrap: pretty;
    word-break: normal;
    hyphens: auto;
    widows: 3;
    orphans: 3;
}

/* --- Author Box (→ WP: custom author-box block) --- */
.ratgeber-frame {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.ratgeber-hero-breadcrumb,
.page-hero-breadcrumb {
    margin-bottom: 24px;
}
.ratgeber-hero-breadcrumb ol,
.page-hero-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ratgeber-hero-breadcrumb a,
.page-hero-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}
.ratgeber-hero-breadcrumb a:hover,
.ratgeber-hero-breadcrumb .current,
.page-hero-breadcrumb a:hover,
.page-hero-breadcrumb .current {
    color: var(--color-gold);
}
.ratgeber-hero-breadcrumb .separator,
.page-hero-breadcrumb .separator {
    color: rgba(196, 154, 108, 0.45);
}
.ratgeber-hero-gradient-side,
.page-hero-gradient-side {
    background: linear-gradient(90deg,
        rgba(10, 10, 15, 0.88) 0%,
        rgba(10, 10, 15, 0.72) 24%,
        rgba(10, 10, 15, 0.44) 48%,
        rgba(10, 10, 15, 0.14) 64%,
        rgba(10, 10, 15, 0) 74%,
        rgba(10, 10, 15, 0) 100%);
}

body.page-solid-nav main > section:first-child h1.font-cormorant.text-3xl {
    width: 100%;
    max-width: 56rem;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: normal;
}

@media (max-width: 768px) {
    body .page-hero-content {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
    }

    .page-hero-actions {
        align-items: stretch !important;
    }

    .page-hero-actions > :where(.btn-gold, .btn-outline-copper) {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 4.5rem;
        margin-inline: 0 !important;
    }
}

/* The side gradient is the hero's only darkening layer. A second full-frame
   overlay would mute the image again on service and guide pages. */
.ratgeber-hero-gradient-side ~ div[class*="bg-dark-bg/"] {
    display: none !important;
}
.page-hero-gradient-side ~ div[class~="bg-dark-bg/40"] {
    display: none !important;
}

/* Impressum and privacy policy deliberately use a restrained image header:
   visually connected to the main subpages, but compact enough for legal copy. */
.legal-page-hero {
    min-height: 13.75rem;
    display: flex;
    align-items: flex-end;
    background: var(--color-dark-bg);
    border-bottom: 1px solid rgba(196, 154, 108, 0.14);
}
.legal-page-hero__content {
    width: 100%;
    padding-top: 7rem;
    padding-bottom: 2rem;
}
.legal-page-hero__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(8, 9, 16, 0.98) 0%,
            rgba(8, 9, 16, 0.92) 28%,
            rgba(8, 9, 16, 0.68) 55%,
            rgba(8, 9, 16, 0.28) 100%),
        linear-gradient(0deg, rgba(8, 9, 16, 0.55), rgba(8, 9, 16, 0.08));
}
.legal-page-hero .bm-ai-media-frame--hero > .legal-page-hero__image {
    object-position: 70% 66% !important;
}
.legal-page-hero .bm-ai-media-frame--hero > .bm-ai-label-overlay {
    width: auto !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    bottom: auto !important;
}

@media (max-width: 639px) {
    .legal-page-hero {
        min-height: 12.5rem;
    }
    .legal-page-hero__content {
        padding-top: 6rem;
        padding-bottom: 1.5rem;
    }
    .legal-page-hero__overlay {
        background: linear-gradient(90deg,
            rgba(8, 9, 16, 0.98) 0%,
            rgba(8, 9, 16, 0.88) 60%,
            rgba(8, 9, 16, 0.5) 100%);
    }
}

.about-hero-person {
    right: max(1.5rem, calc((100vw - var(--max-width)) / 2 + 5rem));
}

@media (max-width: 639px) {
    .about-hero-person {
        right: -18%;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .about-hero-person {
        right: max(2rem, calc((100vw - var(--max-width)) / 2 + 3rem));
    }
}

.ratgeber-grid {
    width: 100%;
}
.ratgeber-grid > aside {
    align-self: stretch;
}
.ratgeber-sidebar-sticky {
    position: sticky;
    top: 8rem;
}
.ratgeber-main {
    width: 100%;
}
.ratgeber-sidebar-author {
    padding-top: 0.15rem;
}
.ratgeber-sidebar-author,
.ratgeber-main > .author-box.lg\:hidden {
    display: none !important;
}
.ratgeber-sidebar-author + .ratgeber-sidebar-toc {
    margin-top: 0;
}
.ratgeber-sidebar-avatar {
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 4.25rem;
    border: 1px solid rgba(196, 154, 108, 0.32);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.ratgeber-sidebar-name {
    margin: 0 0 0.15rem;
    font-size: 1.2rem !important;
    line-height: 1.08;
    color: #FFFFFF;
}
.ratgeber-sidebar-meta {
    margin: 0;
    font-size: 0.95rem !important;
    line-height: 1.25;
}
.ratgeber-sidebar-toc {
    margin-top: 1.65rem;
}
.ratgeber-sidebar-toc-title {
    margin: 0 0 1.1rem;
    font-size: 0.92rem !important;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.ratgeber-sidebar-toc-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.ratgeber-sidebar-toc-list a {
    display: block;
    font-size: 1.08rem !important;
    line-height: 1.28;
    font-weight: 500;
}
.ratgeber-main .citeable-block {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.ratgeber-lead {
    padding: 0;
    margin-top: 0;
    margin-bottom: 2.5rem;
}
.ratgeber-rechner {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .ratgeber-grid {
        align-items: start;
    }
    .ratgeber-main .rechner-shell,
    .ratgeber-main .article-content,
    .ratgeber-main > .mt-16,
    .ratgeber-main > .author-box {
        max-width: none;
    }
}
@media (max-width: 768px) {
    .ratgeber-frame {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .ratgeber-hero-breadcrumb,
    .page-hero-breadcrumb {
        margin-bottom: 24px;
    }
    .ratgeber-hero-breadcrumb ol,
    .page-hero-breadcrumb ol {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(196, 154, 108, 0.1);
    border-bottom: 1px solid rgba(196, 154, 108, 0.1);
}
.author-box > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}
.author-box > div > p {
    margin-top: 0;
    margin-bottom: 0;
}
.author-box > .bm-ai-media-frame {
    flex: 0 0 8.5rem;
    width: 8.5rem;
    height: 8.5rem;
    max-width: 8.5rem;
    display: grid;
    place-items: center;
    overflow: visible;
}
.ratgeber-sidebar-author .bm-ai-media-frame {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    height: 6.5rem;
    max-width: 6.5rem;
    display: grid;
    place-items: center;
    overflow: visible;
}
.author-box > .bm-ai-media-frame > .bm-ai-media-image {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}
.ratgeber-sidebar-author .bm-ai-media-frame > .bm-ai-media-image {
    width: 5.25rem;
    height: 5.25rem;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}
.author-box .bm-ai-label-overlay--portrait,
.ratgeber-sidebar-author .bm-ai-label-overlay--portrait {
    inset: 0 !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    height: 100% !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.bm-ai-author-ring {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.bm-ai-author-ring__outline {
    fill: none;
    stroke: rgba(196, 154, 108, 0.72);
    stroke-width: 0.8;
}
.bm-ai-author-ring__text {
    fill: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 6.9px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}
@media (min-width: 1024px) {
    .author-box.lg\:hidden,
    .toc.lg\:hidden {
        display: none !important;
    }
}
.author-box img { border-radius: 50%; object-fit: cover; }

/* Text-only article authorship: visible expertise without using an AI
   portrait as a personal identity marker. */
.article-author-kicker {
    margin: 0;
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.72rem !important;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}
.article-author-card h3 a {
    color: inherit;
    text-decoration: none;
}
.article-author-card h3 a:hover,
.article-author-card h3 a:focus-visible {
    color: var(--color-gold-light);
}
.article-author-card {
    width: 100%;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(196, 154, 108, 0.24);
    border-top: 2px solid rgba(196, 154, 108, 0.86);
    background: rgba(255, 255, 255, 0.025);
}
.article-author-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.article-author-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
    gap: 1rem 2rem;
    margin-top: 0.65rem;
}
.article-author-card__intro h3 {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.2vw, 1.7rem) !important;
    font-weight: 600;
    line-height: 1.08;
}
.article-author-card__intro p {
    max-width: 30rem;
    margin: 0.38rem 0 0;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.45;
}
.article-author-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    align-self: center;
}
.article-author-card__facts > div {
    min-width: 0;
    padding: 0.1rem 0.55rem;
    border-left: 1px solid rgba(196, 154, 108, 0.18);
}
.article-author-card__facts dt,
.article-author-card__facts dd {
    margin: 0;
    font-family: var(--font-body);
}
.article-content-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    padding: 0 0.1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
}
.article-content-status span {
    color: var(--color-gold-light);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.article-author-card__facts dt {
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.article-author-card__facts dd {
    margin-top: 0.22rem;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}
.article-author-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin: 0;
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}
.article-author-card__link:hover,
.article-author-card__link:focus-visible {
    color: #FFFFFF;
}

@media (max-width: 760px) {
    .article-author-card__body {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .article-author-card__facts {
        padding-top: 0.8rem;
        border-top: 1px solid rgba(196, 154, 108, 0.14);
    }
    .article-author-card__facts > div:first-child {
        padding-left: 0;
        border-left: 0;
    }
    .article-content-status {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .article-author-card {
        padding: 1rem;
    }
    .article-author-card__facts > div {
        padding: 0.05rem 0.45rem;
        border-bottom: 0;
    }
    .article-author-card__facts > div:first-child {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .author-box {
        gap: 1rem;
    }
    .author-box > .bm-ai-media-frame {
        flex-basis: 7rem;
        width: 7rem;
        height: 7rem;
        max-width: 7rem;
    }
    .author-box > .bm-ai-media-frame > .bm-ai-media-image {
        width: 5.75rem;
        height: 5.75rem;
    }
}

/* --- Location Page Components --- */
.location-photo-band {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(196, 154, 108, 0.16);
    border-bottom: 1px solid rgba(196, 154, 108, 0.16);
    background: var(--color-surface);
}
.location-photo-band .bm-ai-media-frame > .bm-ai-media-image {
    width: 100%;
    height: clamp(16rem, 34vw, 28rem);
    display: block;
    object-fit: cover;
}
.location-photo-band .container {
    max-width: none;
    padding: 0;
}
.location-photo-band .scroll-reveal {
    opacity: 1;
    transform: none;
}
.location-photo-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10, 10, 15, 0.42), rgba(10, 10, 15, 0.02) 58%),
        linear-gradient(90deg, rgba(10, 10, 15, 0.18), transparent 42%, rgba(10, 10, 15, 0.14));
    pointer-events: none;
}
.ortsteil-card,
.review-card {
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.125);
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ortsteil-card:hover,
.review-card:hover {
    border-color: rgba(196, 154, 108, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.review-card {
    position: relative;
}
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: rgba(196, 154, 108, 0.2);
}
.google-reviews-widget {
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.18);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.google-reviews-widget[aria-busy="true"] [data-google-reviews-content] {
    opacity: 0.65;
}
.google-reviews-carousel {
    display: grid;
    grid-template-columns: minmax(14rem, 0.68fr) minmax(0, 1.32fr);
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
    align-items: center;
    width: 100%;
    padding: 2.5rem 0 0;
}
.google-reviews-carousel__intro {
    min-width: 0;
    align-self: center;
    max-width: 17rem;
    padding-block: 0.75rem;
}
.google-reviews-carousel__intro h3 { margin: 0.35rem 0 0.5rem; }
.google-reviews-carousel__intro p { margin-top: 0; }
.google-reviews-carousel__content {
    position: relative;
    min-width: 0;
    padding-bottom: 2rem;
}
.google-reviews-carousel__stage {
    min-width: 0;
    min-height: 0;
    height: 18.5rem;
    display: grid;
    align-items: stretch;
}
.google-reviews-carousel__slide {
    position: relative;
    overflow: hidden;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    height: 18.5rem;
    min-height: 18.5rem;
    padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.35rem, 2.8vw, 2.25rem);
    background: linear-gradient(145deg, rgba(196, 154, 108, 0.055), rgba(10, 10, 15, 0.12));
    border: 1px solid rgba(196, 154, 108, 0.4);
    border-top: 2px solid rgba(218, 177, 119, 0.72);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.google-reviews-carousel__slide::before {
    content: '\201C';
    position: absolute;
    z-index: 0;
    top: -1.65rem;
    left: 3.45rem;
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 8rem;
    font-style: normal;
    line-height: 1;
    opacity: 0.13;
    pointer-events: none;
}
.google-reviews-carousel__meta .google-reviews-stars {
    display: block;
    margin: 0 0 0 0.55rem;
    color: var(--color-gold-light);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    line-height: 1;
}
.google-reviews-carousel__quote {
    position: relative;
    z-index: 1;
    width: min(100%, 44rem);
    margin: auto;
    padding: 0 clamp(2.6rem, 4.5vw, 3.4rem);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(1.28rem, 1.6vw, 1.68rem);
    font-style: italic;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
}
.google-reviews-carousel__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    margin: 1rem auto 0;
    text-align: center;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.45;
}
.google-reviews-carousel__author { color: var(--color-gold-light); font-weight: 600; }
.google-reviews-carousel__controls {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
}
.google-reviews-carousel__controls[hidden] { display: none; }
.google-reviews-carousel__controls > button {
    position: absolute;
    top: calc((100% - 2rem) / 2);
    z-index: 3;
    transform: translateY(-50%);
    pointer-events: auto;
    display: inline-grid;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    padding: 0;
    color: var(--color-gold-light);
    background: rgba(10, 10, 15, 0.84);
    border: 1px solid rgba(218, 177, 119, 0.72);
    border-radius: 50%;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.google-reviews-carousel__controls > button:first-child {
    left: 0.75rem;
}
.google-reviews-carousel__controls > button:last-child {
    right: 0.75rem;
}
.google-reviews-carousel__controls > button:hover {
    color: var(--text-on-gold);
    background: var(--color-gold);
    border-color: var(--color-gold);
}
.google-reviews-carousel__controls > button:active {
    color: var(--text-on-gold);
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(calc(-50% + 1px));
}
.google-reviews-carousel__controls > button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
.google-reviews-carousel__controls > button:focus-visible,
.google-reviews-carousel__dot:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 3px;
}
.google-reviews-carousel__controls [data-google-reviews-carousel-dots] {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
}
.google-reviews-carousel__dot {
    width: 0.65rem;
    height: 0.65rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.google-reviews-carousel__dot.is-active {
    background: var(--color-gold);
    transform: scale(1.2);
}
.google-reviews-carousel__source {
    display: none;
}
.google-reviews-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.google-reviews-summary .google-reviews-stars {
    font-size: 1rem;
    letter-spacing: 0.12em;
}
.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.google-review-item {
    min-width: 0;
    padding: 1.25rem;
    background: rgba(10, 10, 15, 0.36);
    border: 1px solid rgba(196, 154, 108, 0.12);
}
.google-review-item .google-reviews-stars {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.google-review-item__text {
    margin: 0 0 0.9rem;
    font-size: 0.94rem;
    line-height: 1.65;
}
.google-review-item__meta {
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.4;
}
.google-review-item__source {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.google-reviews-notice,
.google-reviews-empty {
    margin-top: 1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.5;
}
.google-reviews-brand {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-google-reviews {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 0.85rem;
    padding: 0.6rem 0.9rem;
    background: rgba(196, 154, 108, 0.1);
    border: 1px solid rgba(196, 154, 108, 0.42);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-google-reviews__title {
    flex-shrink: 0;
    padding: 0;
    color: #f1d19a;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-google-reviews__aggregate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(196, 154, 108, 0.35);
}
.hero-google-reviews__aggregate .google-reviews-stars {
    color: #f1d19a;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    line-height: 1;
}
.hero-google-reviews__aggregate strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 0.9;
}
.hero-google-reviews__out-of {
    color: #f1d19a;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}
.hero-google-reviews__count {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hero-google-review__loading,
.hero-google-review .google-reviews-empty {
    display: block;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.68rem;
    line-height: 1.35;
}
.hero-google-review__fallback-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .google-reviews-carousel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 2rem 0 0;
    }
    .google-reviews-carousel__intro {
        max-width: none;
        padding-block: 0;
    }
    .google-reviews-carousel__stage {
        min-height: 0;
        height: 15rem;
    }
    .google-reviews-carousel__slide {
        height: 15rem;
        min-height: 15rem;
        padding: 1.25rem;
    }
    .google-reviews-carousel__quote {
        padding-inline: 2.15rem;
        font-size: 1.22rem;
        line-height: 1.3;
        -webkit-line-clamp: 6;
    }
    .google-reviews-carousel__meta {
        justify-content: center;
        overflow-wrap: anywhere;
        text-align: center;
    }
    .google-reviews-carousel__controls,
    .google-reviews-carousel__source { grid-column: 1; }
    .google-reviews-grid {
        grid-template-columns: 1fr;
    }
    .hero-google-reviews {
        width: 100%;
        max-width: 30rem;
        gap: 0.65rem;
        padding: 0.7rem 0.8rem;
    }
    .hero-google-reviews__aggregate {
        gap: 0.4rem;
        padding-left: 0.65rem;
    }
    .hero-google-reviews__aggregate .google-reviews-stars {
        font-size: 0.95rem;
    }
    .hero-google-reviews__aggregate strong {
        font-size: 1.4rem;
    }
    .hero-google-reviews__count {
        font-size: 0.68rem;
    }
}

.home-trust-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(196, 154, 108, 0.3);
    background: var(--color-surface);
}
.home-trust-card {
    border: 0;
    border-right: 2px solid rgba(196, 154, 108, 0.28);
    box-shadow: none;
}
.home-trust-card:last-child { border-right: 0; }
.home-trust-card:hover {
    border-color: rgba(196, 154, 108, 0.24);
    transform: none;
    box-shadow: none;
}
@media (max-width: 767px) {
    .home-trust-card {
        border-right: 0;
        border-bottom: 2px solid rgba(196, 154, 108, 0.28);
    }
    .home-trust-card:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .google-reviews-carousel__slide,
    .google-reviews-carousel__controls > button,
    .google-reviews-carousel__dot {
        transition: none;
        transform: none;
    }
}
.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(196, 154, 108, 0.06);
    border: 1px solid rgba(196, 154, 108, 0.15);
}
.trust-badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.ortsteil-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 0.2rem 0.6rem;
    background: rgba(196, 154, 108, 0.15);
    color: #C49A6C;
    border: 1px solid rgba(196, 154, 108, 0.3);
    margin-left: 0.5rem;
    vertical-align: middle;
}
.map-placeholder {
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.125);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}
/* Zwei-Klick-Lösung für eingebettete Karten: Erst nach Zustimmung wird
   das iframe erzeugt, vorher geht keine Verbindung zu Google raus. */
.map-consent {
    padding: 2.25rem 1.75rem;
    text-align: center;
    max-width: 30rem;
}
.map-consent .map-consent-btn {
    cursor: pointer;
}
.map-placeholder iframe {
    width: 100%;
    height: 320px;
    border: 0;
    filter: grayscale(1) invert(0.85) hue-rotate(180deg);
}
.highlight-row {
    background: rgba(196, 154, 108, 0.08);
    border-left: 3px solid #C49A6C;
}
.highlight-row td {
    color: #FFFFFF !important;
    font-weight: 600;
}
.highlight-box {
    background: rgba(196, 154, 108, 0.06);
    border: 1px solid rgba(196, 154, 108, 0.2);
    border-left: 4px solid #C49A6C;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}
.neighbor-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.1);
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, color 0.3s, padding-left 0.3s;
}
.neighbor-link:hover {
    border-color: rgba(196, 154, 108, 0.3);
    color: #C49A6C !important;
    padding-left: 1.75rem;
}

/* --- Ratgeber Hub Category Feature --- */
.ratgeber-category-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
    margin: -0.5rem 0 2rem;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid rgba(196, 154, 108, 0.12);
}
.ratgeber-category-image {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border: 1px solid rgba(196, 154, 108, 0.12);
    background: #14141F;
}
.ratgeber-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.ratgeber-category-text {
    max-width: 34rem;
}

@media (max-width: 860px) {
    .ratgeber-category-feature {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .ratgeber-category-image { aspect-ratio: 16 / 8.5; }
}

/* --- Table of Contents (→ WP: custom TOC block) --- */
.toc { margin-bottom: 3rem; }
.toc a {
    color: #FFFFFF; text-decoration: none; transition: color 0.3s; font-size: 1rem;
}
.toc a:visited { color: #FFFFFF !important; }
.toc a:hover { color: var(--color-gold); }

/* --- Process Steps (→ WP: custom pattern) ---
   The marker and heading share one grid row so every number starts exactly
   at the heading block instead of drifting against the text baseline. */
.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
}
.process-step-number {
    position: relative;
    left: auto;
    top: auto;
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    transform: translateY(0.04em);
}
.process-step::before {
    content: '';
    position: absolute; left: 1.5rem; top: 3rem; bottom: -2rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(196, 154, 108, 0.3), transparent);
}
.process-step:last-child::before { display: none; }
.process-step > h3,
.process-step > h4,
.process-step > p,
.process-step > a,
.process-step > div:not(.process-step-number) {
    grid-column: 2;
    min-width: 0;
    margin-top: 0;
}

/* On desktop the process reads as a two-column editorial grid rather than a
   single long rail. The compact dividers keep each step distinct without
   leaving a second, empty column beside the timeline. */
@media (min-width: 1024px) {
    .process-step {
        padding: 1.5rem 0 1.75rem;
        border-top: 1px solid rgba(196, 154, 108, 0.18);
    }

    .process-step::before {
        display: none;
    }
}

/* Safety net for older cached scripts: the baked-in EU label is the only
   image disclosure shown on the page, never a fixed text popup. */
.ai-image-disclosure {
    display: none !important;
}

@media (max-width: 640px) {
    .process-step {
        grid-template-columns: 2.75rem minmax(0, 1fr);
        column-gap: 0.875rem;
    }

    .process-step-number {
        width: 2.75rem;
        height: 2.75rem;
    }

    .process-step::before {
        left: 1.375rem;
        top: 2.75rem;
    }
}

/* --- Hero Overlay Patterns --- */
.hero-gradient-bottom {
    background: linear-gradient(to top, var(--color-bg), rgba(10, 10, 15, 0.7), transparent);
}
.hero-gradient-left {
    background: linear-gradient(to right, var(--color-bg), rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.6));
}
.location-hero-gradient {
    background:
        linear-gradient(to top, rgba(10, 10, 15, 0.76) 0%, rgba(10, 10, 15, 0.36) 38%, rgba(10, 10, 15, 0) 74%),
        linear-gradient(90deg, rgba(10, 10, 15, 0.82) 0%, rgba(10, 10, 15, 0.62) 34%, rgba(10, 10, 15, 0.26) 58%, rgba(10, 10, 15, 0.08) 78%, rgba(10, 10, 15, 0) 100%);
}
@media (max-width: 768px) {
    .location-hero-gradient {
        background:
            linear-gradient(to top, rgba(10, 10, 15, 0.84) 0%, rgba(10, 10, 15, 0.48) 42%, rgba(10, 10, 15, 0.12) 78%),
            linear-gradient(90deg, rgba(10, 10, 15, 0.84) 0%, rgba(10, 10, 15, 0.58) 58%, rgba(10, 10, 15, 0.24) 100%);
    }

    .location-hero-image {
        object-position: 76% top !important;
    }
}

@media (max-width: 430px) {
    .location-hero-image {
        object-position: 76% top !important;
    }
}

.location-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.25rem;
}

.location-hero-meta-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.location-hero-google {
    gap: 0.45rem;
}

.location-hero-chip-stars {
    color: #C49A6C;
    letter-spacing: 0.03em;
    line-height: 1;
}

.location-hero-meta-item + .location-hero-meta-item::before {
    content: '\00b7';
    color: rgba(196, 154, 108, 0.7);
    margin: 0 0.65rem;
}

@media (max-width: 640px) {
    .location-hero-proof {
        align-items: flex-start;
        gap: 0.65rem !important;
        margin-bottom: 1.6rem !important;
    }

    .location-hero-meta {
        gap: 0.45rem;
        max-width: 21rem;
    }

    .location-hero-meta-item {
        padding: 0.34rem 0.55rem;
        border: 1px solid rgba(196, 154, 108, 0.28);
        background: rgba(10, 10, 15, 0.34);
        color: #FFFFFF;
        font-size: 0.78rem;
        line-height: 1;
        letter-spacing: 0.01em;
    }

    .location-hero-meta-item + .location-hero-meta-item::before {
        content: none;
    }

    .location-hero-chip-stars {
        font-size: 0.72rem;
        letter-spacing: 0.01em;
    }
}

/* Hero-Bilder: Fokuspunkt rechts, damit Text links nicht verdeckt */
section.relative img.object-cover {
    object-position: right center;
}

/* --- Form Styling (→ WP: wp:form or CF7/Gravity) --- */
.bm-form input,
.bm-form select,
.bm-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    border: 1px solid rgba(196, 154, 108, 0.2);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.bm-form input:focus,
.bm-form select:focus,
.bm-form textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
}
.bm-form input:focus-visible,
.bm-form select:focus-visible,
.bm-form textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}
.bm-form-feedback {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #D4B08C;
    border-left: 4px solid #D4B08C;
    background: rgba(196, 154, 108, 0.12);
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.5;
}
.bm-form-feedback[hidden] { display: none; }
.bm-form-feedback strong,
.bm-form-feedback span { display: block; color: #FFFFFF; }
.bm-form-feedback strong { margin-bottom: 0.2rem; }
.bm-form-feedback:focus { outline: 3px solid #FFFFFF; outline-offset: 3px; }

.bm-cookie-settings-link,
.bm-inline-consent-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-accent, #C49A6C) !important;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}
.bm-inline-consent-link { display: inline; }
footer .flex:has(> [data-consent-settings]) {
    flex-wrap: wrap;
    row-gap: 0.75rem;
}
.bm-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.bm-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23C49A6C' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* --- Internal Link Grid (Weitere Themen) --- */
.internal-link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .internal-link-grid { grid-template-columns: 1fr; }
}
.internal-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #FFFFFF !important;
    border: 1px solid rgba(196, 154, 108, 0.2);
    background: var(--color-surface);
    transition: all 0.3s;
    text-decoration: none !important;
}
.internal-link:visited { color: #FFFFFF !important; }
.internal-link:hover {
    border-color: var(--color-gold);
    background: rgba(196, 154, 108, 0.08);
    color: var(--color-gold) !important;
}
.form-card-subtitle,
.review-text {
    color: #FFFFFF !important;
}

/* --- 2-Spalten Bild = Content-Höhe --- */
.grid.items-center img.rounded,
.grid.items-center img.w-full:not(.object-cover) {
    height: auto;
    max-height: 34rem;
    object-fit: contain;
    border-radius: 0.25rem;
}

/* --- Utility --- */
.container {
    width: 100% !important;
    max-width: var(--container-max) !important;
    margin-inline: auto !important;
    padding-inline: var(--gutter) !important;
}

/* Bewertungsseite: Bildvergleich Online-Schaetzung vs. Vor-Ort-Bewertung */
.valuation-compare-visual {
    min-height: 30rem;
    height: 100%;
}
.valuation-compare-image {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center;
}

.valuation-local-overlay {
    position: absolute;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    width: min(18.5rem, calc(50% - 2rem));
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.72), rgba(10, 10, 15, 0.38));
    border: 1px solid rgba(196, 154, 108, 0.16);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.valuation-compare-visual .text-xs {
    font-size: 0.76rem !important;
    line-height: 1.25;
}

.valuation-compare-visual .text-2xl {
    font-size: clamp(1.65rem, 2.1vw, 1.875rem) !important;
    line-height: 1.05;
}

@media (max-width: 640px) {
    .valuation-compare-visual {
        min-height: 24rem;
    }

    .valuation-online-overlay {
        top: auto !important;
        left: 0.85rem !important;
        bottom: 0.85rem !important;
        width: calc(50% - 1.275rem) !important;
        height: auto !important;
        min-height: 6.2rem;
        padding: 0.75rem 0.65rem !important;
        background: linear-gradient(135deg, rgba(10, 10, 15, 0.72), rgba(18, 31, 58, 0.52)) !important;
    }

    .valuation-local-overlay {
        right: 0.85rem;
        bottom: 0.85rem;
        width: calc(50% - 1.275rem);
        min-height: 6.2rem;
        padding: 0.75rem 0.65rem;
    }

    .valuation-compare-visual .text-xs {
        font-size: 0.66rem !important;
        line-height: 1.18;
        letter-spacing: 0.06em;
    }

    .valuation-compare-visual .text-2xl {
        font-size: 1.28rem !important;
        line-height: 1;
    }
}

/* --- Global Override: Min 16px for readable text --- */
body :where(.text-xs, .text-sm, small),
body :where([style*="font-size:0."], [style*="font-size: 0."]) {
    font-size: var(--font-size-body) !important;
    line-height: 1.45 !important;
}
/* Ensure white text globally - override Tailwind opacity classes */
body .text-white\/30,
body .text-white\/40,
body .text-white\/50,
body .text-white\/60,
body .text-white\/70,
body .text-white\/75,
body .text-white\/80,
body .text-white\/85,
body .text-white\/90,
body [class*="text-white/"],
body [style*="color: rgba(255,255,255,0."],
body [style*="color:rgba(255,255,255,0."],
body [style*="color: rgba(255, 255, 255, 0."],
body [style*="color:rgba(255, 255, 255, 0."],
main p, main li, main td, main th, main summary, main address, main small, main figcaption,
footer p, footer li, footer span, footer address, footer small,
.faq-answer, .faq-answer p {
    color: #FFFFFF !important;
}
/* Review copy stays fully white; no muted gray treatment. */
main .review-text,
main .review-card .review-text {
    color: #FFFFFF !important;
    opacity: 1 !important;
}
/* Cards/Spans weiß aber NICHT in Links */
.prestige-card p, .prestige-card span:not(.text-gold) {
    color: #FFFFFF !important;
}
/* Links behalten ihre Gold-Farbe */
main a:not(.btn-gold):not(.btn-outline-copper), main a span, .prestige-card a:not(.btn-gold):not(.btn-outline-copper), footer a {
    color: inherit;
}
/* Exceptions: gold elements keep their color */
main .text-gold, .star-gold, .breadcrumb .current { color: #C49A6C !important; }
main .text-gold-light { color: #D4B08C !important; }
main .text-copper-gradient, .breadcrumb .separator { color: revert !important; }
/* Dark text on gold/copper backgrounds */
.badge-copper, .badge-copper p, .badge-copper span,
.icon-copper, .btn-gold, .btn-gold span {
    color: #0A0A0F !important;
}

/* --- Spacing + typography pass: token-only layout rhythm --- */
.bm-min-dvh,
.min-h-screen {
    min-height: 100dvh !important;
}

.h-screen {
    height: auto !important;
    min-height: 100dvh !important;
}

.bm-hero-portrait-offset {
    padding-top: var(--space-fluid-xl) !important;
    align-items: flex-end !important;
}

@media (min-width: 64rem) {
    .home-hero-section {
        box-sizing: border-box;
        height: 100dvh !important;
        min-height: 100dvh !important;
    }

    .home-hero-shell {
        box-sizing: border-box;
        height: 100dvh;
        padding-top: var(--space-fluid-lg) !important;
    }

    .home-hero-inner {
        box-sizing: border-box;
        height: calc(100dvh - var(--space-fluid-lg));
        min-height: calc(100dvh - var(--space-fluid-lg)) !important;
    }

    .home-hero-copy {
        padding-block: var(--space-24) var(--space-48) !important;
    }

    .bm-hero-portrait-offset {
        box-sizing: border-box;
        height: calc(100dvh - var(--space-fluid-lg));
        min-height: 0 !important;
        padding-top: 0 !important;
    }

    .home-hero-desktop-portrait {
        display: block;
        width: auto;
        height: 100%;
        max-width: 100%;
        max-height: calc(100dvh - var(--space-fluid-lg));
        object-fit: contain;
        object-position: bottom center;
    }
}

.bm-section {
    padding-block: var(--space-fluid-xl) !important;
}

.bm-section-compact {
    padding-block: var(--space-fluid-lg) !important;
}

.home-hero-section {
    min-height: 100dvh !important;
}

.p-4 { padding: var(--space-16) !important; }
.p-5,
.p-6 { padding: var(--space-24) !important; }
.p-7,
.p-8 { padding: var(--space-32) !important; }

.px-3 { padding-inline: var(--space-12) !important; }
.px-4 { padding-inline: var(--space-16) !important; }
.px-6 { padding-inline: var(--space-24) !important; }

.py-1 { padding-block: var(--space-4) !important; }
.py-1\.5,
.py-2 { padding-block: var(--space-8) !important; }
.py-2\.5,
.py-3 { padding-block: var(--space-12) !important; }
.py-4 { padding-block: var(--space-16) !important; }
.py-12 { padding-block: var(--space-fluid-lg) !important; }
.py-16,
.py-20,
.py-24 { padding-block: var(--space-fluid-xl) !important; }
.py-28 { padding-block: var(--space-fluid-2xl) !important; }

.pt-2 { padding-top: var(--space-8) !important; }
.pt-4 { padding-top: var(--space-16) !important; }
.pt-6 { padding-top: var(--space-24) !important; }
.pt-8 { padding-top: var(--space-32) !important; }
.pt-12 { padding-top: var(--space-48) !important; }
.pt-20 { padding-top: var(--space-fluid-2xl) !important; }
.pt-32,
.pt-36,
.pt-40,
.pt-44,
.pt-\[5\.5vh\] { padding-top: var(--space-fluid-3xl) !important; }

.pb-2 { padding-bottom: var(--space-8) !important; }
.pb-6,
.pb-7 { padding-bottom: var(--space-24) !important; }
.pb-8 { padding-bottom: var(--space-32) !important; }
.pb-12,
.pb-14 { padding-bottom: var(--space-48) !important; }
.pb-16,
.pb-20 { padding-bottom: var(--space-64) !important; }

.mt-0\.5,
.mt-1 { margin-top: var(--space-4) !important; }
.mt-2 { margin-top: var(--space-8) !important; }
.mt-3 { margin-top: var(--space-12) !important; }
.mt-4 { margin-top: var(--space-16) !important; }
.mt-6 { margin-top: var(--space-24) !important; }
.mt-8 { margin-top: var(--space-32) !important; }
.mt-10 { margin-top: var(--space-40) !important; }
.mt-12 { margin-top: var(--space-48) !important; }
.mt-14,
.mt-16 { margin-top: var(--space-64) !important; }

.mb-1 { margin-bottom: var(--space-4) !important; }
.mb-2 { margin-bottom: var(--space-8) !important; }
.mb-3 { margin-bottom: var(--space-12) !important; }
.mb-4 { margin-bottom: var(--space-16) !important; }
.mb-5,
.mb-6 { margin-bottom: var(--space-24) !important; }
.mb-8 { margin-bottom: var(--space-32) !important; }
.mb-10 { margin-bottom: var(--space-40) !important; }
.mb-12 { margin-bottom: var(--space-48) !important; }
.mb-14,
.mb-16 { margin-bottom: var(--space-64) !important; }

.my-6 { margin-block: var(--space-24) !important; }
.my-8 { margin-block: var(--space-32) !important; }
.my-10 { margin-block: var(--space-40) !important; }

.ml-2 { margin-left: var(--space-8) !important; }
.ml-4 { margin-left: var(--space-16) !important; }
.ml-6 { margin-left: var(--space-24) !important; }
.mr-2 { margin-right: var(--space-8) !important; }
.mr-4 { margin-right: var(--space-16) !important; }
.mr-6 { margin-right: var(--space-24) !important; }

.gap-1 { gap: var(--space-4) !important; }
.gap-1\.5,
.gap-2 { gap: var(--space-8) !important; }
.gap-3 { gap: var(--space-12) !important; }
.gap-4 { gap: var(--space-16) !important; }
.gap-5,
.gap-6 { gap: var(--space-24) !important; }
.gap-8 { gap: var(--space-32) !important; }
.gap-10 { gap: var(--space-40) !important; }
.gap-12 { gap: var(--space-48) !important; }
.gap-14,
.gap-16 { gap: var(--space-64) !important; }
.gap-x-4 { column-gap: var(--space-16) !important; }
.gap-x-6 { column-gap: var(--space-24) !important; }
.gap-y-2 { row-gap: var(--space-8) !important; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-4) !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-8) !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-12) !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-16) !important; }
.space-y-5 > :not([hidden]) ~ :not([hidden]),
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-24) !important; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-32) !important; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: var(--space-48) !important; }

.container,
.max-w-\[1440px\] {
    max-width: var(--container-max) !important;
    margin-inline: auto !important;
    padding-inline: var(--gutter) !important;
}

section:not(.home-hero-section),
article.ratgeber-article {
    scroll-margin-top: var(--space-fluid-xl);
}

.home-hero-shell {
    max-width: var(--container-max) !important;
    padding-inline: var(--gutter) !important;
    padding-top: var(--space-fluid-lg) !important;
}

.home-hero-copy {
    padding-block: var(--space-fluid-sm) var(--space-fluid-3xl) !important;
}

@media (max-width: 63.999rem) {
    .home-hero-shell {
        height: auto;
        padding-top: 5.75rem !important;
    }

    .home-hero-inner {
        height: auto;
        min-height: auto !important;
    }
}

.home-hero-copy h1 {
    font-size: 2rem !important;
    line-height: 1 !important;
}

@media (max-width: 22.5rem) {
    .home-hero-copy h1 {
        font-size: 1.875rem !important;
    }
}

@media (min-width: 40rem) {
    .home-hero-copy h1 {
        font-size: 3rem !important;
        line-height: 0.98 !important;
    }
}

@media (min-width: 64rem) {
    .home-hero-copy h1 {
        font-size: 3.75rem !important;
    }
}

main :where(.text-xs, .text-sm),
footer :where(.text-xs, .text-sm),
:where(
    .btn-gold,
    .btn-outline-copper,
    .topic-subtitle,
    .ortsteil-tag,
    .location-hero-meta-item,
    .location-hero-chip-stars,
    .nav-mega-section-title,
    .nav-mega-promo-kicker,
    .nav-mega-eyebrow,
    .v3-mobile-panel-kicker,
    .v3-mobile-section-title,
    .v3-mobile-link-sub,
    .rechner-shell-kicker,
    .rechner-field label,
    .rechner-field .rechner-label,
    .rechner-field-hint,
    .rechner-output-label,
    .rechner-compare-title,
    .rechner-disclaimer,
    .rechner-disclaimer .disclaimer-headline,
    .rechner-disclaimer .disclaimer-meta,
    .rechner-sources h3,
    .rechner-sources ul,
    .rechner-sources li,
    .hebesatz-filter-btn,
    .bm-table,
    .bm-table th,
    .bm-table td,
    .valuation-compare-visual .text-xs
) {
    font-size: var(--font-size-body) !important;
    line-height: 1.45 !important;
}

main :where(.text-lg, .text-xl, .sm\:text-2xl) {
    font-size: var(--font-size-lead) !important;
    line-height: 1.45 !important;
}

main :where(h2, .text-3xl, .sm\:text-3xl, .sm\:text-4xl, .lg\:text-5xl) {
    font-size: var(--font-size-section-title) !important;
    line-height: 1.08 !important;
}

main section:not(.home-hero-section) :where(.text-5xl, .sm\:text-5xl, .text-6xl, .sm\:text-6xl, .xl\:text-6xl) {
    font-size: var(--font-size-display-cap) !important;
    line-height: 1.08 !important;
}

body .nav-mega-menu .nav-mega-tool-grid a,
body .nav-mega-menu .nav-mega-grid a,
body .nav-dropdown-menu a span.arrow,
body .nav-mega-tools-head .nav-menu-kicker,
body .nav-mega-tools-head .nav-menu-copy,
body .v3-nav-links a,
body .v3-mobile-panel-kicker,
body .ratgeber-sidebar-meta,
body .ratgeber-sidebar-toc-title,
body .valuation-compare-visual .text-xs {
    font-size: var(--font-size-body) !important;
    line-height: 1.45 !important;
}

body .v3-mobile-panel-title {
    font-size: var(--font-size-display-cap) !important;
    line-height: 1.08 !important;
}

/* Final type guard: no rendered UI copy below 16px. */
body :where(
    .text-xs,
    .text-sm,
    small,
    .nav-menu-kicker,
    .nav-menu-copy,
    .nav-mega-section-title,
    .nav-mega-promo-kicker,
    .nav-mega-eyebrow,
    .v3-mobile-back,
    .v3-mobile-panel-kicker,
    .v3-mobile-section-title,
    .v3-mobile-link-sub,
    .v3-mobile-footer-note,
    .topic-subtitle,
    .ortsteil-tag,
    .ratgeber-sidebar-meta,
    .ratgeber-sidebar-toc-title,
    .rechner-field-hint,
    .rechner-output-label,
    .rechner-disclaimer,
    .valuation-compare-visual .text-xs
) {
    font-size: var(--font-size-body) !important;
    line-height: 1.45 !important;
}

body .review-author,
body .vn-label {
    font-size: var(--font-size-body) !important;
    line-height: 1.3 !important;
}

body .form-card-subtitle,
body .review-text {
    font-size: var(--font-size-body) !important;
    line-height: 1.5 !important;
}

/* Visible copy is intentionally solid white; gold remains reserved for accents. */
body small,
body .nav-mega-intro .nav-menu-copy,
body .nav-mega-tools-head .nav-menu-copy,
body .v3-mobile-panel-copy {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

body .source-verification-inner,
body .source-register,
body .source-register li,
body .source-register-note {
    color: #FFFFFF !important;
    opacity: 1 !important;
}
body .source-register li span {
    color: #FFFFFF !important;
    opacity: 1 !important;
}
body .source-register li::marker {
    color: #C49A6C !important;
}

body :where(section:not(.home-hero-section)) :where(
    .text-5xl,
    .sm\:text-5xl,
    .text-6xl,
    .sm\:text-6xl,
    .lg\:text-6xl,
    .xl\:text-6xl
) {
    font-size: var(--font-size-display-cap) !important;
    line-height: 1.08 !important;
}

/* Final component guard: CTAs and icon buttons must not clip after the 16px type pass. */
body :where(.btn-gold, .btn-outline-copper) {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    max-width: 100%;
    padding: var(--space-16) var(--space-40) !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

body :where(.home-service-link, .topic-arrow) {
    width: var(--space-48) !important;
    height: var(--space-48) !important;
    min-width: var(--space-48);
    min-height: var(--space-48);
}

@media (max-width: 768px) {
    body :where(.btn-gold, .btn-outline-copper) {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }
}

/* Redaktioneller Prüfstand und Primärquellen */
.source-verification {
    border-top: 1px solid rgba(196, 154, 108, 0.18);
    border-bottom: 1px solid rgba(196, 154, 108, 0.18);
    background: rgba(196, 154, 108, 0.055);
}

.source-verification-inner {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
    padding: 1.15rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(240, 237, 232, 0.75);
}

.source-verification strong { color: #F0EDE8; }
.source-verification a { color: #C49A6C; text-decoration: underline; text-underline-offset: 0.2em; }
.source-register { font-family: "Source Sans 3", sans-serif; }
.source-register h2 { margin: 3.5rem 0 1.25rem; font-family: "Cormorant Garamond", serif; font-size: clamp(1.75rem, 3vw, 2.5rem); color: #F0EDE8; }
.source-register h2:first-child { margin-top: 0; }
.source-register ul { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
.source-register li { min-width: 0; padding: 1rem 1.1rem; border: 1px solid rgba(196, 154, 108, 0.14); background: rgba(255,255,255,0.025); overflow-wrap: anywhere; }
.source-register li a { display: inline-block; max-width: 100%; color: #D4B08C; font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; overflow-wrap: anywhere; }
.source-register li span { display: block; margin-top: 0.25rem; color: #FFFFFF; font-size: 1rem; }
.source-register-note { padding: 1rem 1.2rem; border-left: 3px solid #C49A6C; background: rgba(196, 154, 108, 0.08); color: #FFFFFF; font-family: "Source Sans 3", sans-serif; line-height: 1.6; }

@media (max-width: 700px) {
    .source-verification-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
    .bm-ai-media-frame--portrait {
        width: min(100%, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem) !important;
        margin-inline: auto;
    }
}

/* ============================================================
   FINAL CONSISTENCY PASS - typography, text contrast and media
   ============================================================ */

/* Text hierarchy is created by role, weight and spacing, never opacity. */
body,
body :where(p, li, td, th, summary, address, figcaption, small, label, button, input, select, textarea) {
    font-family: var(--font-body);
}

body :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    font-weight: 600 !important;
}

body .font-light {
    font-weight: 400 !important;
}

body :where(h1, h2, h3, h4, h5, h6) .font-light {
    font-weight: inherit !important;
}

body :where(.text-white\/30, .text-white\/40, .text-white\/50, .text-white\/60,
    .text-white\/70, .text-white\/75, .text-white\/80, .text-white\/85, .text-white\/90,
    .text-gold\/30, .text-gold\/40, .text-gold\/50, .text-gold\/60, .text-gold\/70,
    .text-gold\/80, .text-gold\/90),
body :where([class*="text-white/"], [class*="text-gray-"], [class*="text-slate-"],
    [class*="text-zinc-"], [class*="text-neutral-"], [class*="text-stone-"]) {
    color: var(--text-primary) !important;
    opacity: 1 !important;
}

body :where(.text-gold\/30, .text-gold\/40, .text-gold\/50, .text-gold\/60,
    .text-gold\/70, .text-gold\/80, .text-gold\/90) {
    color: var(--text-accent) !important;
}

body :where(.text-copper-gradient, .text-copper-gradient *) {
    background: none !important;
    background-image: none !important;
    color: var(--text-accent) !important;
    -webkit-text-fill-color: var(--text-accent) !important;
}

body :where(p, li, td, th, summary, address, figcaption, small, label, button,
    input, select, textarea, a) {
    color: var(--text-primary);
}

body :where(main a, footer a, .v3-nav a, .v3-mobile-menu a) {
    color: var(--text-accent);
}

body :where(main a:hover, footer a:hover, .v3-nav a:hover, .v3-mobile-menu a:hover,
    main a:focus-visible, footer a:focus-visible, .v3-nav a:focus-visible,
    .v3-mobile-menu a:focus-visible) {
    color: var(--text-accent-hover);
}

body :where(.btn-gold, .btn-gold span, .badge-copper, .badge-copper p, .badge-copper span,
    .icon-copper, .icon-copper span) {
    color: var(--text-on-gold) !important;
}

/* Shared navigation and footer use the same readable UI role on every route. */
.v3-nav-links a,
.v3-nav-cta,
.v3-mobile-menu a,
.v3-mobile-menu button,
footer :where(p, li, a, address, span, small) {
    font-size: var(--text-body) !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
}

footer :where(p, li, address, span, small) {
    color: var(--text-primary) !important;
}

footer :where(a, a:visited) {
    color: var(--text-primary) !important;
}

footer :where(a:hover, a:focus-visible, a.text-gold, a.text-gold:visited) {
    color: var(--text-accent-hover) !important;
}

.source-verification-inner {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
}

/* Images must respect their frame. Editorial images keep their natural ratio;
   only explicitly marked hero/fill frames are allowed to cover a fixed box. */
main img,
footer img {
    display: block;
    max-width: 100%;
}

.bm-ai-media-frame:not(.bm-ai-media-frame--hero):not(.bm-ai-media-frame--fill) {
    max-width: 100%;
    height: auto;
}

.bm-ai-media-frame:not(.bm-ai-media-frame--hero):not(.bm-ai-media-frame--fill) > .bm-ai-media-image {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.grid.items-center > :where(.scroll-reveal, .flex) > .bm-ai-media-frame:not(.bm-ai-media-frame--hero),
.grid.items-center > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) {
    height: auto;
    max-height: 34rem;
}

.grid.items-center > :where(.scroll-reveal, .flex) > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) > .bm-ai-media-image,
.grid.items-center > .bm-ai-media-frame:not(.bm-ai-media-frame--hero) > .bm-ai-media-image {
    height: auto !important;
    max-height: 34rem;
    object-fit: contain;
}

/* Long desktop text columns no longer dictate an oversized media column.
   Keep service/location imagery in a consistent 4:3 window and let the
   source fill that window; article and portrait media stay untouched. */
@media (min-width: 1024px) {
    .grid > :where(.scroll-reveal, .flex) > .bm-ai-media-frame--fill:not(.bm-ai-media-frame--hero) {
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .grid > :where(.scroll-reveal, .flex) > .bm-ai-media-frame--fill:not(.bm-ai-media-frame--hero) > .bm-ai-media-image {
        height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center;
    }

    .grid > .valuation-compare-visual > .bm-ai-media-frame--fill {
        aspect-ratio: auto;
        height: 100%;
    }
}

.article-content figure,
#article-body figure,
.article-content .bm-ai-media-frame,
#article-body .bm-ai-media-frame {
    max-width: 48rem;
    margin-inline: auto;
}

.article-content figure > .bm-ai-media-frame > .bm-ai-media-image,
#article-body figure > .bm-ai-media-frame > .bm-ai-media-image {
    height: auto !important;
    max-height: none;
    object-fit: contain;
}

.author-box > .bm-ai-media-frame {
    height: 8.5rem;
    max-height: 8.5rem;
}

.author-box > .bm-ai-media-frame.bm-ai-media-frame--thumbnail {
    width: 8.5rem !important;
    height: 8.5rem !important;
    max-width: 8.5rem;
    max-height: 8.5rem;
    aspect-ratio: 1;
}

.ratgeber-sidebar-author .bm-ai-media-frame {
    height: 6.5rem;
    max-height: 6.5rem;
}

.ratgeber-sidebar-author .bm-ai-media-frame.bm-ai-media-frame--thumbnail {
    width: 6.5rem !important;
    height: 6.5rem !important;
    max-width: 6.5rem;
    max-height: 6.5rem;
    aspect-ratio: 1;
}

.author-box > .bm-ai-media-frame > .bm-ai-media-image {
    height: 7rem !important;
    object-fit: cover;
}

.author-box > .bm-ai-media-frame.bm-ai-media-frame--thumbnail > .bm-ai-media-image {
    width: 7rem !important;
    height: 7rem !important;
    max-width: 7rem;
    object-fit: cover !important;
}

.ratgeber-sidebar-author .bm-ai-media-frame > .bm-ai-media-image {
    height: 5.25rem !important;
    object-fit: cover;
}

.ratgeber-sidebar-author .bm-ai-media-frame.bm-ai-media-frame--thumbnail > .bm-ai-media-image {
    width: 5.25rem !important;
    height: 5.25rem !important;
    max-width: 5.25rem;
    object-fit: cover !important;
}

@media (max-width: 640px) {
    .author-box > .bm-ai-media-frame {
        height: 7rem;
        max-height: 7rem;
    }
    .author-box > .bm-ai-media-frame.bm-ai-media-frame--thumbnail {
        width: 7rem !important;
        height: 7rem !important;
        max-width: 7rem;
        max-height: 7rem;
    }
    .author-box > .bm-ai-media-frame > .bm-ai-media-image {
        height: 5.75rem !important;
    }
    .author-box > .bm-ai-media-frame.bm-ai-media-frame--thumbnail > .bm-ai-media-image {
        width: 5.75rem !important;
        height: 5.75rem !important;
        max-width: 5.75rem;
    }
}

/* The logo stays inside its navigation box instead of relying on a scale
   transform that could spill into the viewport at intermediate widths. */
.v3-nav-logo {
    min-width: 0;
    overflow: hidden;
}

.v3-nav-logo img {
    width: min(250px, 100%);
    max-width: 100%;
    max-height: 70px;
    margin: -2px 0;
    transform: none;
}

@media (max-width: 1180px) {
    .v3-nav-links { display: none !important; }
    .v3-menu-toggle { display: flex !important; }
    .v3-nav {
        padding-block: 0.75rem !important;
        background: rgba(10, 10, 15, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .v3-nav-inner {
        padding-inline: 1rem;
    }
    .v3-nav-logo {
        max-width: calc(100vw - 6.5rem);
        margin-right: auto;
    }
    .v3-nav-logo img {
        width: min(16rem, calc(100vw - 6.5rem));
        height: 3.5rem;
        max-height: 3.5rem;
        margin: -2px 0;
        object-fit: contain;
        object-position: left center;
    }
    .page-solid-nav { --solid-nav-offset: 5.25rem; }
}

@media (max-width: 640px) {
    .about-hero-person {
        right: 0;
        max-width: 62vw;
    }

    .v3-nav-logo img {
        width: min(15rem, calc(100vw - 6.25rem));
    }

    .article-content figure,
    #article-body figure,
    .article-content .bm-ai-media-frame,
    #article-body .bm-ai-media-frame {
        max-width: 100%;
    }
}

/* Small copper checkmarks are icons, not copy; keep them optically centered. */
body .icon-copper.w-5.h-5 {
    font-size: 0.875rem !important;
    line-height: 1 !important;
}

/* Route-specific rules must still obey the shared frame and type system. */
.hero-split > *,
.hero-left,
.hero-right {
    min-width: 0;
}

.hero-split-bg {
    overflow: hidden;
}

.hero-bg-img {
    transform: none !important;
    animation: none !important;
}

.hero-right .bm-form label {
    color: var(--text-primary) !important;
    font-size: var(--text-body) !important;
    line-height: 1.4 !important;
}

/* The design reference page is also a public route: keep its navigation and
   explanatory copy readable instead of using translucent gray text. */
.design-toc a,
.design-toc .toc-level-2,
.design-toc .toc-level-3 {
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-body) !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
}

.design-toc .toc-level-1 {
    color: var(--text-accent) !important;
    font-size: var(--text-body) !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
}

.design-main :where(p, li, td, .design-meta) {
    color: var(--text-primary) !important;
    font-size: var(--text-body) !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
}

.source-register h2 {
    color: var(--text-primary) !important;
}

.decision-option p {
    color: var(--text-primary) !important;
    font-size: var(--text-body) !important;
    line-height: 1.5 !important;
}

main :where(strong, b):not(.text-gold):not(.text-gold-light):not(.text-copper-gradient):not([style*="gold"]):not([style*="C49A6C"]):not([style*="D4B08C"]) {
    color: var(--text-primary) !important;
}

body :where([style*="#F0EDE8"], [style*="#f0ede8"], [style*="rgb(240, 237, 232)"]) {
    color: var(--text-primary) !important;
}

/* The design page carries its own inline stylesheet after the shared sheet;
   use the shared text contract there as well, including its nested TOC links. */
body .design-toc .toc-level-3,
body .design-main p,
body .design-main li,
body .design-table td,
body .design-main .design-meta {
    color: var(--text-primary) !important;
    opacity: 1 !important;
}

/* Homepage rhythm: keep the long landing page intentional and scannable.
   The shared section tokens remain unchanged for the other routes; the
   homepage gets a slightly tighter cadence because it contains many sections
   in one continuous story. */
@media (min-width: 64rem) {
    main:has(.home-hero-section) > .bm-section {
        padding-block: 3rem !important;
    }

    main:has(.home-hero-section) > .bm-section-compact {
        padding-block: 2.25rem !important;
    }

    main:has(.home-hero-section) .home-hero-copy {
        padding-bottom: 4rem !important;
    }
}

@media (max-width: 63.999rem) {
    main:has(.home-hero-section) > .bm-section {
        padding-block: 2.5rem !important;
    }

    main:has(.home-hero-section) > .bm-section-compact {
        padding-block: 2rem !important;
    }

    main:has(.home-hero-section) .home-hero-copy {
        padding-bottom: 2rem !important;
    }
}

/* Browser-review polish: keep these corrections deliberately route-specific. */
body #ueber-uns .owner-stat-number.text-copper-gradient {
    background-image: linear-gradient(135deg, #A67C52 0%, #D4B08C 30%, #E8CBA0 52%, #C49A6C 76%, #A67C52 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Homepage hero: keep Stephan visible on tablets instead of leaving the
   lower half of the full-height hero empty. Phones stay content-first. */
@media (min-width: 48rem) and (max-width: 63.999rem) {
    .home-hero-section {
        height: 100dvh !important;
        min-height: 100dvh !important;
        align-items: stretch;
    }

    .home-hero-shell {
        height: 100dvh;
        min-height: 100dvh;
        padding-top: 5.75rem !important;
        padding-bottom: 0 !important;
    }

    .home-hero-inner {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: calc(100dvh - 5.75rem);
        min-height: calc(100dvh - 5.75rem) !important;
    }

    .home-hero-copy {
        width: 50%;
        flex: 0 0 50%;
        justify-content: center;
        padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1rem, 2.2vw, 1.75rem) clamp(1.5rem, 3vh, 2.5rem) 0 !important;
    }

    .home-hero-copy .max-w-lg {
        width: 100%;
        max-width: none !important;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.35rem, 4.8vw, 3rem) !important;
        line-height: 0.96 !important;
    }

    .home-hero-title-line {
        white-space: normal;
        text-wrap: balance;
    }

    .home-hero-copy .font-cormorant.italic {
        font-size: clamp(1.1rem, 2.35vw, 1.35rem) !important;
        line-height: 1.25 !important;
    }

    .home-hero-copy .font-source.text-base {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
    }

    .home-hero-copy .delay-4 {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .home-hero-copy .btn-gold,
    .home-hero-copy .btn-outline-copper {
        width: 100%;
        justify-content: center;
    }

    .bm-hero-portrait-offset {
        display: flex !important;
        width: 50%;
        flex: 0 0 50%;
        height: calc(100dvh - 5.75rem);
        min-height: 0 !important;
        align-items: flex-end !important;
        justify-content: center;
        padding-top: 0 !important;
        overflow: hidden;
    }

    .home-hero-desktop-portrait {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    .home-hero-ai-label {
        right: 1rem !important;
        bottom: 1rem !important;
    }
}

@media (max-width: 47.999rem) {
    .bm-hero-portrait-offset {
        display: none !important;
    }

    .home-hero-section {
        height: auto !important;
        min-height: auto !important;
    }

    .home-hero-shell,
    .home-hero-inner {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-hero-shell {
        padding-bottom: 1rem !important;
    }

    .home-hero-copy {
        width: 100%;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 30rem) {
    .home-hero-copy .btn-gold {
        white-space: nowrap;
        font-size: clamp(0.72rem, 3.3vw, 0.875rem);
        padding-inline: clamp(0.75rem, 4vw, 1.5rem) !important;
    }
}

.valuation-compare-visual > .bm-ai-media-frame--fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.valuation-compare-visual > .bm-ai-media-frame--fill > .valuation-compare-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.valuation-compare-visual::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 30, 60, 0.42) 0%, rgba(14, 30, 60, 0.18) 46%, rgba(10, 10, 15, 0.04) 54%, rgba(10, 10, 15, 0.18) 100%);
}

.valuation-online-overlay {
    position: absolute;
    z-index: 3;
    left: clamp(1rem, 2vw, 1.5rem);
    top: auto !important;
    bottom: clamp(1.75rem, 3vw, 2.5rem);
    width: min(18.5rem, calc(50% - 2rem)) !important;
    height: auto !important;
    min-height: 9.25rem;
    padding: 1rem 1.1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, rgba(14, 30, 60, 0.92), rgba(10, 18, 36, 0.82)) !important;
    border: 1px solid rgba(134, 166, 207, 0.3);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.valuation-local-overlay {
    z-index: 3;
    bottom: clamp(1.75rem, 3vw, 2.5rem);
    min-height: 9.25rem;
    background: linear-gradient(135deg, rgba(39, 28, 20, 0.94), rgba(10, 10, 15, 0.84));
    border: 1px solid rgba(196, 154, 108, 0.58);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 24px rgba(196, 154, 108, 0.08);
}

.valuation-online-overlay > p:first-child {
    color: #FFFFFF !important;
}

.valuation-local-overlay > p:first-child {
    color: var(--color-gold-light) !important;
}

img.valuation-process-image[src*="ai-labeled"] {
    object-position: center 10% !important;
}

@media (max-width: 640px) {
    .valuation-compare-visual {
        min-height: 36rem;
    }

    .valuation-online-overlay {
        left: 0.85rem !important;
        bottom: 10.6rem !important;
        width: calc(100% - 1.7rem) !important;
        min-height: 8.5rem;
        padding: 0.85rem 1rem !important;
    }

    .valuation-local-overlay {
        left: 0.85rem;
        right: auto;
        bottom: 0.85rem;
        width: calc(100% - 1.7rem);
        min-height: 8.5rem;
        padding: 0.85rem 1rem;
        align-items: flex-start;
        text-align: left;
    }
}

/* 404 AI badge must sit above the route strip. This block intentionally
   follows the shared AI-media rules so the page-specific position wins. */
.error-404-page .error-404-visual .bm-ai-label-overlay {
    top: auto !important;
    right: clamp(1rem, 3vw, 3rem) !important;
    bottom: var(--error-404-label-clearance) !important;
    left: auto !important;
}

@media (max-width: 767px) {
    .error-404-page .error-404-visual .bm-ai-label-overlay {
        top: 1rem !important;
        right: 0.75rem !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 4 !important;
    }
}

/* Standortseiten: eine ruhige Fläche statt verschachtelter Karten. */
.location-reviews-section,
.google-reviews-widget {
    width: 100%;
}

.google-reviews-widget {
    padding: clamp(var(--space-24), 3vw, var(--space-40));
}

.google-reviews-widget [data-google-reviews-content] {
    display: block;
}

.google-reviews-combined__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-24);
}

.google-reviews-widget .google-reviews-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin: 0;
    padding: 0;
    color: var(--color-text);
}

.google-reviews-widget .google-reviews-summary .google-reviews-stars {
    color: var(--color-gold-light);
}

.google-reviews-widget .google-reviews-summary strong {
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    line-height: 1;
}

.google-reviews-widget .google-reviews-summary span:not(.google-reviews-stars) {
    color: var(--color-text);
    font-size: 0.95rem;
}

.google-reviews-combined__profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.1rem;
}

.google-reviews-combined__profiles a {
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.google-reviews-location-carousel {
    min-width: 0;
    margin-top: var(--space-16);
    padding-bottom: var(--space-32);
}

.google-reviews-location-carousel .google-reviews-carousel__stage,
.google-reviews-location-carousel .google-reviews-carousel__slide {
    height: 10.75rem;
    min-height: 10.75rem;
}

.google-reviews-location-carousel .google-reviews-carousel__slide {
    justify-content: center;
    gap: 0.85rem;
    padding: 1rem clamp(3.1rem, 7vw, 5.5rem);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.google-reviews-location-carousel .google-reviews-carousel__slide::before {
    display: none;
}

.google-reviews-location-carousel .google-reviews-carousel__quote {
    width: min(100%, 58rem);
    margin: 0 auto;
    padding: 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-style: normal;
    line-height: 1.55;
    -webkit-line-clamp: 4;
}

.google-reviews-location-carousel .google-reviews-carousel__meta {
    justify-content: center;
    margin: 0 auto;
    color: var(--color-text);
    font-size: 0.82rem;
}

.google-reviews-location-carousel .google-reviews-carousel__location,
.google-reviews-location-carousel .google-reviews-carousel__date {
    color: var(--color-text);
}

.google-reviews-location-carousel .google-reviews-carousel__controls > button {
    top: calc((100% - 2rem) / 2);
}

.google-reviews-widget .google-reviews-note,
.google-reviews-widget .google-reviews-empty {
    margin: var(--space-24) auto 0;
    max-width: 60rem;
    padding-inline: var(--space-16);
    text-align: center;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Trebur: In der 50/50-Sektion endet die Bewertungsfläche bündig mit der
   gegenüberliegenden Vorteils-Spalte. Auf kleineren Viewports bleibt sie
   inhaltshoch, damit kein künstlicher Leerraum entsteht. */
@media (min-width: 1024px) {
    .location-reviews-section--equal-height {
        display: flex;
        min-height: 100%;
        flex-direction: column;
    }

    .location-reviews-section--equal-height > .google-reviews-widget {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        padding: clamp(2rem, 3vw, 2.75rem);
    }

    .location-reviews-section--equal-height > .google-reviews-widget [data-google-reviews-content] {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
    }

    .location-reviews-section--equal-height .google-reviews-location-carousel {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        justify-content: center;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }

    .location-reviews-section--equal-height .google-reviews-location-carousel .google-reviews-carousel__stage,
    .location-reviews-section--equal-height .google-reviews-location-carousel .google-reviews-carousel__slide {
        height: auto;
        min-height: 17rem;
    }

    .location-reviews-section--equal-height .google-reviews-location-carousel .google-reviews-carousel__stage {
        flex: 1 1 auto;
    }
}

/* Standortbild: flaches, responsiv beschneidbares Stadtpanorama. */
.location-photo-band > .bm-ai-media-frame {
    width: 100%;
    height: clamp(12rem, 17vw, 16rem) !important;
    max-height: 16rem;
}

.location-photo-band > .bm-ai-media-frame.bm-ai-media-frame--labeled > .bm-ai-media-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}

/* Standort-Hero: die Oberkante des Motivs bleibt sichtbar, damit der Kopf
   auch bei besonders breiten Viewports nicht abgeschnitten wird. */
.location-hero-image,
.bm-ai-media-frame--hero > .location-hero-image {
    object-position: 66% 0% !important;
}

@media (min-width: 1024px) {
    .location-contact-column {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .location-contact-column > :last-child {
        flex: 1;
    }

    .location-contact-card,
    .location-contact-grid .map-placeholder,
    .location-contact-grid .map-placeholder iframe {
        width: 100%;
        height: 20rem;
        min-height: 20rem;
    }
}

@media (max-width: 767px) {
    .google-reviews-widget {
        padding: 1.15rem;
    }

    .google-reviews-combined__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
    }

    .google-reviews-combined__profiles {
        justify-content: flex-start;
    }

    .google-reviews-location-carousel .google-reviews-carousel__stage,
    .google-reviews-location-carousel .google-reviews-carousel__slide {
        height: 15rem;
        min-height: 15rem;
    }

    .google-reviews-location-carousel .google-reviews-carousel__slide {
        padding: 1rem 0;
    }

    .google-reviews-location-carousel .google-reviews-carousel__quote {
        font-size: 0.96rem;
        line-height: 1.5;
        -webkit-line-clamp: 7;
    }

    .google-reviews-location-carousel .google-reviews-carousel__controls > button {
        top: auto;
        bottom: -0.15rem;
        transform: none;
    }

    .google-reviews-location-carousel .google-reviews-carousel__controls > button:active {
        transform: translateY(1px);
    }

    .google-reviews-widget .google-reviews-note,
    .google-reviews-widget .google-reviews-empty {
        padding-inline: 0;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .location-photo-band > .bm-ai-media-frame {
        height: 12rem !important;
    }

    .location-photo-band > .bm-ai-media-frame.bm-ai-media-frame--labeled > .bm-ai-media-image {
        object-position: center center !important;
    }

    .location-hero-image,
    .bm-ai-media-frame--hero > .location-hero-image {
        object-position: 74% 0% !important;
    }
}

/* Ratgeber-Lesepass 2026-08: Die Markenbühne bleibt großzügig, während der
   eigentliche Lesetext einen kompakteren redaktionellen Rhythmus erhält. */
article.ratgeber-article .article-content > p {
    margin-bottom: 1.75rem;
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6667;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
    hyphenate-limit-lines: 2;
}

article.ratgeber-article .article-content > ul,
article.ratgeber-article .article-content > ol {
    margin-bottom: 1.75rem;
}

article.ratgeber-article .article-content > ul > li,
article.ratgeber-article .article-content > ol > li {
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6667;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
    hyphenate-limit-lines: 2;
}

article.ratgeber-article .article-content > h2 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
}

article.ratgeber-article .ratgeber-lead {
    padding: 0;
    font-style: normal;
}

article.ratgeber-article .ratgeber-lead > p {
    margin-bottom: 0;
    color: #FFFFFF;
    font-size: 1.125rem !important;
    font-weight: 400;
    line-height: 1.6667 !important;
    hyphens: none;
}

.ratgeber-mobile-toc {
    overflow: clip;
    padding: 0;
}

.ratgeber-mobile-toc-summary {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: #FFFFFF;
    cursor: pointer;
    list-style: none;
}

.ratgeber-mobile-toc-summary::-webkit-details-marker {
    display: none;
}

.ratgeber-mobile-toc-summary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -4px;
}

.ratgeber-mobile-toc-title {
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ratgeber-mobile-toc-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.ratgeber-mobile-toc-action--open {
    display: none;
}

.ratgeber-mobile-toc[open] .ratgeber-mobile-toc-action--closed {
    display: none;
}

.ratgeber-mobile-toc[open] .ratgeber-mobile-toc-action--open {
    display: inline;
}

.ratgeber-mobile-toc-chevron {
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 180ms ease;
}

.ratgeber-mobile-toc[open] .ratgeber-mobile-toc-chevron {
    transform: translateY(0.15rem) rotate(225deg);
}

.ratgeber-mobile-toc-panel.toc {
    margin: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(196, 154, 108, 0.22);
}

@media (max-width: 389px) {
    .ratgeber-mobile-toc-count {
        display: none;
    }
}

@media (min-width: 1024px) {
    article.ratgeber-article .ratgeber-main {
        width: 100%;
        max-width: 46rem;
    }

    article.ratgeber-article .article-content > h2 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }

    article.ratgeber-article .ratgeber-lead {
        padding: 0;
    }
}

