/* =========================================================
   Base & Variables
   ========================================================= */
:root {
  /* 1rem = 10px */
  font-size: 62.5%;
  --color-bg: #E6DCC6;
  --color-bg-light: #F7F6F5;
  --color-primary: #9c895c;
  --color-secondary: #eee;
  --color-text: #333;
  --color-muted: #555;
  --color-border: #eee;
  --font: 'Bricolage Grotesque', sans-serif;
  
  --corner-l: 200px;       /* Länge pro Ecke */
  --corner-w: 2px;        /* Liniendicke */
  --corner-gap: -20px;      /* Versatz vom Bild */
  --corner-color: #9c895c;
  --t1: 400ms;            /* Dauer horizontal */
  --t2: 400ms;            /* Dauer vertikal */
  
  --radius: 0; /* keine runden Ecken */
  --gap-lg: 4.5rem;
  --gap-md: 1.25rem;
  --gap-sm: .75rem;
  --border: #e7e7ea;
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --shadow-hover: 0 18px 40px rgba(0,0,0,.08);
  --font-size-base: 1.8rem; /* ~16px */
  
  --pg-gap: 2rem;
  --pg-radius: 14px;
  --pg-border: #e9e6e2;
  --pg-shadow: 0 14px 30px rgba(0,0,0,.07);
  --pg-shadow-hover: 0 24px 50px rgba(0,0,0,.10);
  --pg-accent: #B86B46; /* Terracotta */
  --pg-ink: #1f1f1f;
  --pg-muted: #666;
  --color-surface: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-text: #222;
  --radius: 16px;
  --space: 1.5rem;
  --font-size-h2: clamp(2rem, 2vw + 1.5rem, 2.8rem);
}

/* CSS Reset */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

button, input, select, textarea {
  font: inherit; color: inherit; background: none; border: none; outline: none;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

section { padding: 7rem 0; }

/* =========================================================
   Typography & Helpers
   ========================================================= */
.headline { margin-bottom: 6rem; }
.headline.center { text-align: center; }
.headline h2 { font-size: 4.6rem; line-height: 1.5; }
.headline p { font-size: 1.8rem; line-height: 1.5; }

.highlight { color: var(--color-primary); }

.typed, .typed-cursor {
  color: var(--color-primary);
  font-weight: 600;
}

/* Containers */
.container { max-width: 126rem; margin: 0 auto; }
.container-large { max-width: 140rem; margin: 0 auto; }
.container-flexible { max-width: 94%; margin: 0 auto; }


/* =========================================================
   Header & Navigation
   ========================================================= */
.site-header {
  background: var(--color-bg);
  padding: 3rem 0;
}

.header-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}

.logo svg { width: 34rem; height: 5.2rem; }
@media (max-width: 1024px) {
  .logo svg { width: 24rem; height: 4rem; }
}

/* ================================================
   NAVIGATION (auf Basis deines Codes)
   ================================================ */

.main-nav, .main-menu {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  position: relative;
}

/* --------------------------------
   Links
-------------------------------- */
.main-nav a {
  font-weight: 600;
  text-decoration: none;
  color: #222;
  font-size: 1.6rem;
  padding: 0.8rem 0;
  position: relative;
  transition: color .25s ease, transform .2s ease;
}

.main-nav a:hover {
  color: #B86B46; /* warmes Terracotta */
  transform: translateY(-2px);
}

/* --------------------------------
   Dropdown (Submenu)
-------------------------------- */
.main-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  min-width: 220px;
  margin: 1rem 0 0;
  padding: 1rem;
  background: #fff8f4;
  border: 1px solid #e9e6e2;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border-radius: 8px;
  list-style: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s step-end;
  transform: translateY(8px);
  z-index: 50;
}

.main-menu li ul li {
  margin: 0;
}

.main-menu li ul a {
  display: block;
  padding: .8rem 1rem;
  color: #333;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}

.main-menu li ul a:hover {
  background: rgba(184,107,70,.08);
  color: #B86B46;
}

/* Dropdown anzeigen bei Hover oder Fokus */
.main-menu li:hover > ul,
.main-menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}

/* --------------------------------
   Bohemian Current Item Style
-------------------------------- */
.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
  color: #B86B46;
  position: relative;
  font-weight: 700;
}

/* Gewebte Unterlinie */
.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #B86B46;
  border-radius: 2px;
}


/* --------------------------------
   Responsive Anpassung
-------------------------------- */
@media (max-width: 900px) {
  .main-nav, .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .main-menu li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0.5rem 0 0 1.5rem;
  }

  .main-menu li ul a {
    padding: 0.4rem 0;
  }
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #B86B46;
  transition: width .3s ease;
}
.main-nav > ul >li > a:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher { position: relative; display: inline-block; }
.lang-toggle {
  background: #fff; border-radius: 50%; width: 3.6rem; height: 3.6rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 .1rem .4rem rgba(0,0,0,.1); padding: 0;
}
.lang-toggle img { width: 1.8rem; height: 1.8rem; object-fit: cover; border-radius: 50%; }

.lang-dropdown {
  position: absolute; top: 4.4rem; right: 0; background: #fff;
  border: 1px solid #ddd; border-radius: .6rem; padding: .5rem 0;
  box-shadow: 0 .4rem 1rem rgba(0,0,0,.1); display: none; min-width: 12rem; z-index: 10;
}
.lang-dropdown li { padding: 0; }
.lang-dropdown a {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem;
  color: #333; font-size: 1.4rem; transition: background .2s;
}
.lang-dropdown a:hover { background: #f2f2f2; }
.lang-dropdown img { width: 1.8rem; height: 1.8rem; object-fit: cover; border-radius: 50%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--color-bg);
  position: relative;
  padding: 8rem 0 8rem 0;
  z-index: 0;
}


