/* =========================================================
   ZAW ISERLOHN - MAIN.CSS
   =========================================================
   
   Refactored: Januar 2026
   Architektur: Einheitliches Hero-System für Start + Unterseiten
   
   STRUKTUR:
   1. CSS Variables & Foundation
   2. Reset & Base Styles
   3. Grid System (Legacy Float)
   4. Typography
   5. Header & Navigation
   6. HERO SYSTEM (NEU - einheitlich)
   7. Content Sections
   8. Forms
   9. Footer
   10. Overlay Navigation
   11. Utilities & Helpers
   12. Print Styles
   
   ========================================================= */

/* =========================================================
   1. CSS VARIABLES & FOUNDATION
   ========================================================= */

:root {
  /* Header */
  --header-h: 65px;
  
  /* Hero System - Einheitlich für Start + Unterseiten */
  --hero-min: 320px;
  --hero-max: 600px;
  --hero-peek: 180px;
  
  /* Header Overlap Flag: 1 = transparent (overlap), 0 = opak (kein overlap) */
  --header-overlap: 1;
  
  /* Teaser */
  --teaser-gap: clamp(40px, 8vh, 120px);
  
  /* Colors */
  --color-primary: #c3ad8d;
  --color-dark: #444448;
  --color-dark-rgb: 68, 68, 72;
  --color-text: #333;
  --color-white: #fff;
  --color-bg: #fff;
}

/* Viewport Height mit svh-Fallback */
@supports (height: 100svh) {
  :root { --vh: 1svh; }
}
@supports not (height: 100svh) {
  :root { --vh: 1vh; }
}

/* Header wird opak ab 1024px → kein Overlap mehr */
@media (max-width: 1024px) {
  :root {
    --header-overlap: 0;
    --header-h: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
    --hero-peek: 150px;  /* moderater als 140px für Caption-Stabilität */
    --teaser-gap: clamp(20px, 5vh, 60px);
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 65px;
    --hero-peek: 130px;  /* moderater als 120px */
  }
}

/* Ultra-Wide Screens: Mehr Hero-Präsenz */
@media (min-width: 1600px) {
  :root {
    --hero-max: 640px;
  }
}

/* =========================================================
   2. RESET & BASE STYLES
   ========================================================= */

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
}

