/* === LOCAL FONTS === */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === ZAUBERER RASPUTIN — SHARED STYLES === */
:root {
  --bg-basis: #d2ccb8;
  --bg-highlight: #f0ece3;
  --text-main: #595650;
  --text-light: #7a7065;
  --accent-sand: #a69986;
  --accent-taupe: #81786e;
  --white-pure: #ffffff;
  --wand-light: #e8e2d6;
  --gold-light: #d4af37;
  --gold-dark: #b38b2d;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-basis);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-taupe);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === HEADER === */
.site-header {
  width: 100%;
  background-color: var(--bg-basis);
  background-image: url("LogoHintergrund.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: sticky;
  top: 0;
  z-index: 5000;
  padding: 20px 0;
  border-bottom: 5px solid var(--accent-sand);
  min-height: 120px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out;
}

.site-header.shrunk {
  padding: 5px 0;
  min-height: auto;
  background-position: center bottom;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: nowrap;
  position: relative;
  transition: all 0.5s ease;
}

.site-header.shrunk .header-inner {
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 10;
  text-align: left;
  flex-shrink: 0;
  transition: all 0.5s ease-in-out;
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.site-header.shrunk .brand-column {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transform: translateY(-20px);
  width: 0;
}

/* Mini logo for shrunk header */
.shrunk-logo {
  display: none;
  align-items: center;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shrunk-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-header.shrunk .shrunk-logo {
  display: flex;
  opacity: 1;
}

.brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: -110px;
  margin-top: -20px;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.header-logo {
  width: 290px;
  height: auto;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.logo-mail-hotspot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  z-index: 20;
  cursor: pointer;
}

/* === NAV === */
.nav-wrapper {
  display: flex;
  align-items: flex-start;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  transition: margin 0.5s ease;
}

.site-header.shrunk .nav-wrapper {
  margin-top: 0;
}

.nav-links {
  display: flex !important;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item,
.dropbtn {
  color: var(--text-main);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  display: block;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: "Raleway", sans-serif;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.nav-item:hover,
.dropdown:hover .dropbtn,
.nav-item.active {
  color: var(--accent-taupe);
  background-color: rgba(255, 255, 255, 0.5);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-highlight);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(89, 86, 80, 0.15);
  z-index: 2000;
  top: 100%;
  left: 0;
  border-radius: 0 0 8px 8px;
  padding: 10px 0;
  border-top: 2px solid var(--accent-sand);
}

.dropdown-content a {
  margin: 0;
  padding: 10px 20px;
  border-radius: 0;
  font-weight: 500;
  color: var(--text-main);
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: rgba(166, 153, 134, 0.1);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu-toggle {
  display: none;
}

/* === HERO === */
.hero-image-container {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  line-height: 0;
  position: relative;
  overflow: hidden;
}

.hero-img-full {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  display: block;
  border-bottom: 5px solid var(--accent-sand);
  box-shadow: 0 5px 20px rgba(89, 86, 80, 0.2);
}

/* line-height reset: parent .hero-image-container uses line-height:0 for the img;
   without this, overlay text inherits 0 and heading + tagline collapse/overlap */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 5px;
  padding: 24px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.15) 75%,
    transparent 100%
  );
  text-align: center;
  line-height: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-overlay .hero-main-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  position: static;
  display: block;
}

.hero-overlay .hero-main-title::after {
  display: none;
}

.hero-claim-overlay {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  padding: 0 0.5em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.8);
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-overlay .hero-cta {
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  background-color: #fff;
  color: var(--accent-taupe);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 18px 48px;
  min-height: 52px;
  box-shadow: 0 4px 10px rgba(89, 86, 80, 0.25);
  animation: subtlePulse 3s ease-in-out infinite;
}

.hero-cta:hover {
  background-color: var(--bg-highlight);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(89, 86, 80, 0.35);
}

@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
  }
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 20px;
  background: var(--white-pure);
  border-bottom: 1px solid rgba(166, 153, 134, 0.2);
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.trust-number {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-taupe);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-content-wrapper {
  padding: 0 20px 80px;
  background: linear-gradient(135deg, var(--bg-basis), var(--bg-highlight));
  text-align: center;
  overflow: hidden;
}

.hero-content-wrapper > .container {
  padding-top: 50px;
}

/* === CTA BANNER === */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-taupe), var(--accent-sand));
  border-bottom: none;
}

.cta-banner h2::after {
  background: rgba(255, 255, 255, 0.4);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === TYPOGRAPHY === */
.hero-main-title {
  font-family: "Raleway", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.hero-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-sand);
  margin: 15px auto 0;
  border-radius: 2px;
}