body:not(.home) .hero{
  margin-bottom: 6rem;
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 14rem;
  background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text { max-width: 40rem; }
.single .hero-text { max-width: 56rem; }
.hero-text h1 { font-size: 4.2rem; line-height: 1.3; }
.hero-text p { margin-top: 2rem; font-size: 1.6rem; }

.hero-buttons { margin-top: 4rem; }
.hero-buttons a { margin-right: 1rem; }

.btn-primary,
.filter-group .btn-primary {
  background: var(--color-primary); color: #fff; padding: 1rem 2rem;
  font-weight: 600; border-radius: 1.4rem; cursor: pointer; transition: background .2s;
}
.btn-primary:hover,
.filter-group .btn-primary:hover { background: #7d6e4a; }

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 1.4rem;
}

@media (max-width: 1300px) {
  .headline h2 { font-size: 2.6rem; }
  .hero-text h1 { font-size: 3.2rem; }
}
@media (max-width: 600px) {
  .hero-text { max-width: none; }
}

/* Hero Deko-Bilder */
.hero-image02 {
  position: absolute; left: calc(50% - 130px); bottom: 30%; width: 150px; z-index: 0;
}
.hero-image01 {
  position: absolute; right: 0; bottom: 140px; width: 300px; z-index: 0;
}

/* Hero Slider (Slick) */
.hero-slider { position: relative;  overflow: hidden; z-index: 2; width: 100% }
.hero-slider img { width: 100%; height: 400px; object-fit: cover; display: block; }

.slick-arrow {
  position: absolute; bottom: 1.2rem; z-index: 10; width: 4rem; height: 4rem;
  background: #fff; color: #333; border-radius: 50%; font-size: 2rem; font-weight: bold;
  box-shadow: 0 .2rem .6rem rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}

.slick-arrow svg{
  width: 3rem;
  height: 3rem;
}
.slick-arrow:hover { background: #f0f0f0; }
.custom-prev { right: 6rem; }
.custom-next { right: 1.2rem; }

@media (max-width: 768px) {
  .slick-arrow { width: 3.2rem; height: 3.2rem; font-size: 1.8rem; bottom: .8rem; }
  .custom-prev { right: 5.2rem; }
  .custom-next { right: 1.2rem; }
}


@media(max-width: 660px){
  .hero-slider-holder{width: 90%;
    margin-top: 4rem;
    margin-left: 5%;}
    
    .hero-grid .hero-text{
    
    }
}

/* =========================================================
   Filterleiste
   ========================================================= */
.filter-bar {
  background: #fff; padding: 5rem 0; border-bottom: 1px solid #eee;
}
section.filter-bar{
  padding: 7rem 0;
}
.filter-bar h1{
  margin-bottom: 20px; 
      font-size: 4.2rem;
      line-height: 1.3;
}
.filters { display: flex; }
.filter-group {
  display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; width: 100%; max-width: 100rem;
}
.field select,
.filter-group select,
.filter-group button {
  height: 4.4rem; padding: 0 1.5rem; font-size: 1.6rem; border: 1px solid #ccc;
  border-radius: .6rem; background: #fff; color: #333; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23666' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; min-width: 14rem;
}
.filter-group select:focus { border-color: var(--color-primary); }

.filter-link {
  margin-top: 1rem; font-size: 1.6rem; display: inline-block; text-decoration: underline;
  color: var(--color-primary); font-weight: 700; white-space: nowrap;
}
.filter-link:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .filters { flex-direction: column; }
  .filter-group { flex-direction: column; align-items: stretch; }
  .filter-group select, .filter-group button { width: 100%; }
  .filter-link { align-self: flex-end; margin-top: .6rem; }
}

/* =========================================================
   Cards / Listings
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exakt 3 Spalten */
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

.property-card {
  background: #fefefe;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 .2rem 1rem rgba(0,0,0,.05);
  display: flex; flex-direction: column;
}

.property-card img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}
/* Badges auf dem Bild */
.property-card .thumb {
  position: relative;
  display: block;
}
.property-card .badges {
  position: absolute;
  top: .8rem;
  left: .8rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  z-index: 5;
}
.property-card .badge {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  padding: .6rem .8rem;
  border-radius: .6rem;
  color: #fff;
  box-shadow: 0 .2rem .6rem rgba(0,0,0,.15);
  backdrop-filter: saturate(140%) blur(2px);
}

