/* =====================================================
   BRAND.CSS — Farbsystem & Typografie
   DeutschReisen | Premium Reiseerlebnisse
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* Hauptfarben */
  --primary:           #4A6A78;
  --secondary-base:    #7A927F;
  --accent:            #E2C47A;
  --secondary-accent:  #C28A6C;
  --bg:                #F7F8F5;
  --bg-contrast:       #C9D0D2;
  --text:              #2F3436;
  --text-muted:        #6B7B80;
  --text-light:        #9AACB0;
  --white:             #FFFFFF;

  /* Verläufe */
  --grad-hero:         linear-gradient(135deg, #4A6A78 0%, #7A927F 55%, #C9D0D2 100%);
  --grad-light:        linear-gradient(180deg, #F7F8F5 0%, #ECEFEA 100%);
  --grad-accent:       linear-gradient(135deg, #E2C47A 0%, #F0D89C 100%);
  --grad-accent-hover: linear-gradient(135deg, #D4B468 0%, #E8CC86 100%);
  --grad-meadow:       linear-gradient(135deg, #7A927F 0%, #A5B7A8 100%);
  --grad-warm:         linear-gradient(135deg, #C28A6C 0%, #D3A28A 100%);

  /* Bild-Overlay */
  --overlay-img: rgba(74, 106, 120, 0.28);

  /* Schriften */
  --font-main: 'Inter', 'Manrope', sans-serif;
  --font-alt:  'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Schriftgrößen */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;

  /* Abstände */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Schatten */
  --sh-sm:     0 2px 10px rgba(74,106,120,0.07);
  --sh-md:     0 8px 28px rgba(74,106,120,0.11);
  --sh-lg:     0 18px 56px rgba(74,106,120,0.15);
  --sh-accent: 0 8px 28px rgba(226,196,122,0.28);

  /* Übergänge */
  --tr-fast: 0.2s ease;
  --tr-med:  0.38s ease;
  --tr-slow: 0.65s ease;

  /* Container */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
ul  { list-style: none; }

/* =====================================================
   TYPOGRAFIE
===================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-alt);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem,   4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem,2.5vw,2rem);  }
h4 { font-size: clamp(1.1rem, 1.8vw,1.4rem);}

p  { font-family: var(--font-main); font-weight: 400; line-height: 1.78; color: var(--text); }

/* Labels / Mono */
.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--tr-med);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn svg { width: 15px; height: 15px; transition: transform var(--tr-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--grad-accent);
  color: var(--text);
  box-shadow: var(--sh-accent);
}
.btn--primary:hover {
  background: var(--grad-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(226,196,122,0.38);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* =====================================================
   ANIMATED UNDERLINE LINK
===================================================== */
.u-link {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
}
.u-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--tr-med);
}
.u-link:hover::after { width: 100%; }

/* =====================================================
   KARTEN
===================================================== */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: all var(--tr-med);
  border: 1px solid rgba(74,106,120,0.07);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
}
.card__img-wrap { overflow: hidden; }
.card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}
.card:hover .card__img { transform: scale(1.05); }
.card__body { padding: 1.75rem; }
.card__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--secondary-accent);
  margin-bottom: 0.75rem;
  display: block;
}
.card__title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.card__text  { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

/* =====================================================
   ABSCHNITT-BASIS
===================================================== */
.section { padding: var(--sp-2xl) 0; overflow-x: hidden; }
.section--dark    { background: var(--primary);      }
.section--meadow  { background: var(--secondary-base);}
.section--contrast{ background: var(--bg-contrast);  }
.section--white   { background: var(--white);         }
.section--light   { background: var(--bg);            }

.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p  { color: rgba(255,255,255,0.78); }
.section--meadow h2,.section--meadow h3 { color: var(--white); }
.section--meadow p  { color: rgba(255,255,255,0.8); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
  display: block;
}
.section-label--light { color: rgba(255,255,255,0.55); }
.section-label--accent { color: var(--accent); }

.section-title  { margin-bottom: 1rem; }
.section-desc   { color: var(--text-muted); font-size: 1.05rem; line-height: 1.78; }

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-xl);
}
.section-header { margin-bottom: var(--sp-xl); }

/* Trennlinie */
.divider {
  width: 44px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.2rem 0;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* Statistik-Zahl */
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem,5vw,4rem);
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.stat-num--light { color: var(--accent); }
.stat-lbl { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; }
.stat-lbl--light { color: rgba(255,255,255,0.65); }

/* =====================================================
   FORMULARE
===================================================== */
.form-group  { margin-bottom: 1.5rem; }
.form-label  {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: var(--font-alt);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--bg-contrast);
  border-radius: var(--r-md);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,106,120,0.11);
}
.form-textarea { resize: vertical; min-height: 145px; }

/* =====================================================
   BADGES
===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-alt);
}
.badge--primary { background: rgba(74,106,120,0.11); color: var(--primary); }
.badge--accent  { background: rgba(226,196,122,0.18); color: #8A6B1A; }
.badge--green   { background: rgba(122,146,127,0.14); color: #3A5E3D; }
.badge--red     { background: rgba(194,138,108,0.14); color: #8A4A2A; }

/* =====================================================
   SCROLL-REVEAL
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left  { transform: translateX(-42px); }
.reveal--left.is-visible  { transform: translateX(0); }
.reveal--right { transform: translateX(42px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.94); }
.reveal--scale.is-visible { transform: scale(1); }

.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }
.reveal--d5 { transition-delay: 0.5s; }
.reveal--d6 { transition-delay: 0.6s; }

/* =====================================================
   BEWERTUNGS-STERNE
===================================================== */
.stars { display: flex; gap: 0.18rem; margin-bottom: 0.9rem; }
.stars svg { width: 13px; height: 13px; fill: var(--accent); color: var(--accent); }

/* =====================================================
   SAFETY NET
===================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