*, *:after, *:before {
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

a {
  background-color: transparent;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.4s;
}

a:hover {
  color: var(--color-text);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
  box-sizing: content-box;
}

pre {
  overflow: auto;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}

optgroup {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

/* =========================================================
   3. GRID SYSTEM (Legacy Float)
   ========================================================= */

[class*="col-"] {
  float: left;
  min-height: 1px;
  padding-right: 20px;
}

.grid {
  width: 100%;
  max-width: 1440px;
  min-width: 748px;
  margin: 0 auto;
  position: relative;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.grid-pad {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 0;
}

.push-right {
  float: right;
}

.col-1-1 { width: 100%; }
.col-2-3, .col-8-12 { width: 66.66%; }
.col-1-2, .col-6-12 { width: 50%; }
.col-1-3, .col-4-12 { width: 33.33%; }
.col-1-4, .col-3-12 { width: 25%; }
.col-1-5 { width: 20%; }
.col-1-6, .col-2-12 { width: 16.667%; }
.col-1-7 { width: 14.28%; }
.col-1-8 { width: 12.5%; }
.col-1-9 { width: 11.1%; }
.col-1-10 { width: 10%; }
.col-1-11 { width: 9.09%; }
.col-1-12 { width: 8.33%; }
.col-11-12 { width: 91.66%; }
.col-10-12 { width: 83.333%; }
.col-9-12 { width: 75%; }
.col-5-12 { width: 41.66%; }
.col-7-12 { width: 58.33%; }
.col-12-12 { width: 100%; }

.push-2-3, .push-8-12 { margin-left: 66.66%; }
.push-1-2, .push-6-12 { margin-left: 50%; }
.push-1-3, .push-4-12 { margin-left: 33.33%; }
.push-1-4, .push-3-12 { margin-left: 25%; }
.push-1-5 { margin-left: 20%; }
.push-1-6, .push-2-12 { margin-left: 16.667%; }
.push-1-7 { margin-left: 14.28%; }
.push-1-8 { margin-left: 12.5%; }
.push-1-9 { margin-left: 11.1%; }
.push-1-10 { margin-left: 10%; }
.push-1-11 { margin-left: 9.09%; }
.push-1-12 { margin-left: 8.33%; }
.push-left { margin-right: 50%; }

.imagescalewithgrid {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.maxwidth {
  width: 100%;
}

.nopad {
  padding: 0;
}

/* Grid Responsive */
@media only screen and (max-width: 768px) {
  .grid {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 10px;
  }
  
  [class*="col-"] {
    width: auto;
    float: none;
    margin: 10px 0;
    padding-left: 0;
    padding-right: 10px;
  }
  
  .hide-on-mobile {
    display: none !important;
    width: 0;
    height: 0;
  }
}

/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sans-v15-latin-300.eot");
  src: local("Open Sans Light"), local("OpenSans-Light"),
      url("../fonts/open-sans-v15-latin-300.eot?#iefix") format("embedded-opentype"),
      url("../fonts/open-sans-v15-latin-300.woff2") format("woff2"),
      url("../fonts/open-sans-v15-latin-300.woff") format("woff"),
      url("../fonts/open-sans-v15-latin-300.ttf") format("truetype"),
      url("../fonts/open-sans-v15-latin-300.svg#OpenSans") format("svg");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/open-sans-v15-latin-regular.eot");
  src: local("Open Sans Regular"), local("OpenSans-Regular"),
      url("../fonts/open-sans-v15-latin-regular.eot?#iefix") format("embedded-opentype"),
      url("../fonts/open-sans-v15-latin-regular.woff2") format("woff2"),
      url("../fonts/open-sans-v15-latin-regular.woff") format("woff"),
      url("../fonts/open-sans-v15-latin-regular.ttf") format("truetype"),
      url("../fonts/open-sans-v15-latin-regular.svg#OpenSans") format("svg");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-v15-latin-600.eot");
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"),
      url("../fonts/open-sans-v15-latin-600.eot?#iefix") format("embedded-opentype"),
      url("../fonts/open-sans-v15-latin-600.woff2") format("woff2"),
      url("../fonts/open-sans-v15-latin-600.woff") format("woff"),
      url("../fonts/open-sans-v15-latin-600.ttf") format("truetype"),
      url("../fonts/open-sans-v15-latin-600.svg#OpenSans") format("svg");
}

h1, h2, h3, h4, h5, p, ul {
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 40px;
  font-weight: 300;
  line-height: 40px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
}

h1 span {
  font-weight: 300;
  text-transform: none;
}

h2 {
  font-size: 26px;
  line-height: 36px;
  font-weight: 300;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 20px;
}

h3 {
  font-size: 26px;
  font-weight: 300;
  line-height: 36px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

p {
  line-height: 24px;
  margin-bottom: 20px;
}

p.head {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

ul {
  line-height: 24px;
  margin-bottom: 20px;
}

ol {
  line-height: 24px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  font-size: 16px;
  color: var(--color-primary);
  padding: 5px 25px;
  border: 1px solid var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
}

.btn:hover {
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 20px;
    line-height: 30px;
  }
}

/* =========================================================
   5. HEADER & NAVIGATION
   ========================================================= */

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  padding-bottom: 20px;
  background: rgba(var(--color-dark-rgb), 0.8);
  color: var(--color-white);
  transition: all 0.3s;
}

.header .header-inner {
  float: left;
  width: 100%;
  position: relative;
}

.header .logo {
  display: block;
  margin-left: 20px;
  margin-top: 20px;
  min-width: 300px;
}

.header.static {
  position: static;
}

.header ul {
  padding: 38px 50px 0 0;
  margin: 0;
  list-style: none;
  float: right;
}

.header ul li {
  float: left;
  text-transform: uppercase;
}

.header ul li a {
  color: var(--color-white);
  text-transform: uppercase;
  display: block;
}

.header ul li a:hover {
  color: var(--color-primary);
}

.header ul li.tel a {
  border: 1px solid var(--color-primary);
  padding: 2px 10px;
}

.header ul li.ter {
  display: inline-block !important;
  margin: 0 20px 0 20px;
}

.header ul li.ter a {
  border: 1px solid var(--color-primary);
  padding: 2px 10px;
  font-size: 15px;
  line-height: 24px;
  display: inline-block;
  background-color: var(--color-primary);
  font-weight: bold;
}

.header ul li.ter a:hover {
  color: rgba(var(--color-dark-rgb), 0.8);
}

.header ul li.oef {
  border-left: 1px solid var(--color-primary);
  margin: 0 20px;
  padding: 0 10px;
  line-height: 27px;
}

.header ul li.oef a {
  display: inline-block;
  border: 1px solid var(--color-primary);
  text-indent: -9999px;
  width: 30px;
  height: 28px;
  margin-left: 5px;
  background: url(../img/down.png) no-repeat center center;
}

.header ul li.sm {
  border: none;
  padding: 0;
}

.header ul li.sm a {
  width: 28px;
  height: 28px;
  display: block;
  float: left;
  margin-right: 8px;
  text-indent: -9999px;
  border: 1px solid #ac9879;
}

.header .mini-tel-icon {
  display: none;
}

/* Mobile Navigation Button */
#mobnav-btn {
  position: absolute;
  right: 20px;
  top: 40px;
  display: block;
  transition: 0.5s;
  text-align: center;
  color: var(--color-white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 0 10px;
  text-transform: uppercase;
  float: right;
}

#mobnav-btn .lines-button {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
}

#mobnav-btn button.lines-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

#mobnav-btn .lines {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
  top: -4px;
}

#mobnav-btn .lines:before,
#mobnav-btn .lines:after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: 0.3s;
  position: absolute;
  left: 0;
  transform-origin: 0.28571rem center;
}