/* Farben/Styles je Typ */
.property-card .badge-sold {
  background: #9a2b2b; /* sattes rotbraun */
}
.property-card .badge-hot {
  background: #d67b00; /* warmes orange */
}
.property-card .badge-featured {
  background: var(--color-primary, #9c895c);
}

/* Mobile Abstand etwas erhöhen */
@media (max-width: 640px) {
  .property-card .badges { top: .6rem; left: .6rem; gap: .5rem; }
  .property-card .badge { font-size: 1.1rem; padding: .5rem .7rem; }
}

.card-body { padding: 2rem; display: flex; flex-direction: column; }
.card-body .ref { font-size: 1.2rem; color: #999; display: block; margin-bottom: .6rem; }

.property-card h3 { font-size: 1.8rem; font-weight: 600; margin: 0 0 1.2rem; }

.price { font-size: 1.8rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.price-badge span {
  display: inline-block; background: #EBE5D9; color: var(--color-primary);
  font-weight: bold; font-size: 1.4rem; padding: .6rem 1.2rem; border-radius: .6rem; margin-bottom: 1.5rem;
}

aside .price{
  font-size: 3rem;
}

.features {
  display: flex; justify-content: space-between; align-items: stretch;
  padding-top: 1.6rem; margin-top: 1.6rem; gap: 0; border-top: 1px solid var(--color-border);
}
.features li {
  flex: 1 1 0; text-align: center; padding: 0 .8rem; font-size: 1.3rem; color: var(--color-muted);
  display: flex; flex-direction: column; align-items: center;
}
.features li + li { border-left: 1px solid var(--color-border); }
.features .f-icon { display: flex; align-items: center; justify-content: center; height: 2.2rem; margin-bottom: .4rem; }
.features .f-icon svg { width: 1.8rem; height: 1.4rem; }
.features .f-label { font-size: 1.3rem; line-height: 1.4; }

.load-more { text-align: center; margin: 3rem 0; }

/* =========================================================
   Alternierende Sektionen
   ========================================================= */
section.odd { position: relative; background: var(--color-bg-light); z-index: 1; }
section.odd.has-before { padding-top: 17rem; }
section.odd.has-before::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 10rem;
  background: #fff; clip-path: polygon(0 0, 100% 0%, 0 100%); z-index: -1;
}

section.editorial:nth-child(odd){ position: relative; background: var(--color-bg-light); z-index: 1; }
.section-headline { text-align: center; font-size: 2.4rem; font-weight: 600; margin-bottom: 1rem; }
.section-subline { text-align: center; font-size: 1.6rem; margin-bottom: 3rem; color: #555; }

/* =========================================================
   Video Section
   ========================================================= */
.intro-video { background: #fff; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.video-text .highlight { color: var(--color-primary); }
.video-text p { font-size: 1.8rem; margin-bottom: 1.5rem; }
.video-wrapper iframe {
  width: 100%; height: 100%; min-height: 40rem; border-radius: .6rem; border: 0;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-wrapper iframe { height: 22rem; }
}

/* =========================================================
   Footer
   ========================================================= */
   
   .home 
   .footer-image { background: var(--color-bg-light); }
.footer-image {  padding: 4rem 0 0; text-align: center; }
.footer-image svg { margin: 0 auto; max-width: 100rem; height: auto; }
@media (max-width: 1024px) { .footer-image svg { width: 94%; } }

.site-footer { background: #f8f6f2; color: #333; padding: 8rem 2rem 2rem; font-size: 1.4rem; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; margin-bottom: 2rem;
}
.footer-col { flex: 1 1 28rem; min-width: 25rem; }
@media (max-width: 768px) { .footer-col { flex: 1 1 20rem; min-width: 25rem; } }
.footer-col h4 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--color-primary); }
.footer-col p { margin-bottom: .8rem; line-height: 1.5; }
.footer-col a { color: #333; text-decoration: underline; }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid #ddd; padding-top: 1.2rem; display: flex; justify-content: center;
  gap: 2rem; flex-wrap: wrap; font-size: 1.3rem;
}
.footer-bottom a { color: #555; }
.footer-bottom a:hover { text-decoration: underline; color: var(--color-primary); }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
.hero-lead{
  margin-top: 2rem;
  font-size: 1.8rem;
}

/* =========================================================
   Burger / Mobile Menu
   ========================================================= */
.burger {
  display: none; position: fixed; top: 2rem; right: 2rem; z-index: 100;
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 50%;  width: 4.2rem; height: 4.2rem;  border: none; cursor: pointer;
}
.burger span {
  display: block; width: 100%; height: .3rem; margin: .35rem 0; background: #333;
  transition: all .4s ease; border-radius: 3px;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(.4rem, .4rem); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(.6rem, -.6rem); }

.burger-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #f8f6f2; color: #333; z-index: 99;
  flex-direction: column;
  transform: translateY(-100%); transition: transform .5s ease;
  display: none; align-items: center; justify-content: center;
}
.burger-menu.active { transform: translateY(0); }
.burger-menu ul { text-align: center; }
.burger-menu li { margin: 1rem 0; }
.burger-menu a { font-size: 2.4rem; font-weight: 600; transition: color .3s; }
.burger-menu a:hover { color: var(--color-primary); }

@media (max-width: 1024px) {
  .burger { display: block; }
  .burger-menu { display: flex; }
  .site-header .main-nav { display: none; }
}

/* =========================================================
   Property Detail
   ========================================================= */
.property-hero .gallery {
  width: 100%; height: 50vh; background: #eee; overflow: hidden;
}
.property-hero img { width: 100%; height: 100%; object-fit: cover; }

.property-main {
  display: flex; flex-direction: row; gap: 4rem; margin-top: 4rem;
}
.main-column { flex: 0 1 65%; }
.sidebar { flex: 0 1 30%; }

.location { font-size: 1.4rem; color: #888; margin-bottom: 2rem; }
.quick-facts { display: flex; gap: 2rem; margin-bottom: 2rem; font-size: 1.4rem; }
.quick-facts img { width: 2rem; margin-right: .5rem; }

.detail-features,
.details-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem; margin: 2rem 0; font-size: 1.4rem; padding: 0;
}

.sticky-card {
  position: sticky; top: 8rem; background: #f9f9f9; padding: 2rem;
  border-radius: 1rem; box-shadow: 0 0 20px rgba(0,0,0,.05);
}

.contact-mini input[type="tel"],
.contact-mini input[type="text"],
.contact-mini input[type="email"],
.contact-mini textarea {
  width: 100%; margin-bottom: 1rem; padding: 1rem; border: 1px solid #ccc;
  font-size: 1.4rem; font-family: inherit; border-radius: 5px;
}

.property-equipment h2 { margin-bottom: 2rem; }
.equipment-card {
  background: var(--color-bg-light); border-radius: 1rem; box-shadow: 0 0 2rem rgba(0,0,0,.05); padding: 2rem;
}
.equipment-grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.equipment-row {
  flex: 0 1 calc(50% - 1rem); display: flex; align-items: flex-start; font-size: 1.4rem;
  border-bottom: 1px solid var(--color-border); padding: .5rem 0;
}
.equipment-row span {
  width: 15rem; font-weight: 600; color: #444; flex-shrink: 0;
}

.property-content { margin-top: 6rem; }
.property-content h2 { margin-bottom: 3rem; }
.property-content p { margin-bottom: 2rem; }

.property-features { margin-top: 4rem; }
.property-features h2 { font-size: 2.2rem; margin-bottom: 2rem; }
.features-card {
  background: var(--color-bg-light); border-radius: 1rem; box-shadow: 0 0 2rem rgba(0,0,0,.05);
  padding: 2rem; font-size: 1.4rem;
}
.features-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: #333; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: .8rem 2rem; padding: 0; margin: 0 0 4rem 0;
}
.features-grid li {
  position: relative; padding-left: 1.8rem; color: var(--color-muted);
}
.features-grid li::before {
  content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: bold;
}

.checkbox-row {
  display: flex; align-items: flex-start; gap: .8rem; font-size: 1.3rem; margin: 2rem 0; line-height: 1.4;
}
.checkbox-row input[type="checkbox"] { margin-top: .3rem; transform: scale(1.2); }
.checkbox-row a { color: var(--color-primary); text-decoration: underline; }

@media (max-width: 1024px) {
  .property-main { flex-direction: column; }
}


/* Footer */ .site-notice { background: #3a2b1c; color: white; padding: 4rem 2rem; text-align: center; } .footer-quote p { font-size: 3rem; line-height: 1.3; font-weight: 700; margin-bottom: 1rem; } .footer-quote small { font-size: 1.2rem; color: #ccc; }


/* FILTER */

/* Inputs optisch wie Select */
.input-like {
  height: 4.2rem;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  background: #fff;
  color: #333;
  min-width: 12rem;
}

.input-like:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Zwei Felder nebeneinander mit kleinem Gap */
.input-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

/* Checkbox-Reihe kompakt */
.choice-row {
  display: flex;
  gap: 1.2rem;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;           /* wrap auf kleinen Screens */
}

/* Moderne Checkboxen */
.chk {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  font-size: 1.4rem;
}

.chk input[type="checkbox"] {
  /* Hide native */
  appearance: none;
  -webkit-appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid #bbb;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.chk input[type="checkbox"]:hover {
  border-color: #999;
}

.chk input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(0,0,0,0);
  box-shadow: 0 0 0 3px rgba(156,137,92,.25); /* var(--color-primary) alpha */
}

/* Checkmark */
.chk input[type="checkbox"]::after {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  transform: scale(0);
  transition: transform .15s ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 44% 100%, 100% 20%, 85% 7%, 44% 62%);
  background: #fff;
}