.hero-subtitle {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 25px;
  color: var(--accent-taupe);
}

.hero-tagline {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  margin: 25px 0 10px;
}

.hero-claim {
  font-size: 1.05rem;
  color: var(--accent-taupe);
  margin: 5px 0 25px;
}

.hero-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 70ch;
  margin: 0 auto 40px;
  color: var(--text-light);
  padding: 0 20px;
}

/* === BUTTONS === */
.btn,
.typo-school-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-sand);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(89, 86, 80, 0.2);
  margin-top: 10px;
  font-family: "Raleway", sans-serif;
}

.btn:hover,
.typo-school-btn:hover {
  background-color: var(--accent-taupe);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(89, 86, 80, 0.3);
}

/* === SECTIONS === */
section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(166, 153, 134, 0.2);
}

section:nth-of-type(odd) {
  background-color: var(--bg-basis);
}
section:nth-of-type(even) {
  background-color: var(--bg-highlight);
}

h2 {
  font-family: "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-main);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-sand);
  margin: 15px auto 0;
  border-radius: 2px;
}

h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--accent-taupe);
  line-height: 1.3;
}

section p {
  margin-bottom: 15px;
  color: var(--text-main);
}

/* === SHOW SECTIONS === */
.show-section {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 40px;
}

.show-section:nth-child(even) {
  flex-direction: row-reverse;
}

.show-img {
  flex: 1;
  height: 350px;
  background-color: var(--accent-sand);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(89, 86, 80, 0.15);
  border: 5px solid var(--white-pure);
}

.show-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.show-img:hover img {
  transform: scale(1.03);
}

.show-content {
  flex: 1;
}

/* === FEATURE GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--white-pure);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(89, 86, 80, 0.08);
  border-top: 4px solid var(--accent-sand);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(89, 86, 80, 0.15);
}

.feature-icon {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 15px;
  display: block;
}

.feature-title {
  font-family: "Raleway", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-taupe);
}

.feature-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
  margin-bottom: 15px;
}

/* === PRICING === */
.pricing-amount {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-main);
  margin-top: auto;
  display: block;
  padding-top: 10px;
  border-top: 1px dotted rgba(166, 153, 134, 0.3);
}

/* === TEASER CARDS (homepage) === */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.teaser-card {
  background: var(--white-pure);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(89, 86, 80, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(89, 86, 80, 0.18);
}

.teaser-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.teaser-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.teaser-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.teaser-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  flex: 1;
}

.teaser-body .btn {
  align-self: flex-start;
  margin-top: 15px;
  font-size: 0.9rem;
  padding: 10px 24px;
}

/* === PAGE HEADER (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--bg-basis), var(--bg-highlight));
  padding: 60px 20px 50px;
  text-align: center;
  border-bottom: 3px solid var(--accent-sand);
}

.page-hero h1 {
  font-family: "Raleway", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-sand);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 60ch;
  margin: 15px auto 0;
}

/* === INTRO TEXT BOX (matches .btn pill + typography; symmetric padding for vertical balance) === */
/* flex-direction: column — row would split <strong> vs. following text into two columns */
.intro-text {
  background: var(--white-pure);
  border: 1px solid rgba(166, 153, 134, 0.3);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px 40px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  box-sizing: border-box;
}

/* Longer body copy inside the box (e.g. Honorar): normal weight, comfortable line height */
.intro-text--prose {
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

section p.intro-text {
  margin-bottom: 40px;
}

/* === CONTACT BOX === */
.contact-box {
  background: var(--white-pure);
  border: 1px solid var(--accent-sand);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-box a {
  color: var(--accent-taupe);
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* === SCHOOL === */
.school-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto 40px;
  color: var(--text-light);
  text-align: center;
  padding: 0 20px;
}

/* === REFERENZEN MARQUEE === */
.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.referenz-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
  min-width: 150px;
  height: 80px;
  transition: all 0.3s ease;
}

.referenz-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.referenz-item:hover img {
  transform: scale(1.05);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* === FOOTER === */
footer {
  background-color: var(--bg-highlight);
  padding: 60px 0 30px;
  color: var(--text-light);
  border-top: 1px solid rgba(166, 153, 134, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-taupe);
  border-bottom: 2px solid var(--accent-sand);
  padding-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--accent-taupe);
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-taupe);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(166, 153, 134, 0.2);
}