#mobnav-btn .lines:before {
  top: 9px;
}

#mobnav-btn .lines:after {
  top: -9px;
}

#mobnav-btn .lines-button.close .lines {
  background-color: transparent;
}

#mobnav-btn .lines-button.close .lines:before,
#mobnav-btn .lines-button.close .lines:after {
  transform-origin: 50% 50%;
  top: 0;
  width: 28px;
}

#mobnav-btn .lines-button.close .lines:before {
  transform: rotate3d(0, 0, 1, 45deg);
}

#mobnav-btn .lines-button.close .lines:after {
  transform: rotate3d(0, 0, 1, -45deg);
}

/* Header wird opak bei ≤1024px */
@media only screen and (max-width: 1024px) {
  .header {
    background: rgba(var(--color-dark-rgb), 1);
  }
  
  .header ul {
    padding: 30px 40px 0 0;
  }
  
  #mobnav-btn {
    top: 30px;
  }
}

@media only screen and (max-width: 768px) {
  .header {
    padding-bottom: 0;
  }
  
  .header .logo {
    margin-left: 0;
    margin-top: 0;
    padding: 10px;
    max-width: 300px;
  }
  
  .header .col-9-12 {
    margin: 0;
    padding-right: 0;
  }
  
  .header ul {
    position: absolute;
    right: 10px;
    left: auto;
    top: auto;
    bottom: 10px;
    width: auto;
    padding: 0;
  }
  
  .header ul li {
    border: none;
    float: right;
    width: 90%;
    color: var(--color-text);
  }
  
  .header ul li.tel,
  .header ul li.ter {
    display: none !important;
  }
  
  .header ul li.sm {
    display: none;
  }
  
  .header ul li.oef {
    display: none;
  }
  
  .header ul li a {
    color: var(--color-text);
  }
  
  #mobnav-btn {
    top: 40px;
    padding: 10px 0 0 0;
  }
}

@media screen and (max-width: 700px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .header .logo {
    margin-top: 0;
  }
}

@media screen and (max-width: 374px) {
  .header .logo {
    padding-right: 40px;
  }
  
  #mobnav-btn {
    top: 33px;
  }
}

/* Mobile Tel Icon */
@media (max-width: 768px) and (orientation: portrait) {
  #mobnav-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 96px;
    height: 50px;
    z-index: 2000;
  }
  
  #mobnav-btn .lines-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
  }
  
  #mobnav-btn .mini-tel-icon {
    display: flex;
    position: absolute;
    top: 0;
    right: 52px;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: rgba(195, 173, 141, 0.95);
    border: 1px solid rgba(195, 173, 141, 1);
    border-radius: 50%;
    font-size: 22px;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1;
    transition: all 0.3s;
  }
  
  @supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
    #mobnav-btn .mini-tel-icon {
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
  }
  
  #mobnav-btn .mini-tel-icon:active {
    transform: scale(0.95);
    background: var(--color-primary);
  }
}

/* =========================================================
   6. HERO SYSTEM (EINHEITLICH)
   =========================================================
   
   Dieses System gilt für BEIDE:
   - Startseite (#tplstart)
   - Unterseiten (#tplstandard)
   
   Das Hero nutzt Splide für konsistentes Verhalten.
   
   ========================================================= */

/* --- Hero Section Wrapper --- */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 48px);
}

/* --- Hero Container (#slider) --- */
#slider {
  position: relative;
  width: 100%;
  background: var(--color-bg);
  /* Wenn Header opak → Slider unterhalb, sonst dahinter */
  padding-top: calc(var(--header-h) * (1 - var(--header-overlap)));
}

/* Gap-Konsolidierung: Single Source of Truth für Slider→Main Abstand */
#slider + #main {
  padding-top: clamp(16px, 3vh, 48px);
}

/* --- Splide Base --- */
#slider .splide {
  position: relative !important;
  visibility: visible !important;
  width: 100%;
}

#slider .splide__track {
  width: 100%;
  overflow: hidden;
}

#slider .splide__list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* display:flex entfernt - Splide managed Layout selbst */
}

/* --- Slide Height (Einheitlich) --- */
#slider .splide__slide {
  position: relative !important;
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
  height: clamp(
    var(--hero-min),
    calc((var(--vh) * 100) - var(--header-h) - var(--hero-peek)),
    var(--hero-max)
  ) !important;
  opacity: 1;
  transition: opacity 1.5s ease-in-out !important;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Tablet */
@media (max-width: 1024px) {
  #slider .splide__slide {
    height: clamp(
      280px,
      calc((var(--vh) * 100) - var(--header-h) - var(--hero-peek)),
      520px
    ) !important;
  }
}

/* Mobile Portrait */
@media (max-width: 768px) and (orientation: portrait) {
  #slider .splide__slide {
    height: clamp(
      260px,
      calc((var(--vh) * 100) - var(--header-h) - var(--hero-peek)),
      480px
    ) !important;
  }
}