.chk input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.chk input[type="checkbox"]:checked::after {
  transform: scale(1);
}

/* ID Feld etwas schmaler, damit die Reihe aufgeräumt bleibt */
.w-id { min-width: 10rem; max-width: 12rem; }

/* Mobile: Inputs und Selects full width */
@media (max-width: 768px) {
  .input-pair { grid-template-columns: 1fr; }
  .choice-row { gap: .8rem; }
  .w-id { max-width: 100%; }
}




/* Stack-Layout für die Filter */
.filter-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Jede Zeile */
.filters-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: end;
}

/* Feld-Container + Label oben */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.2;
}

/* Kombi-Felder (Min/Max nebeneinander, schmal) */
.field--pair .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* ID-Feld in schmaler Spalte */
.field--id .input-id { min-width: 10rem; }

/* Inputs wie Selects, aber "smaller" Variante */
.input-like {
  height: 4.2rem;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  background: #fff;
  color: #333;
}
.input-like:focus { outline: none; border-color: var(--color-primary); }

.input-sm { min-width: 10rem; } /* etwas schmaler als Selects */
.input-id { min-width: 10rem; max-width: 16rem; }

/* Checkbox-Zeile hübsch in einer Reihe */
.choice-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}
.chk {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  font-size: 1.4rem;
}

/* Moderne Checkboxen */
.chk input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 1.6rem; height: 1.6rem;
  border: 1.5px solid #bbb; border-radius: .4rem;
  display: grid; place-items: center;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.chk input[type="checkbox"]:hover { border-color: #999; }
.chk input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(156,137,92,.25); /* var(--color-primary) alpha */
}
.chk input[type="checkbox"]::after {
  content: "";
  width: 0.9rem; height: 0.9rem;
  transform: scale(0);
  transition: transform .15s ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 44% 100%, 100% 20%, 85% 7%, 44% 62%);
  background: #fff;
}
.chk input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.chk input[type="checkbox"]:checked::after { transform: scale(1); }

/* Button-Zeile */
.filters-row.actions {
  grid-template-columns: auto auto 1fr 1fr;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-row.actions { grid-template-columns: auto auto; }
}
@media (max-width: 640px) {
  .filters-row { grid-template-columns: 1fr; }
  .field--pair .pair { grid-template-columns: 1fr 1fr; } /* bleibt 2-spaltig, wirkt kompakt */
}


/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  margin: 4rem 0 2rem;
}

.pagination ul.page-numbers {
  list-style: none;
  display: flex;
  gap: .6rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 3.2rem;
  padding: 0 .8rem;
  border-radius: .6rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: all .2s ease;
}

/* Hover + Focus */
.backbtn{
  margin-top: 30px;
}

