/* ==========================================================================
   Marina Marrer — marinamarrer.com
   Globales Stylesheet
   ========================================================================== */

/* --- Design Tokens ------------------------------------------------------ */
:root {
  /* Marken-Farben */
  --color-terracotta: #f58453;
  --color-teal-dark: #506665;
  --color-teal-light: #86aaa9;
  --color-brown-dark: #2f1e12;
  --color-taupe: #b09d94;
  --color-cream: #fde9e1;
  --color-bg: #f7f5f2;

  /* Glasflächen */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(200, 190, 182, 0.45);

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Radien & Abstände */
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 999px;

  --shadow-glass: 0 8px 32px rgba(47, 30, 18, 0.08);
  --shadow-glass-hover: 0 14px 40px rgba(47, 30, 18, 0.12);

  --max-width: 1180px;
}

/* --- Reset ---------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-teal-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  color: var(--color-brown-dark);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--color-teal-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Kursiver Serif-Akzent für Highlights innerhalb von Überschriften/Text */
em.accent,
.italic-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-terracotta);
}

/* --- Glas-Effekt (wiederverwendbar) --------------------------------------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(245, 132, 83, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 132, 83, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brown-dark);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  border-color: var(--color-teal-light);
  transform: translateY(-2px);
}

.btn-outline-terracotta {
  background: rgba(245, 132, 83, 0.08);
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
}

.btn-outline-terracotta:hover {
  background: var(--color-terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Social Icons ----------------------------------------------------------- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(245, 132, 83, 0.08);
  border: 1.5px solid var(--color-terracotta);
  color: var(--color-terracotta);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  background: var(--color-terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Pill-Labels / Tags ---------------------------------------------------- */
.pill-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(134, 170, 169, 0.16);
  color: var(--color-teal-dark);
  border: 1px solid rgba(134, 170, 169, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(245, 132, 83, 0.1);
  color: var(--color-terracotta);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-teal-dark);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-glass);
}

/* --- Header / Navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(247, 245, 242, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 190, 182, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-brown-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-teal-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-terracotta);
}

.nav-cta {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-terracotta);
  color: var(--color-terracotta);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-terracotta);
  color: #fff;
}

/* Dropdown-Untermenü (z.B. KI-Programme) */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.has-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.6;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 10px;
  flex-direction: column;
  gap: 2px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glass-hover);
}

/* Unsichtbare Brücke: hält den Hover-Status während die Maus die Lücke
   zwischen Nav-Link und Dropdown quert, sonst schliesst sich das Menü. */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(245, 132, 83, 0.08);
}

.tag-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--color-terracotta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* --- Page-Header (Banner für Unterseiten) ------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  text-align: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(134, 170, 169, 0.3) 0%, rgba(134, 170, 169, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-header .section-label {
  margin-bottom: 12px;
}

.page-header h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 0.4em;
}

.page-header p {
  font-size: 1.08rem;
  color: var(--color-teal-dark);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-taupe);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-taupe);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-terracotta);
}

/* Zwei-Spalten Textblock (z.B. Kursinhalte) */
.content-block {
  max-width: 780px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 1.5rem;
  margin-top: 1.4em;
}

.content-block ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 1.4em;
}

.content-block ul li {
  position: relative;
  padding-left: 28px;
  color: var(--color-teal-dark);
}

.content-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-terracotta);
  font-weight: 700;
}

.content-block p {
  font-size: 1.05rem;
}

/* Mobile-Menü-Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-brown-dark);
  border-radius: 2px;
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

/* Subtile radiale Leuchteffekte im Hero */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(134, 170, 169, 0.35) 0%, rgba(134, 170, 169, 0) 70%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(245, 132, 83, 0.3) 0%, rgba(245, 132, 83, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.4em;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--color-teal-dark);
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-pill) var(--radius-pill) var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, var(--color-teal-light) 0%, var(--color-terracotta) 100%);
  box-shadow: var(--shadow-glass-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.6);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Content-Bilder (wiederverwendbar) ---------------------------------------- */
.content-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-hover);
  border: 6px solid rgba(255, 255, 255, 0.6);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.content-grid.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.content-grid.reverse .content-image-col {
  order: 2;
}