/* Low-Height Landscape */
@media (max-height: 430px) and (orientation: landscape) {
  #slider .splide__slide {
    height: clamp(
      200px,
      calc((var(--vh) * 100) - var(--header-h) - 100px),
      320px
    ) !important;
  }
}

/* --- Slide Images --- */
#slider .splide__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 35%;
}

@media (max-width: 1024px) {
  #slider .splide__slide img {
    object-position: 50% 30%;
  }
}

/* --- Slide Visibility --- */
#slider .splide__slide.is-active,
#slider .splide__slide.is-visible {
  opacity: 1;
}

#slider .splide__slide:not(.is-active):not(.is-visible) {
  opacity: 0;
}

/* --- Caption System (clamp-basiert) --- */
#slider .splide__slide .caption {
  position: absolute;
  bottom: clamp(30px, 6vh, 60px);
  left: 0;
  width: clamp(320px, 50vw, 640px);
  max-width: 90%;
  z-index: 10;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Caption H1 - Fließende Skalierung */
#slider .splide__slide .caption h1 {
  background: rgba(var(--color-dark-rgb), 0.8);
  padding: clamp(12px, 2.5vh, 20px) 0 clamp(12px, 2.5vh, 20px) clamp(20px, 15%, 25%);
  font-size: clamp(24px, 4.5vw, 60px);
  line-height: 1.15;
  font-weight: 300;
  margin: 0;
}

/* Caption H2 - Fließende Skalierung */
#slider .splide__slide .caption h2 {
  background: rgba(195, 173, 141, 0.9);
  text-transform: none;
  color: var(--color-white);
  padding: clamp(10px, 2vh, 20px) clamp(15px, 3vw, 20px);
  margin-left: clamp(20px, 15%, 25%);
  margin-bottom: 0;
  font-weight: 300;
  font-size: clamp(14px, 2.5vw, 20px);
  line-height: 1.5;
}

#slider .splide__slide .caption .btn {
  display: none !important;
}

/* Caption Animation - Erste Slide */
#slider .splide__slide:first-child .caption {
  opacity: 0;
  animation-name: caption-fade-in;
  animation-duration: 1.5s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
}

@keyframes caption-fade-in {
  from {
    opacity: 0;
    transform: translate(-40px, 0);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

/* Caption Responsive Adjustments */
/* Ultra-Wide: Breitere Caption für große Screens */
@media (min-width: 1600px) {
  #slider .splide__slide .caption {
    max-width: 720px;
  }
}

@media (max-width: 1024px) {
  #slider .splide__slide .caption {
    width: clamp(300px, 60vw, 480px);
    bottom: clamp(40px, 8vh, 60px);
  }
}

@media (max-width: 768px) {
  #slider .splide__slide .caption {
    bottom: clamp(30px, 6vh, 60px);  /* geglättet: war 80-150px, jetzt 30-60px */
  }
}

@media screen and (max-width: 600px) {
  #slider .splide__slide .caption {
    bottom: clamp(15px, 4vh, 30px);  /* geglättet: war fix 20px */
    width: 100% !important;
    max-height: calc(100% - 40px);
    overflow: hidden;
  }
  
  #slider .splide__slide .caption h1 {
    padding: 15px 0 15px 20px;
    margin-bottom: 0;
  }
  
  #slider .splide__slide .caption h2 {
    padding: 10px 20px;
    margin-left: 0;
  }
}

@media screen and (max-width: 374px) {
  #slider .splide__slide .caption h1 {
    padding: 10px 0 10px 20px;
  }
  
  #slider .splide__slide .caption h2 {
    padding: 10px 20px;
  }
}

/* Low-Height Landscape Caption */
@media (max-height: 430px) and (orientation: landscape) {
  #slider .splide__slide .caption {
    bottom: 15px;
    max-width: 85%;
  }
  
  #slider .splide__slide .caption h1 {
    font-size: 22px !important;
    line-height: 26px !important;
    padding: 8px 0 8px 20px !important;
    margin-bottom: 0 !important;
    background: rgba(var(--color-dark-rgb), 0.9);
  }
  
  #slider .splide__slide .caption h2 {
    font-size: 14px !important;
    line-height: 18px !important;
    padding: 6px 20px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    background: rgba(195, 173, 141, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-height: 360px) and (orientation: landscape) {
  #slider .splide__slide .caption h2 {
    display: none !important;
  }
}

/* --- Pagination --- */
#slider .splide__pagination {
  position: absolute !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  inset: auto !important;
  width: auto !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5 !important;
  right: clamp(14px, 2vw, 26px) !important;
  bottom: clamp(14px, 2.2vh, 26px) !important;
}

@media (max-height: 520px) {
  #slider .splide__pagination {
    top: 12px !important;
    bottom: auto !important;
  }
}

#slider .splide__pagination__page {
  width: 25px;
  height: 25px;
  border-radius: 0;
  background: rgba(195, 173, 141, 0.9);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background 0.3s ease;
  opacity: 1;
  pointer-events: all !important;
}