/* Aktive Seite */
.pagination .page-numbers.current,
.pagination .page-numbers.current:hover {
  background: var(--color-primary, #9c895c);
  color: #fff;
  border-color: var(--color-primary, #9c895c);
  cursor: default;
}

/* Dots (Auslassungspunkte) */
.pagination .page-numbers.dots {
  background: none;
  border: none;
  color: #888;
  pointer-events: none;
}

/* Vor/Zurück Buttons */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-weight: 600;
  padding: 0 1.4rem;
}

/* Mobile */
@media (max-width: 600px) {
  .pagination .page-numbers {
    min-width: 2.8rem;
    height: 2.8rem;
    font-size: 1.3rem;
  }
  .pagination .page-numbers.prev,
  .pagination .page-numbers.next {
    padding: 0 .8rem;
  }
}






/* ===== Flexible Content: allgemeine Abschnitte ===== */
.content-block { padding: 7rem 0; }
.content-block .wysi > :first-child { margin-top: 0; }
.content-block .wysi > :last-child  { margin-bottom: 0; }

/* Grundtypografie für WYSIWYG-Inhalte */
.wysi h2 { font-size: 3.6rem; line-height: 1.35; margin: 0 0 3rem; }
.wysi h3 { font-size: 2.0rem; line-height: 1.4;  margin: 2rem 0 1rem; }
.wysi p  { font-size: 1.8rem; line-height: 1.7;  margin: 0 0 1.2rem; }
.wysi ul, .wysi ol { margin: 0 0 1.2rem 1.6rem; }
.wysi li { margin: 0.4rem 0; }

/* ===== Text einspaltig ===== */
.text-single .container { max-width: 86rem; } /* angenehme Lesebreite */

/* ===== Text mehrspaltig ===== */
.text-columns .cols-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.text-columns .col {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.04);
}

/* 2-spaltig ab mittleren Screens */
@media (max-width: 1024px) {
  .text-columns .cols-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 1-spaltig mobil */
@media (max-width: 640px) {
  .text-columns .cols-grid { grid-template-columns: 1fr; }
}

/* ===== Text + Bild 50/50 ===== */
.text-image .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.text-image .split-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 0.8rem 2.4rem rgba(0,0,0,0.08);
}
.text-image .split-text .btn-primary,
.text-image .split-text .btn-secondary { margin-top: 1rem; }

/* Reihenfolge via Modifier-Klasse .img-left/.img-right wird im Markup gelöst */

/* Stack mobil */
@media (max-width: 900px) {
  .text-image .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* bei .img-right zuerst Text, dann Bild (durch Markup Reihenfolge) */
}

/* Optional: sanfter Abschnittswechsel */
.content-block.odd { background: var(--color-bg-light); }

.text-columns.cols-2 .cols-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.text-columns.cols-1 .cols-grid { grid-template-columns: 1fr; }



/* ===== Image Gallery Block ===== */
.image-gallery-block {
  padding-bottom: 6rem;
}

.image-gallery-block .hero-image {
  position: relative;
  overflow: hidden;
  height: 60vh;
  width: 100%;
  max-width: 180rem;
  margin: 0 auto;
  min-height: 420px;
}

@media(max-width: 768px){
  .image-gallery-block .hero-image {
    width: 100%;
  }
}

.image-gallery-block .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.image-gallery-block .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 8%;
  color: #fff;
  text-transform: uppercase;
}

.image-gallery-block .hero-headline {
  font-size: 3rem;
  letter-spacing: 0.15em;
  font-weight: 300;
  margin: 0 0 1rem;
}

.image-gallery-block .hero-subline {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0;
  text-transform: none;
}

/* ===== Gallery Grid ===== */
.image-gallery-block .gallery-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.image-gallery-block .gallery-grid figure {
  background: #fff;
}

