/* ============================================================
   BRAND.CSS — Deutsche Reisewelt GmbH
   Palette: Alpine Lake Blue / Black Forest Pine / Golden Wheat
   ============================================================ */

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

/* ── CSS Custom Properties ── */
:root {
  /* Core palette */
  --c-primary:    #243A4A;   /* Alpine Lake Blue */
  --c-secondary:  #344B3F;   /* Black Forest Pine */
  --c-accent:     #E6B85C;   /* Golden Wheat Light */
  --c-accent-h:   #EDC46F;   /* Accent hover */
  --c-accent2:    #A94A3F;   /* Brick Heritage Red */
  --c-bg:         #F1F2EE;   /* Soft Limestone */
  --c-bg-alt:     #E3E5DF;   /* Alt background */
  --c-dark:       #3B4147;   /* Deep Slate Stone */
  --c-text:       #222629;   /* Charcoal Ink */
  --c-text-m:     #5A6470;   /* Medium text */
  --c-text-l:     #8A929A;   /* Light text */
  --c-white:      #FFFFFF;
  --c-border:     rgba(36, 58, 74, 0.12);
  --c-border-l:   rgba(36, 58, 74, 0.06);
  --c-border-a:   rgba(230, 184, 92, 0.30);

  /* Gradients */
  --g-hero:    linear-gradient(135deg, #243A4A 0%, #344B3F 55%, #3B4147 100%);
  --g-bg:      linear-gradient(180deg, #F1F2EE 0%, #E3E5DF 100%);
  --g-accent:  linear-gradient(135deg, #E6B85C 0%, #F2CF85 100%);
  --g-nature:  linear-gradient(135deg, #344B3F 0%, #5C7A68 100%);
  --g-dark:    linear-gradient(180deg, #3B4147 0%, #243A4A 100%);
  --g-overlay: rgba(36, 58, 74, 0.35);
  --g-overlay-d: rgba(36, 58, 74, 0.60);

  /* Typography */
  --ff-display:  'Manrope', 'Inter', sans-serif;
  --ff-body:     'Inter', 'Manrope', sans-serif;
  --ff-label:    'IBM Plex Sans', sans-serif;
  --ff-mono:     'IBM Plex Mono', monospace;

  /* Font weights */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* Line heights */
  --lh-tight:   1.15;
  --lh-snug:    1.35;
  --lh-base:    1.65;
  --lh-relaxed: 1.80;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Border radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:     0 2px 8px rgba(36, 58, 74, 0.08);
  --sh-md:     0 4px 20px rgba(36, 58, 74, 0.12);
  --sh-lg:     0 8px 40px rgba(36, 58, 74, 0.16);
  --sh-xl:     0 16px 64px rgba(36, 58, 74, 0.20);
  --sh-accent: 0 8px 30px rgba(230, 184, 92, 0.30);
  --sh-card:   0 4px 24px rgba(36, 58, 74, 0.10);
  --sh-card-h: 0 12px 48px rgba(36, 58, 74, 0.18);

  /* Transitions */
  --tr-fast:   0.15s ease;
  --tr-base:   0.30s ease;
  --tr-slow:   0.50s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tr-spring: 0.40s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --cw:      1280px;
  --cw-n:    900px;
  --cp:      clamp(1.25rem, 5vw, 3rem);
  --sec-py:  clamp(4rem, 8vw, 7rem);
}

/* ── Base resets ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: var(--lh-base);
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: var(--fw-bold); }
h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  line-height: var(--lh-relaxed);
  color: var(--c-text-m);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-base);
}

a:hover { color: var(--c-accent); }

ul, ol { list-style: none; }

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

/* ── Utility classes ── */
.text-primary   { color: var(--c-primary); }
.text-accent    { color: var(--c-accent); }
.text-accent2   { color: var(--c-accent2); }
.text-muted     { color: var(--c-text-m); }
.text-light     { color: var(--c-text-l); }
.text-white     { color: var(--c-white); }
.text-center    { text-align: center; }
.text-left      { text-align: left; }

.bg-primary  { background: var(--c-primary); }
.bg-dark     { background: var(--c-dark); }
.bg-alt      { background: var(--c-bg-alt); }
.bg-gradient { background: var(--g-hero); }

.font-mono  { font-family: var(--ff-mono); }
.font-label { font-family: var(--ff-label); }

.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

/* ── Label/Eyebrow ── */
.label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.label--dark { color: var(--c-text-l); }
.label--dark::before { background: var(--c-text-l); }

.label--white { color: rgba(255,255,255,0.65); }
.label--white::before { background: rgba(255,255,255,0.65); }

/* ── Section heading ── */
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center { text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head--center .label::before { display: none; }
.section-head--center .label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.section-head .label { margin-bottom: var(--sp-4); }

.section-head__title {
  margin-bottom: var(--sp-5);
}

.section-head__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: var(--lh-relaxed);
  max-width: 620px;
}

.section-head--center .section-head__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Accent underline ── */
.u-line {
  position: relative;
  display: inline;
}

.u-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-accent);
  border-radius: var(--r-full);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.u-line.is-visible::after,
h2:is(.is-visible) .u-line::after {
  width: 100%;
}

/* ── Animated underline for links ── */
.a-underline {
  position: relative;
  display: inline-block;
}

.a-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--tr-base);
}

.a-underline:hover::after { width: 100%; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--c-border);
  border: none;
  margin: 0;
}

.divider--accent {
  height: 2px;
  width: 60px;
  background: var(--g-accent);
  border-radius: var(--r-full);
  margin: var(--sp-6) 0;
}

/* ── Tag / Badge ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(230, 184, 92, 0.15);
  color: var(--c-accent);
  border: 1px solid rgba(230, 184, 92, 0.25);
}

.tag--red {
  background: rgba(169, 74, 63, 0.10);
  color: var(--c-accent2);
  border-color: rgba(169, 74, 63, 0.20);
}

.tag--gov {
  background: rgba(36, 58, 74, 0.08);
  color: var(--c-primary);
  border-color: rgba(36, 58, 74, 0.15);
  font-size: 0.72rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--tr-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--g-accent);
  color: var(--c-primary);
  box-shadow: var(--sh-accent);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--c-accent-h) 0%, #F2CF85 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(230, 184, 92, 0.40);
  color: var(--c-primary);
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.70);
  transform: translateY(-2px);
  color: var(--c-white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-border);
}

.btn--outline-dark:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn--dark:hover {
  background: var(--c-secondary);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  color: var(--c-white);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--tr-base);
  flex-shrink: 0;
}

.btn:hover svg { transform: translateX(3px); }