#slider .splide__pagination__page.is-active,
#slider .splide__pagination__page:hover {
  background: rgba(var(--color-dark-rgb), 0.9);
}

#slider .splide__pagination__page:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media only screen and (max-width: 768px) {
  #slider .splide__pagination {
    right: 10px !important;
    bottom: 10px !important;
  }
  
  #slider .splide__pagination__page {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 600px) {
  #slider .splide__pagination__page {
    background: rgba(var(--color-dark-rgb), 0.5);
  }
  
  #slider .splide__pagination__page.is-active,
  #slider .splide__pagination__page:hover {
    background: rgba(var(--color-dark-rgb), 0.9);
  }
}

@media screen and (max-width: 480px) {
  #slider .splide__pagination__page {
    width: 20px;
  }
}

@media (max-height: 360px) and (orientation: landscape) {
  #slider .splide__pagination {
    bottom: 10px !important;
  }
}

/* --- Arrows --- */
#slider .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 43px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 50;
}

#slider .splide__arrow svg {
  display: none;
}

#slider .splide__arrow:hover {
  opacity: 1;
}

#slider .splide__arrow--prev {
  left: 80px;
  background: url(../img/prev-bronze.png) no-repeat center center;
}

#slider .splide__arrow--next {
  right: 80px;
  background: url(../img/next-bronze.png) no-repeat center center;
}

#slider .splide__arrow--prev:hover {
  background-image: url(../img/prev-black.png);
}

#slider .splide__arrow--next:hover {
  background-image: url(../img/next-black.png);
}

/* --- Scroll Down Indicator --- */
#slider .scrolldown {
  position: absolute;
  z-index: 99;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 38px;
  text-align: center;
  text-indent: -9999px;
  background: url(../img/scrolldown.png) no-repeat center center;
}

@media only screen and (max-width: 768px) {
  #slider .scrolldown {
    display: none;
  }
}

/* --- Splide Global Reset --- */
.splide {
  padding: 0 !important;
}

.splide__track {
  padding: 0 !important;
}

/* Legacy .mainslider entfernt - Migration auf Splide abgeschlossen (Commit 3) */

/* =========================================================
   7. CONTENT SECTIONS
   ========================================================= */

/* --- Main Content Area --- */
#main {
  background: var(--color-bg);
  padding-top: clamp(16px, 3vh, 40px);
  padding-bottom: clamp(16px, 3vh, 40px);
}

#main .maincontent ul {
  padding-left: 20px;
}

.maincontent .btn {
  border: none;
  background-color: var(--color-primary);
}

.maincontent .btn:hover {
  border: none;
}

.maincontent .btn a {
  color: white;
  font-weight: bold;
}

.maincontent .btn a:hover {
  color: var(--color-text);
}

/* Template Standard Specifics */
/* padding-top wird vom #slider gesteuert, nicht vom body (verhindert Doppel-Offset) */
#tplstandard {
  padding-top: 0;
}

#tplstandard #main .col-8-12 {
  border-left: 1px solid var(--color-text);
  padding-left: 40px;
}

@media only screen and (max-width: 1024px) {
  #tplstandard #main .col-8-12 {
    border-left: none;
  }
}

@media only screen and (max-width: 768px) {
  #tplstandard #main .col-8-12 {
    padding-left: 0;
  }
}

/* --- Intro Section --- */
.intro {
  padding: 60px 0 100px 0;
}

@media (max-width: 1024px) {
  .intro {
    padding: 40px 0 80px 0;
  }
}

@media (max-width: 768px) {
  .intro {
    padding: 20px 0 50px 0;
  }
  
  .intro .col-4-12 {
    float: left;
    width: 50%;
  }
  
  .intro .col-6-12 {
    float: left;
    width: 50%;
  }
}

.intro .subcontent {
  padding: 40px 0 0 80px;
}

.intro .subcontent a {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

@media only screen and (max-width: 1024px) {
  .intro .subcontent {
    padding: 0 0 0 40px;
  }
}

@media screen and (max-width: 600px) {
  .intro .col-4-12 {
    float: none;
    width: 100%;
  }
  
  .intro .col-6-12 {
    float: none;
    width: 100%;
  }
  
  .intro .subcontent {
    padding: 0;
  }
}

/* --- Teaser Section --- */
#teaser {
  padding: 0 0 clamp(40px, 8vh, 100px) 0;
}

#teaser .slide {
  padding-top: var(--teaser-gap);
}

#teaser .image {
  float: left;
  width: 50%;
  margin-top: calc(var(--teaser-gap) * -1);
}

#teaser .image img {
  width: 100%;
  height: auto;  /* verhindert Verzerrung bei responsiver Skalierung */
  display: block;
}

#teaser .content {
  float: left;
  width: 50%;
}

#teaser .content-inner {
  padding: 34px 120px 34px 60px;
  background: #707070;
  margin-right: -100px;
}

#teaser .content h3,
#teaser .content p {
  color: var(--color-white);
}