.section-header-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-hover);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: start;
}

.about-portrait-col {
  display: flex;
  justify-content: center;
}

.about-portrait {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-hover);
  border: 6px solid rgba(255, 255, 255, 0.6);
}

.about-quote {
  margin: 32px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-terracotta);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-brown-dark);
}

.about-hero-grid p a {
  color: var(--color-terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-hero-grid p a:hover {
  color: var(--color-teal-dark);
}

.about-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-teal-dark);
}

/* --- Stats-Bubbles ------------------------------------------------------------- */
.stats {
  padding: 40px 0 90px;
}

.stat-bubbles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--color-cream);
  box-shadow: var(--shadow-glass-hover);
  animation-name: bubble-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.stat-bubble-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.1;
}

.stat-bubble-label {
  margin-top: 4px;
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  line-height: 1.25;
}

.stat-bubble.size-lg { width: 152px; height: 152px; }
.stat-bubble.size-md { width: 128px; height: 128px; }
.stat-bubble.size-sm { width: 106px; height: 106px; }

.stat-bubbles .stat-bubble:nth-child(2) { margin-top: -26px; }
.stat-bubbles .stat-bubble:nth-child(3) { margin-top: 20px; }

.stat-bubble:nth-child(1) { animation-duration: 6.4s; animation-delay: 0s; }
.stat-bubble:nth-child(2) { animation-duration: 7.6s; animation-delay: -2.6s; }
.stat-bubble:nth-child(3) { animation-duration: 5.6s; animation-delay: -4.2s; }

@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bubble-float-center {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 14px)); }
}

@media (prefers-reduced-motion: reduce) {
  .stat-bubble {
    animation: none;
  }
}

/* --- Hero-Bubbles (index.html) ------------------------------------------------- */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.hero-stat-bubbles .stat-bubble {
  position: absolute;
  margin-top: 0;
}

.hero-stat-bubbles .stat-bubble:nth-child(1) {
  top: -18px;
  right: -22px;
}

.hero-stat-bubbles .stat-bubble:nth-child(2) {
  bottom: -22px;
  left: -30px;
}

.hero-stat-bubbles .stat-bubble:nth-child(3) {
  top: 50%;
  right: -46px;
  animation-name: bubble-float-center;
}