.image-gallery-block .gallery-grid img {
  width: 100%;
  height: auto;
  transition: filter 0.4s ease, transform 0.4s ease;
  display: block;
  filter: grayscale(100%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.image-gallery-block .gallery-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.image-gallery-block .gallery-grid figcaption {
  font-weight: 600;
  font-size: 2rem;
  margin-top: 1rem;
}
@media (max-width: 1300px) {
  .container, .container-large, .container-flexible, .text-single .container { max-width: 94%; }
}

/* Responsiv */
@media (max-width: 900px) {
  .image-gallery-block .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .image-gallery-block .gallery-grid {
    grid-template-columns: 1fr;
  }
  .image-gallery-block .hero-headline {
    font-size: 2rem;
  }
  .image-gallery-block .hero-subline {
    font-size: 1.6rem;
  }
}














/* Layout */
.elterreno-overview { padding: 6rem 0; }
.et-grid {
  display: grid;
  grid-template-columns: 32rem 1fr;
  gap: 3rem;
}

/* Sidebar */
.et-sidebar { position: sticky; top: 8rem; align-self: start; }
.et-title { font-size: 3.2rem; margin: 0 0 1rem; }
.et-intro { font-size: 1.6rem; color: #555; margin-bottom: 2rem; }

/* CTA Cards */
.et-cta { display: grid; gap: 1.2rem; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .6rem 1rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-color: var(--color-primary, #9c895c);
}
.cta-eyebrow { font-size: 1.2rem; color: #888; grid-column: 1 / 2; }
.cta-title { font-size: 1.6rem; font-weight: 700; grid-column: 1 / 2; }
.cta-arrow { font-size: 2rem; line-height: 1; grid-row: 1 / span 2; }

/* Masonry mit CSS Columns (breit supported, simple) */
.et-masonry {
  column-count: 3;
  column-gap: 1.6rem;
}
.et-item {
  break-inside: avoid;
  margin: 0;
  position: relative;
}
.et-item img {
  width: 100%;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  filter: grayscale(100%);
  transition: filter .35s ease, transform .35s ease;
}
.et-item:hover img { filter: grayscale(0%); transform: scale(1.01); }

/* Caption Overlay unten */
.et-item figcaption {
  position: absolute;
  left: .8rem; right: .8rem; bottom: .8rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.3rem;
  padding: .6rem .8rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.et-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.et-lightbox[hidden] { display: none; }
.et-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.8);
  display: grid; place-items: center; z-index: 9999; padding: 2rem;
}
.et-lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  border-radius: .6rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.et-lightbox-cap {
  margin-top: 1rem; color: #eee; text-align: center; font-size: 1.4rem;
}
.et-lightbox-close {
  position: fixed; top: 2rem; right: 2rem;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: #fff; color: #333; border: 1px solid #ddd;
  font-size: 2rem; line-height: 1; cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .et-grid { grid-template-columns: 26rem 1fr; }
  .et-masonry { column-count: 2; }
}
@media (max-width: 720px) {
  .et-grid { grid-template-columns: 1fr; }
  .et-sidebar { position: static; }
  .et-masonry { column-count: 1; }
}




/* Grid-Layout */
.et-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 260px;
  gap: 1.6rem;
}

@media(max-width: 640px){
  .et-gallery-grid{
    grid-template-columns: 1fr 1fr;
  }
  .equipment-row {
      flex: none;
     
      width: 100%;
  }
}

.et-item {
  position: relative;
  overflow: hidden;
}

.et-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform .4s ease, filter .4s ease;
}

.et-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Breaker-Bilder (größer, farbig) */
.et-item.wide {
  grid-column: span 2;
}

.et-item.tall {
  grid-row: span 2;
}

.et-item.large img {
  filter: none !important;
  transform: none !important;
}

/* Caption Overlay */
.et-item figcaption {
  position: absolute;
  left: .8rem; right: .8rem; bottom: .8rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.3rem;
  padding: .6rem .8rem;
  border-radius: .6rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.et-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox etc. wie vorher */




.stats-block {
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.stats-block .headline {
}

.stats-block .subline {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 4rem;
}

.stats-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: center;
  gap: 10rem;
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* ============ EDITORIAL (modern, 1.6rem base font) ============ */



/* Abschnitt */
.editorial-section { 
  margin-bottom: 5rem; 
}

/* Content Flexlayout */
.editorial-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg);
  align-items: center;
}

/* Text */
.editorial-text h2{
  margin: 0 0 .6em;
  font-size: 3.2rem;   /* ~24px */
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.editorial-text p{
  margin: 0 0 1rem;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #222;
}

/* Layout links/rechts */
.editorial-section.gallery-left .editorial-gallery,
.editorial-section.gallery-right .editorial-gallery{
  flex: 1 1 40%;
  min-width: 280px;
}
.editorial-section.gallery-left .editorial-text,
.editorial-section.gallery-right .editorial-text{
  flex: 1 1 55%;
  min-width: 300px;
}

.editorial-section.gallery-bottom .editorial-content{
  flex-direction: column;
  align-items: stretch;
}

/* Karten / Bilder */
.editorial-gallery{ width: 100%; }
.editorial-card{
  background: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.editorial-card:hover{
  transform: translateY(-4px);
  border-color: #dcdce0;
}
.editorial-card img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.editorial-card figcaption{
  font-size: 1.4rem;   /* ~14px */
  color: #555;
  text-align: center;
  padding: .6rem .8rem .9rem;
  margin-top: .35rem;
}

/* Galerie unten (Grid 2/3) */
.editorial-section.gallery-bottom .editorial-gallery{
  display: grid;
  gap: var(--gap-md);
}
.editorial-section.gallery-bottom .editorial-gallery.grid-2{
  grid-template-columns: repeat(2, 1fr);
}
.editorial-section.gallery-bottom .editorial-gallery.grid-3{
  grid-template-columns: repeat(3, 1fr);
}

/* -------- Collage Look für links/rechts mit >1 Bild -------- */
.editorial-section.gallery-left  .editorial-gallery.stacked .editorial-card,
.editorial-section.gallery-right .editorial-gallery.stacked .editorial-card{
  background: #fff;
  padding: 12px;
  border-radius: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
section.editorial:nth-child(odd) .editorial-section.gallery-left  .editorial-gallery.stacked .editorial-card,
section.editorial:nth-child(odd) .editorial-section.gallery-right  .editorial-gallery.stacked .editorial-card{
  background: var(--color-bg-light)
}
.editorial-section.gallery-left  .editorial-gallery.stacked .editorial-card img,
.editorial-section.gallery-right .editorial-gallery.stacked .editorial-card img{
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Collage Layout */
.editorial-section.gallery-left  .editorial-gallery.stacked,
.editorial-section.gallery-right .editorial-gallery.stacked{
 
}

.editorial-gallery.stacked.count-2 .editorial-card{
  width: 80%;
  position: relative;
  justify-self: center;
}
.editorial-gallery.stacked.count-2 .editorial-card:nth-child(1){
  justify-self: start;
}
.editorial-gallery.stacked.count-2 .editorial-card:nth-child(2){
  justify-self: end;
  margin-top: -26%;
  left: -10%
}

.editorial-gallery.stacked.count-3,
.editorial-gallery.stacked.count-4,
.editorial-gallery.stacked.count-5,
.editorial-gallery.stacked.count-6{
  grid-template-columns: 1.1fr .9fr;
}
.editorial-gallery.stacked.count-3 .editorial-card,
.editorial-gallery.stacked.count-4 .editorial-card,
.editorial-gallery.stacked.count-5 .editorial-card,
.editorial-gallery.stacked.count-6 .editorial-card{
  width: 75%;
  justify-self: center;
}
.editorial-gallery.stacked.count-3 .editorial-card:nth-child(1),
.editorial-gallery.stacked.count-4 .editorial-card:nth-child(1){
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  justify-self: start;
}
.editorial-gallery.stacked .editorial-card:nth-child(2){ transform: translateY(-4%) rotate(-.6deg); }
.editorial-gallery.stacked .editorial-card:nth-child(3){ transform: translateY(3%)  rotate(.6deg);  }
.editorial-gallery.stacked .editorial-card:nth-child(4){ transform: translateY(-2%) rotate(-.4deg); }
.editorial-gallery.stacked .editorial-card:nth-child(5){ transform: translateY(2%)  rotate(.4deg);  }

.editorial-section.gallery-left  .editorial-gallery.stacked .editorial-card:hover,
.editorial-section.gallery-right .editorial-gallery.stacked .editorial-card:hover{
  transform: translateY(-3px);
}

/* Responsive Anpassung */
@media (max-width: 980px){
  .editorial-content{ gap: var(--gap-md); }
  .editorial-section.gallery-left .editorial-gallery,
  .editorial-section.gallery-right .editorial-gallery,
  .editorial-section.gallery-left .editorial-text,
  .editorial-section.gallery-right .editorial-text{
    flex: 1 1 100%;
  }
  .editorial-gallery.stacked{
    grid-template-columns: 1fr !important;
  }
  .editorial-gallery.stacked .editorial-card{
    width: 100%;
    transform: none !important;
  }
  .editorial-section.gallery-bottom .editorial-gallery.grid-3{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .editorial-section.gallery-bottom .editorial-gallery.grid-2,
  .editorial-section.gallery-bottom .editorial-gallery.grid-3{
    grid-template-columns: 1fr;
  }
  section{
    padding: 5rem 0;
  }
  .headline h2 {
      font-size: 2.2rem;
  }
  .stats-grid{
    gap: 4rem;
    
  }
  
  .stat-item{
    width: 100%;
  }
  .stats-block .subline, .headline p{
    font-size: 1.6rem;
    margin-top: 2rem;
  }
  .site-header{
    
    padding: 1.5rem 0 3rem 1rem;
  }
  .footer-quote p{
    font-size: 2rem;
  }   .footer-quote p br{
    display: none;
  }
  .video-text p{
    font-size: 1.6rem;
  }
}

/* Motion preference */
@media (prefers-reduced-motion: reduce){
  .editorial-card,
  .editorial-card:hover{
    transition: none;
    transform: none;
  }
}



.hero-slider-holder {
  display: inline-block;
  position: relative;   /* für absolute Ecken */
  min-width: 0;         /* WICHTIG bei Grid/Flex, verhindert Überlauf */
  z-index: 20;
}


/* Der animierte, leicht versetzte Rahmen */
.animated-border {
  position: absolute;
  top: -20px;       /* Versatz */
  left: -20px;      /* Versatz */
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 4px solid var(--color-primary);
  box-sizing: border-box;

  /* Animation */
  clip-path: inset(0 100% 0 0);
  animation: draw-border 2s linear forwards;
}

/* Animations-Keyframes */
@keyframes draw-border {
  0% {
    clip-path: inset(0 100% 0 0); /* von rechts abgeschnitten */
  }
  25% {
    clip-path: inset(0 0 100% 0); /* obere Linie sichtbar */
  }
  50% {
    clip-path: inset(100% 0 0 0); /* rechte Linie */
  }
  75% {
    clip-path: inset(0 0 0 100%); /* unten */
  }
  100% {
    clip-path: inset(0 0 0 0); /* komplett sichtbar */
  }
}





/* Corner-Container */
.corner {
  position: absolute;
  width: var(--corner-l);
  height: var(--corner-l);
  pointer-events: none;
  z-index: 100;
}

/* Positionen */
.corner.tl { top: var(--corner-gap); left: var(--corner-gap); }
.corner.br { bottom: var(--corner-gap); right: var(--corner-gap); }

/* Linien */
.corner .h,
.corner .v {
  position: absolute;
  background: var(--corner-color);
  border-radius: 2px;
}

/* Oben links */
.corner.tl .h { top: 0; left: 0; height: var(--corner-w); width: 0; animation: grow-w var(--t1) ease forwards 0ms; }
.corner.tl .v { top: 0; left: 0; width: var(--corner-w); height: 0; animation: grow-h var(--t2) ease forwards 200ms; }

/* Unten rechts */
.corner.br .h { bottom: 0; right: 0; height: var(--corner-w); width: 0; transform-origin: right center; animation: grow-w var(--t1) ease forwards 500ms; }
.corner.br .v { bottom: 0; right: 0; width: var(--corner-w); height: 0; transform-origin: center bottom; animation: grow-h var(--t2) ease forwards 700ms; }

/* Keyframes – wachsen NUR in je einer Achse */
@keyframes grow-w { from { width: 0; } to { width: var(--corner-l); } }
@keyframes grow-h { from { height: 0; } to { height: var(--corner-l); } }




.about-contacts {
}

.about-contacts__grid {
 
 display: flex;
 flex-direction: column;
 align-items: center
}

.about-contacts__lead {
  max-width: 90rem;
  margin: 6rem auto;
}
.about-contacts__lead p{
  margin-bottom: 2rem;
}
.about-contacts__people {
  max-width: 90rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* Abstand zwischen den zwei Personen */
}

/* PERSON */
.person {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.person__avatar {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.person__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person__placeholder {
  width: 100%;
  height: 100%;
  font-weight: 700;
  opacity: 0.8;
}

/* Meta & Typo */
.person__name {
  margin: 20px 0 0 0;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.person__role {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.6rem;
  opacity: 0.8;
}

.person__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.person__contacts a {
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

/* Responsive */
@media (max-width: 960px) {
  .about-contacts__grid {
    grid-template-columns: 1fr;
  }
  .about-contacts__people {
    grid-template-columns: 1fr;
  }
}


/*
 * CONTACT – bright, modern & spacious
 */



/* Section title */
.contact__title {
  font-size: var(--font-size-h2);
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Layout */
.contact--grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.contact--map-right { direction: rtl; }
.contact--map-right > * { direction: ltr; }

@media (max-width: 980px) {
  .contact--grid { grid-template-columns: 1fr; }
}

/* Map container */
.contact__map {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--color-border);
  padding: 0  3rem 0rem 0;
}
.contact__map-visual img,
.contact__map-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
}
.contact__map-note {
  margin: 1rem 0 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(0,0,0,0.65);
}
.contact__map-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.contact__remember {
  font-size: 1.3rem;
  color: rgba(0,0,0,0.6);
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.contact__map-iframe iframe {
  display: block;
  width: 100%;
  height: min(60vh, 520px);
  border: 0;
}

/* Info + Form columns */
.contact__infoform {
  display: grid;
  gap: var(--space);
}

/* Info card */
.contact__info {
  background: var(--color-surface);
  margin-bottom: 4rem;
}
.contact__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
}
.contact__list a {
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px dashed rgba(0,0,0,0.3);
}
.contact__list a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.contact__address h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.7rem;
  color: var(--color-text);
}
.contact__address p,
.contact__hours,
.contact__parking {
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(0,0,0,0.7);
}

/* Icons */
.ci { width: 1.4em; display: inline-block; font-size: 1.4rem; color: var(--color-accent); }
.ci::before { content: "•"; }
.ci-mail::before  { content: "✉"; }
.ci-phone::before { content: "☎"; }
.ci-mobile::before{ content: "📱"; }

/* CF7 Form */
.contact__form .wpcf7 form {
  display: grid;
  gap: 1.25rem;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  color: #111;
  font-size: 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,194,199,0.2);
}
.contact__form textarea { min-height: 160px; }
.contact__form .wpcf7-submit {
  justify-self: start;
  background: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  padding: 1rem 1.8rem;
  border: 0;
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.contact__form .wpcf7-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}


/* 4-spaltiges Grid */
.contact__info--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

@media (max-width: 1100px) {
  .contact__info--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact__info--grid { grid-template-columns: 1fr; }
}

/* Card-Style für Items */
.contact__item {
  background: var(--color-surface, #fff);
  padding: 2rem; border: 1px solid #dadada;
  border-radius: 5px;
}

.contact__item-title {
  margin: 0 0 .6rem 0;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-text, #222);
}

/* Icon + Text Zeile */
.contact__item-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
}

.icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact__item-text {
  font-size: 1.6rem;          /* größer, wie gewünscht */
  line-height: 1.6;
  color: var(--color-text, #222);
}
.contact__item-text a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}
.contact__item-text a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Feinheiten */
.contact__hours, .contact__parking {
  opacity: .8;
  margin-top: .25rem;
}


/* Grid-Struktur */
.contact__info--3plus1 {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

/* Obere 3 nebeneinander */
.contact__top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}

/* Unterer Block volle Breite */
.contact__bottom {
  display: block;
}

/* Card-Style */
.ct_head{
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.contact__item-title {
  margin: 0 0 .6rem 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-text, #222);
}

/* Icon + Text */
.contact__item-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}


.contact__item-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text, #222);
}

.contact__item-text a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}


.contact__hours, .contact__parking {
  opacity: .8;
  margin-top: .25rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact__top3 { grid-template-columns: 1fr; }
}



/* PRESSE */

/* ===== Presseberichte Grid ===== */



.pressgrid { margin: 4rem 0 6rem; }

.pressgrid-title{
  font-size: 2.4rem;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}

.pressgrid-intro{
  margin: 0 0 2.4rem;
  color: var(--pg-muted);
  font-size: 1.6rem; /* deine Base */
}

.pressgrid-list{
  display: grid;
  gap: var(--pg-gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.pressgrid-item{ /* noop - hook */ }

/* Karte als Link */
.presscard{
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  box-shadow: var(--pg-shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--pg-ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.presscard:hover,
.presscard:focus-visible{
  transform: translateY(-4px);
  box-shadow: var(--pg-shadow-hover);
  border-color: #dedbd7;
  outline: none;
}

/* Media oben */
.presscard-media{
  position: relative;
  aspect-ratio: 16/9;
  background: #f7f4f1;
  overflow: hidden;
}

.presscard-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.presscard-placeholder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 400px at 10% 10%, #fff 0 35%, transparent 36% 100%),
    repeating-linear-gradient(135deg, #fff, #fff 8px, #fff8f4 8px, #fff8f4 16px);
  color: #a98a7b;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Chips (Quelle & Datum) */
.presscard-chip{
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(4px);
}
.presscard-chip.date{
  left: auto;
  right: 12px;
}

/* Body */
.presscard-body{
  padding: 1.2rem 1.4rem 1.4rem;
  display: grid;
  gap: .6rem;
}

.presscard-title{
  margin: .2rem 0 .2rem;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.presscard-excerpt{
  margin: 0;
  color: var(--pg-muted);
  font-size: 1.5rem;
}

.presscard-meta{
  margin-top: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.4rem;
  color: #3a3a3a;
  opacity: .9;
}

.presscard-meta .ext{
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
  opacity: .9;
}

/* Fokus gut sichtbar */
.presscard:focus-visible{
  box-shadow: 0 0 0 3px rgba(184,107,70,.25), var(--pg-shadow-hover);
}

/* Responsiv feinjustieren */
@media (max-width: 680px){
  .pressgrid-list{
    grid-template-columns: 1fr;
  }
  
  
  
  .lang-switcher-mobile {
    position: relative;
    display: inline-block;
    font-family: system-ui, sans-serif;
  }
  
  /* Toggle-Button */
  .mlang-toggle {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
  }
  
  .mlang-toggle:hover {
    background: #f9f9f9;
    border-color: #ccc;
  }
  html, body{
    
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
  }
  .mlang-toggle img {
    border-radius: 2px;
    object-fit: cover;
  }
  
  .lang-icon {
    transition: transform 0.25s ease;
    color: #666;
  }
  
  /* Dropdown */
  .mlang-dropdown {
    position: absolute;
    bottom: 100%; /* Öffnet nach oben */
    left: 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    min-width: 140px;
    transition: all 0.25s ease;
    z-index: 999;
  }
  
  .mlang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s ease;
  }
  
  .mlang-dropdown a:hover {
    background: #f5f5f5;
  }
  
  /* Aktiviert Dropdown + Pfeilrotation */
  .mlang-toggle[aria-expanded="true"] + .mlang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .mlang-toggle[aria-expanded="true"] .lang-icon {
    transform: rotate(180deg);
  }



}
.social-links svg{
  width: 30px;
  height: 30px;
}
.social-links{
  display: flex;
  gap: 12px;
}

.badge img{
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  width: 160px;
  height: auto;
  display: block;
}