@media (max-width: 768px) {
  #teaser {
    padding-bottom: clamp(40px, 8vh, 100px);
  }
  
  #teaser .slide {
    padding-top: var(--teaser-gap);
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 600px) {
  #teaser .image {
    float: none;
    width: 100%;
    margin-top: 0;
  }
  
  #teaser .content {
    float: none;
    width: 100%;
  }
  
  #teaser .content-inner {
    padding: 20px;
    margin-right: 0;
  }
}

/* --- Team Section --- */
#team.team .galleryslider .slide {
  padding-left: 0;
  padding-right: 60px;
}

#team.team .galleryslider .slide .caption {
  left: auto;
  right: 0;
}

/* --- Buttons Section --- */
.buttons .grid {
  padding-right: 0;
}

.buttons .grid-pad {
  padding-top: 0;
  padding-left: 0;
}

.buttons .col-5-12,
.buttons .col-7-12,
.buttons .col-6-12 {
  padding: 0;
  margin: 0;
}

.buttons .buttonstext {
  padding: 40px;
  background: var(--color-primary);
}

.buttons .buttonstext h3 {
  color: var(--color-text);
}

.buttons .buttonstext p {
  color: var(--color-white);
}

.buttons .buttonsimage {
  margin-top: 60px;
}

.buttons .buttonsimage img {
  width: 100%;
}

.buttons .bright,
.buttons .bleft {
  margin-bottom: 60px;
}

.buttons .buttonstext a {
  color: var(--color-text);
}

.buttons .buttonstext a:hover {
  text-decoration: underline;
}

.buttons .bright .buttonstext {
  padding-left: 150px;
  padding-right: 150px;
  margin-left: -110px;
}

.buttons .bleft .buttonstext {
  padding-right: 150px;
  padding-left: 150px;
  margin-right: -110px;
}

@media only screen and (max-width: 1140px) {
  .buttons .bright .buttonstext {
    padding-right: 75px;
  }
  
  .buttons .bleft .buttonstext {
    padding-left: 75px;
  }
}

@media only screen and (max-width: 1024px) {
  .buttons .bright .buttonstext {
    padding-right: 40px;
  }
  
  .buttons .bleft .buttonstext {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .buttons .buttonsimage {
    margin-top: 0;
  }
  
  .buttons .bright,
  .buttons .bleft {
    margin-bottom: 0;
  }
  
  .buttons .bright .buttonstext {
    margin-left: 0;
    padding-left: 40px;
  }
  
  .buttons .bleft .buttonstext {
    margin-right: 0;
    padding-right: 40px;
  }
}

@media screen and (max-width: 600px) {
  .buttons .bright .buttonstext {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .buttons .bleft .buttonstext {
    padding-right: 40px;
    padding-left: 40px;
  }
}

/* --- Gallery --- */
#gallery [class*="col-"] {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#gallery img {
  transition: transform 0.5s ease;
  transform: scale(1);
}

#gallery a:hover img {
  transform: scale(1.25);
}

#gallery picture {
  display: block;
  width: 100%;
  max-width: 100%;
}

#gallery picture img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media only screen and (max-width: 768px) {
  #gallery [class*="col-"] {
    width: 50%;
    float: left;
  }
}

/* --- Image Slider --- */
#imageslider {
  padding: 60px 0 60px 0;
}

@media only screen and (max-width: 1024px) {
  #imageslider {
    padding: 60px 0 60px 0;
  }
}

/* --- Accordion --- */
.accordion {
  border-top: 1px solid var(--color-primary);
  border-left: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  margin: 20px 0 100px 0;
}

.accordion h2.dach {
  cursor: pointer;
  display: block;
  padding: 10px 45px 10px 20px;
  margin-bottom: 0;
  background: url(../img/accordion-arrow-down.png) no-repeat right center;
  border-bottom: 1px solid var(--color-primary);
  outline: none;
  text-transform: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 24px;
}

.accordion h2:hover {
  background: url(../img/accordion-arrow-show.png) no-repeat right center;
}

.accordion h2.ui-state-active {
  background: url(../img/accordion-arrow-show.png) no-repeat right center;
}

.accordion .accitem {
  background: var(--color-primary);
  padding: 20px 30px 10px 20px;
}

.accordion .accitem p {
  color: var(--color-white);
}

/* --- Termin Section --- */
#termin {
  padding: 80px 0 100px 0;
  background: var(--color-primary);
}

#termin .btn {
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 15px 25px;
  width: 100%;
  font-weight: bold;
  background-color: var(--color-text);
  border: none;
}

#termin .btn:hover {
  color: var(--color-primary);
}

#termin p {
  color: var(--color-white);
}

#termin .download {
  color: var(--color-white);
}

#termin .download span {
  border: 1px solid var(--color-white);
  text-decoration: none;
  width: 60px;
  height: 55px;
  float: left;
  margin-right: 10px;
  padding: 10px 10px 10px 10px;
  background: url(../img/download.png) no-repeat center center;
  color: var(--color-white);
}