/* --- Section allgemein -------------------------------------------------------- */
section {
  padding: 90px 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: var(--color-terracotta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-header p {
  color: var(--color-taupe);
  font-size: 1.05rem;
}

/* --- Über mich ------------------------------------------------------------- */
.about {
  padding-top: 0;
}

.about-card {
  padding: 56px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.about-card .section-label {
  display: block;
  margin-bottom: 16px;
}

.about-card p {
  font-size: 1.15rem;
  color: var(--color-teal-dark);
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}

.signature-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.signature-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.signature-name {
  font-weight: 700;
  color: var(--color-brown-dark);
}

.signature-role {
  font-size: 0.9rem;
  color: var(--color-taupe);
}

/* --- Angebote --------------------------------------------------------------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.offers-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.offer-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover);
}

.offer-card.featured {
  border: 2px solid var(--color-terracotta);
  box-shadow: var(--shadow-glass-hover);
  position: relative;
}

.offer-card.featured::before {
  content: "Empfohlen";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}

.offer-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-brown-dark);
}

.offer-for {
  color: var(--color-taupe);
  font-size: 0.92rem;
}

.reference-image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: rgba(176, 157, 148, 0.16);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-taupe);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.reference-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: rgba(176, 157, 148, 0.16);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  display: block;
}

.reference-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(134, 170, 169, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
  font-size: 1.3rem;
}

.offer-card h3 {
  font-size: 1.25rem;
}

.offer-card p {
  color: var(--color-taupe);
  flex-grow: 1;
}

/* --- FAQ / Akkordeon ----------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 4px 30px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  color: var(--color-brown-dark);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-terracotta);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--color-teal-dark);
  padding-bottom: 24px;
  margin: 0;
}

/* --- Testimonials ------------------------------------------------------------ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-brown-dark);
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-brown-dark);
}

.testimonial-source {
  font-size: 0.9rem;
  color: var(--color-teal-light);
}

/* --- CTA-Sektion -------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  text-align: center;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.cta-section::before {
  width: 420px;
  height: 420px;
  top: -140px;
  left: 10%;
  background: radial-gradient(circle, rgba(245, 132, 83, 0.28) 0%, rgba(245, 132, 83, 0) 70%);
}

.cta-section::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: 8%;
  background: radial-gradient(circle, rgba(134, 170, 169, 0.28) 0%, rgba(134, 170, 169, 0) 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--color-teal-dark);
  margin-bottom: 32px;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--color-taupe);
  font-weight: 500;
}

/* --- Footer ------------------------------------------------------------------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(200, 190, 182, 0.35);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 0.9rem;
  color: var(--color-taupe);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-taupe);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-terracotta);
}

/* --- Zurück nach oben ----------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: #fff;
  box-shadow: var(--shadow-glass-hover);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, box-shadow 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(245, 132, 83, 0.45);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo-frame {
    max-width: 280px;
  }

  .hero-photo-wrap {
    max-width: 280px;
  }

  .hero-stat-bubbles .stat-bubble.size-lg { width: 116px; height: 116px; }
  .hero-stat-bubbles .stat-bubble.size-md { width: 98px; height: 98px; }
  .hero-stat-bubbles .stat-bubble.size-sm { width: 82px; height: 82px; }

  .hero-stat-bubbles .stat-bubble-value { font-size: 1.05rem; }
  .hero-stat-bubbles .stat-bubble-label { font-size: 0.64rem; }

  .hero-stat-bubbles .stat-bubble:nth-child(1) {
    top: -10px;
    right: -10px;
  }

  .hero-stat-bubbles .stat-bubble:nth-child(2) {
    bottom: -14px;
    left: -14px;
  }

  .hero-stat-bubbles .stat-bubble:nth-child(3) {
    right: -20px;
  }

  .offers-grid,
  .offers-grid.cols-2,
  .offers-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  .content-grid.reverse .content-image-col {
    order: -1;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-portrait {
    max-width: 100%;
  }

  .about-card {
    padding: 40px 28px;
  }
}

@media (max-width: 1200px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    flex-wrap: wrap;
  }

  .nav.open .nav-logo {
    order: 1;
  }

  .nav.open .nav-toggle {
    order: 2;
  }

  .nav.open .nav-links {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    background: rgba(247, 245, 242, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav.open .nav-cta {
    display: inline-flex;
    order: 4;
    margin: 0 24px 24px;
  }

  .nav.open .nav-links > li > a {
    display: flex;
    padding: 10px 0;
  }

  .nav.open .has-dropdown > a {
    justify-content: space-between;
  }

  .has-dropdown > a::after {
    content: "›";
    width: auto;
    height: auto;
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
  }

  .has-dropdown.dropdown-open > a::after {
    transform: rotate(90deg);
  }

  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 4px 0 0 16px;
    gap: 8px;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--color-taupe);
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 56px 0 70px;
  }
}

/* Tablet: Preis-/Angebotskarten als 2er-Reihe statt einspaltig gestapelt */
@media (min-width: 640px) and (max-width: 899px) {
  .offers-grid,
  .offers-grid.cols-2,
  .offers-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  /* Verhindert horizontales Scrollen bei langen Button-Texten auf sehr schmalen Displays */
  .btn {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-photo-wrap {
    max-width: 240px;
  }

  .hero-stat-bubbles .stat-bubble.size-lg { width: 96px; height: 96px; }
  .hero-stat-bubbles .stat-bubble.size-md { width: 82px; height: 82px; }
  .hero-stat-bubbles .stat-bubble.size-sm { width: 70px; height: 70px; }

  .hero-stat-bubbles .stat-bubble-value { font-size: 0.92rem; }
  .hero-stat-bubbles .stat-bubble-label { font-size: 0.56rem; }

  .hero-stat-bubbles .stat-bubble:nth-child(1) {
    top: -6px;
    right: -6px;
  }

  .hero-stat-bubbles .stat-bubble:nth-child(2) {
    bottom: -8px;
    left: -8px;
  }

  .hero-stat-bubbles .stat-bubble:nth-child(3) {
    right: -10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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