.footer-bottom a {
  color: var(--accent-taupe);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* === DATENSCHUTZ PAGE === */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h3 {
  margin-top: 30px;
}
.legal-content ul {
  margin: 10px 0 15px 25px;
}
.legal-content ul li {
  margin-bottom: 5px;
}

/* === VIDEO GRID === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  text-decoration: none;
  color: var(--text-main);
  background: var(--white-pure);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(89, 86, 80, 0.1);
  transition: all 0.3s ease;
  display: block;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(89, 86, 80, 0.18);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: background 0.3s ease;
  padding-left: 4px;
}

.video-card:hover .play-btn {
  background: rgba(255, 0, 0, 0.8);
}

.video-card h3 {
  padding: 15px 20px 5px;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.video-card p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* === BLOG GRID === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white-pure);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(89, 86, 80, 0.08);
  border-left: 4px solid var(--accent-sand);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(89, 86, 80, 0.15);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--accent-taupe);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  flex: 1;
}

.blog-link {
  color: var(--accent-taupe);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--text-main);
}

/* === BLOG POST (full page) === */
.blog-post {
  padding: 60px 0;
  border-bottom: 1px solid rgba(166, 153, 134, 0.2);
}

.blog-post:nth-child(even) {
  background-color: var(--bg-highlight);
}

.blog-post-header {
  margin-bottom: 25px;
}

.blog-post-header h2 {
  text-align: left;
}

.blog-post-header h2::after {
  margin: 15px 0 0;
}

.blog-post-body {
  max-width: 70ch;
}

.blog-post-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main);
}

/* === MOBILE === */
@media (max-width: 1100px) {
  .site-header {
    min-height: auto;
    padding: 10px 0;
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-column {
    align-items: center;
    text-align: center;
    width: 100% !important;
    margin-bottom: 20px;
    margin-top: 40px;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .brand-group {
    margin-left: 0;
    margin-top: 0;
  }

  .header-logo {
    width: 350px;
    max-width: 90%;
    margin: 0 auto;
  }

  .nav-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-right: 0;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 5001;
  }

  .menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--bg-highlight);
    padding: 80px 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 5000;
    border-bottom: 2px solid var(--accent-sand);
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-item,
  .dropbtn {
    margin: 2px 0;
    text-align: center;
    width: 100%;
    font-size: 1.2rem;
    padding: 8px 15px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    border-radius: 8px;
  }

  .hero-main-title {
    font-size: 2rem;
  }
  .hero-overlay .hero-main-title {
    font-size: 2rem;
  }
  .hero-overlay {
    padding: 20px 15px;
    gap: 12px;
  }
  .hero-claim-overlay {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }
  .hero-cta {
    font-size: 1.05rem;
    padding: 16px 36px;
    min-height: 48px;
  }
  .trust-bar {
    gap: 20px;
    padding: 20px 10px;
  }
  .trust-number {
    font-size: 1.4rem;
  }
  .trust-label {
    font-size: 0.7rem;
  }
  .cta-banner .btn {
    display: block;
    margin: 10px auto !important;
    max-width: 280px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
  .hero-intro {
    font-size: 1.05rem;
    padding: 0 10px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .show-section,
  .show-section:nth-child(even) {
    flex-direction: column;
  }
  .show-img {
    width: 100%;
    height: 250px;
    position: static;
  }
  .hero-content-wrapper {
    padding-top: 40px;
  }
  .referenz-item {
    margin: 0 20px;
    min-width: 120px;
    height: 60px;
  }
  .referenz-item img {
    max-height: 60px;
  }
  .marquee-track {
    animation-duration: 30s;
  }
  section {
    padding: 50px 0;
  }
  footer {
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col h4 {
    border-bottom: none;
  }
  .page-hero {
    padding: 40px 15px 30px;
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
}

/* === COOKIE CONSENT BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-highlight);
  border-top: 3px solid var(--accent-sand);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  padding: 20px;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cb-inner {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cb-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cb-text a {
  color: var(--accent-taupe);
  text-decoration: underline;
}

.cb-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cb-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: "Raleway", sans-serif;
  transition: all 0.3s ease;
}

.cb-btn--accept {
  background-color: var(--accent-sand);
  color: #fff;
}

.cb-btn--accept:hover {
  background-color: var(--accent-taupe);
}

.cb-btn--decline {
  background: transparent;
  border: 2px solid var(--accent-sand);
  color: var(--text-main);
}

.cb-btn--decline:hover {
  border-color: var(--accent-taupe);
  color: var(--accent-taupe);
}

/* === YOUTUBE CONSENT OVERLAY — removed, thumbnails load without consent === */

#cookie-settings-link {
  color: var(--accent-taupe);
  text-decoration: none;
}

#cookie-settings-link:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .cb-inner {
    flex-direction: column;
    text-align: center;
  }
  .cb-text {
    min-width: auto;
  }
}