@media only screen and (max-width: 768px) {
  #termin {
    padding: 0 0 60px 0;
  }
}

/* --- Submenu --- */
p.topline {
  padding: 0;
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  text-transform: uppercase;
  color: #666;
}

p.menuhead {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  padding: 8px 0;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  margin: 0 20px 0 0;
  text-transform: uppercase;
}

.submenu {
  list-style: none;
  margin-bottom: 40px;
  padding: 0 !important;
}

.submenu li {
  float: left;
  width: 100%;
}

.submenu li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  color: var(--color-text);
  margin-right: 20px;
}

.submenu li a:hover {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.submenu li.selected a {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.submenu ul {
  list-style: none;
}

.submenu ul li a {
  padding-left: 20px;
}

.submenu li.selected li a {
  border-bottom: 1px solid var(--color-text);
  color: var(--color-text);
}

.submenu li.selected li a:hover,
.submenu li.selected li.selected a {
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
}

@media only screen and (max-width: 768px) {
  aside p.menuhead {
    margin-top: 40px;
  }
}

/* =========================================================
   8. FORMS
   ========================================================= */

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form .name {
  padding-bottom: 3px;
}

.contactform label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #636363;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  -webkit-font-smoothing: subpixel-antialiased;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  background: #eee;
  padding: 7px 10px;
  width: 100%;
}

.contact-form select {
  padding: 6px 10px;
}

.contact-form input.plz,
.contact-form input.hnr {
  width: 25%;
  display: inline-block;
}

.contact-form input.hnr,
.contact-form input.ort {
  margin-left: 5%;
}

.contact-form input.ort,
.contact-form input.strasse {
  width: 70%;
  display: inline-block;
}

.contact-form textarea {
  height: 110px;
}

.contact-form .formsubmit {
  text-align: left;
}

.contact-form .submit,
.contact-form .reset {
  float: left;
  margin-top: 15px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 8px 25px;
  text-decoration: none;
  margin-right: 10px;
  width: 157px;
  background: var(--color-bg);
  transition: all 0.4s;
}

.contact-form .check {
  margin-top: 15px;
}

.contact-form .submit:hover,
.contact-form .reset:hover {
  color: var(--color-white);
  background: var(--color-text);
}

.contact-form .error {
  font-size: 12px;
  font-weight: 300;
  color: red;
}

.contentbutton {
  border: 1px solid var(--color-text);
  color: var(--color-text);
  display: inline-block;
  padding: 8px 25px;
  text-decoration: none;
  margin-right: 10px;
}

.contentbutton:hover {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.dscheck {
  display: flex;
  list-style: none;
  padding-left: 0 !important;
}

.dscheck input {
  margin-right: 5px;
}

/* =========================================================
   9. FOOTER
   ========================================================= */

#footer {
  background: var(--color-text);
  padding-top: 30px;
}

#footer p,
#footer a {
  color: var(--color-white);
}

#footer address {
  font-style: normal;
  padding: 0;
}

#footer address span.span {
  display: block;
  float: left;
  width: 40px;
  color: #c4ab84;
}

#footer .policy {
  text-align: right;
}

#footer #gmapcontent h4 {
  color: #000;
  margin: 0 0 15px;
  padding: 0;
}

#footer #gmapcontent p {
  color: #000;
  font-size: 12px;
  line-height: 18px;
  padding-bottom: 5px;
}

#footer #gmapcontent p a {
  color: #b1aaa4;
  font-size: 12px;
  text-decoration: none;
  text-transform: none;
}

#footer #gmapcontent .planer {
  padding: 0;
}

#footer #map-canvas {
  width: 100%;
  min-height: 320px;
}

#footer .times span {
  display: block;
  float: left;
  width: 110px;
  color: #c4ab84;
}

#footer .socialmedia a {
  width: 38px;
  height: 38px;
  display: block;
  float: left;
  margin-right: 8px;
  text-indent: -9999px;
  border: 1px solid #ac9879;
}

#footer .socialmedia a.fb {
  background: url(../img/icon-fb.png) no-repeat center center;
}

#footer .socialmedia a.gp {
  background: url(../img/icon-gp.png) no-repeat center center;
}

#footer .socialmedia a.ja {
  background: url(../img/icon-ja.png) no-repeat center center;
}

.footer-col-1 {
  width: 225px;
}

.footer-col-2 {
  width: 210px;
}

.footer-col-3 {
  width: 290px;
}

.footer-col-4 {
  width: 400px;
}

#footer .grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer .grid:after {
  content: none;
}

@media only screen and (max-width: 1200px) {
  .footer-col-1,
  .footer-col-2,
  .footer-col-3,
  .footer-col-4 {
    width: 50%;
  }
}

@media only screen and (max-width: 768px) {
  #footer .col-4-12,
  #footer .col-3-12 {
    float: left;
    width: 50%;
  }
  
  .policy {
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  #footer .col-4-12,
  #footer .col-3-12 {
    float: none;
    width: 100%;
  }
}

/* --- Maps Consent --- */
.maps-consent {
  width: 100%;
  height: 320px;
}

.maps-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.maps-placeholder-content {
  padding: 20px;
}

.maps-placeholder-content i {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.maps-placeholder-content p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
}

.maps-placeholder-content a {
  color: var(--color-primary);
}

.maps-load-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.maps-load-btn:hover {
  background: #b39668;
}

.maps-consent iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* =========================================================
   10. OVERLAY NAVIGATION
   ========================================================= */

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  background: rgba(var(--color-dark-rgb), 0.95);
  overflow-y: auto;
  transition: 0.5s;
  pointer-events: none;
}

.overlay[style*="height: 100%"] {
  pointer-events: all;
}

.overlay:before {
  content: "";
  position: absolute;
  top: 103px;
  left: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid var(--color-primary);
  z-index: -1;
}

.overlay-content {
  position: relative;
  top: 0;
  width: 100%;
  margin-top: 90px;
}

.overlay ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.overlay ul li a {
  display: block;
  padding: 12px 10px;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 36px;
  color: var(--color-white);
  transition: 0.3s;
}

.overlay ul li a.line {
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-white);
  margin: 20px 0;
  padding: 25px 10px;
}

.overlay ul.nav-b li a {
  text-transform: uppercase;
  font-size: 96px;
  line-height: 96px;
  font-weight: 300;
}

.overlay a:hover,
.overlay a:focus {
  color: var(--color-primary);
}

.overlay .closebtn {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 60px;
  color: var(--color-primary);
  background: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.overlay .closebtn:hover {
  color: var(--color-white);
}

@media only screen and (max-width: 1024px) {
  .overlay:before {
    top: 92px;
  }
  
  .overlay .closebtn {
    top: 0;
  }
  
  .overlay ul.nav-b li a {
    font-size: 78px;
  }
  
  .overlay-content {
    top: 15%;
    width: 100%;
    margin-top: 0px;
  }
}

@media only screen and (max-width: 768px) {
  .overlay-content {
    top: auto;
    width: 100%;
    margin-top: 80px;
  }
  
  .overlay ul li a {
    padding: 8px 10px;
  }
  
  .overlay ul.nav-b li a {
    font-size: 54px;
    line-height: 64px;
  }
}

@media screen and (max-width: 600px) {
  .overlay {
    overflow-y: auto;
  }
  
  .overlay ul li a,
  .overlay ul.nav-b li a {
    font-size: 20px;
    line-height: 24px;
    padding: 8px 10px;
    font-weight: 400;
  }
  
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 20px;
  }
}

@media screen and (max-width: 480px) {
  .overlay .closebtn {
    font-size: 40px;
    top: 0px;
    right: 33px;
  }
  
  .overlay:before {
    top: 54px;
  }
  
  .overlay-content {
    top: auto;
    width: 100%;
    margin-top: 40px;
  }
  
  .overlay ul li a.line {
    margin: 10px 0;
    padding: 15px 10px;
  }
}

@media screen and (max-width: 374px) {
  .overlay ul li a,
  .overlay ul.nav-b li a {
    font-size: 18px;
    line-height: 18px;
    padding: 7px 10px;
  }
}

/* --- Mobile CTA Section in Overlay --- */
.mobile-cta-section {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(195, 173, 141, 0.2);
  margin-bottom: 25px;
  width: 100%;
  display: flex;
  gap: 15px;
  flex-direction: row;
  align-items: stretch;
}

.mobile-cta-btn {
  flex: 1 1 0;
  min-width: 240px;
  color: var(--color-white);
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.mobile-cta-btn.tel {
  border: 1px solid var(--color-primary);
  padding: 2px 10px;
  background: transparent;
}

.mobile-cta-btn.termin {
  border: 1px solid var(--color-primary);
  padding: 2px 10px;
  font-size: 15px;
  line-height: 24px;
  background-color: var(--color-primary);
  font-weight: bold;
}

.mobile-cta-btn:hover {
  color: var(--color-primary);
}

.mobile-cta-btn.termin:hover {
  color: rgba(var(--color-dark-rgb), 0.8);
}

.mobile-cta-btn:active {
  transform: scale(0.98);
}

.mobile-cta-btn .icon {
  display: none !important;
}

.mobile-cta-btn .text {
  display: inline-block;
  white-space: nowrap;
}

.mobile-cta-btn .text .label {
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 768px) and (orientation: portrait) {
  .mobile-cta-section {
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-cta-btn {
    width: 100%;
    min-width: 0;
  }
  
  .mobile-cta-btn .text {
    white-space: normal;
  }
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .mobile-cta-btn {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* =========================================================
   11. UTILITIES & HELPERS
   ========================================================= */

.sr-only,
.visuallyhidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  position: static !important;
  white-space: normal !important;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* =========================================================
   12. PRINT STYLES
   ========================================================= */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  
  thead {
    display: table-header-group;
  }
  
  tr,
  img {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* =========================================================
   END OF FILE
   ========================================================= */
