/* ================================================
   BRAND.CSS — Entdecke Deutschland GmbH
   Design tokens, typography, base styles
   ================================================ */

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

/* ─── CSS Custom Properties ─── */
:root {
  --c-primary:      #1F3A45;
  --c-secondary:    #2E4A3E;
  --c-accent:       #C9A24A;
  --c-accent2:      #8C3F3A;
  --c-bg:           #E1E8EA;
  --c-bg-dark:      #2B3436;
  --c-text:         #1E2324;
  --c-text-muted:   #5A6A6D;
  --c-border:       rgba(31,58,69,0.13);
  --c-white:        #FFFFFF;

  --g-hero:    linear-gradient(135deg, #1F3A45 0%, #2E4A3E 55%, #2B3436 100%);
  --g-bg:      linear-gradient(180deg, #E1E8EA 0%, #D2DBDE 100%);
  --g-accent:  linear-gradient(135deg, #C9A24A 0%, #D9B96E 100%);
  --g-forest:  linear-gradient(135deg, #2E4A3E 0%, #5F776B 100%);
  --g-warm:    linear-gradient(135deg, #8C3F3A 0%, #A65750 100%);
  --overlay:   rgba(31, 58, 69, 0.42);

  --f-main: 'Inter', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  --fs-h1:    clamp(2.6rem, 5.5vw, 4.8rem);
  --fs-h2:    clamp(2rem, 3.5vw, 3.2rem);
  --fs-h3:    clamp(1.35rem, 2.2vw, 1.75rem);
  --fs-h4:    clamp(1.1rem, 1.6vw, 1.35rem);
  --fs-body:  clamp(0.95rem, 1.1vw, 1.05rem);
  --fs-sm:    0.9rem;
  --fs-xs:    0.8125rem;
  --fs-label: 0.72rem;

  --sp-xs:   0.25rem;
  --sp-sm:   0.5rem;
  --sp-md:   1rem;
  --sp-lg:   1.5rem;
  --sp-xl:   2rem;
  --sp-2xl:  3rem;
  --sp-3xl:  4.5rem;
  --sp-4xl:  6rem;
  --sp-5xl:  8rem;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   22px;
  --r-full: 9999px;

  --sh-sm:    0 1px 4px rgba(31,58,69,0.07), 0 1px 2px rgba(31,58,69,0.04);
  --sh-md:    0 4px 18px rgba(31,58,69,0.10), 0 2px 6px rgba(31,58,69,0.05);
  --sh-lg:    0 10px 44px rgba(31,58,69,0.13), 0 4px 14px rgba(31,58,69,0.07);
  --sh-xl:    0 20px 64px rgba(31,58,69,0.17);
  --sh-accent:0 4px 22px rgba(201,162,74,0.28);

  --t-fast:   0.18s ease;
  --t-base:   0.3s ease;
  --t-slow:   0.5s ease;
  --t-spring: 0.45s cubic-bezier(0.16,1,0.3,1);

  --max-w:    1240px;
  --pad-x:    clamp(1.25rem, 5vw, 3.5rem);
  --header-h: 74px;
}

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

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

body {
  font-family: var(--f-main);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--c-text);
  background: var(--c-bg);
  position: relative;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--f-main); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-main);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { color: var(--c-text-muted); line-height: 1.75; }

/* ─── Labels / Tags ─── */
.label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag--primary { background: rgba(31,58,69,0.09); color: var(--c-primary); }
.tag--accent  { background: rgba(201,162,74,0.14); color: #9B7A2A; }
.tag--accent2 { background: rgba(140,63,58,0.12); color: var(--c-accent2); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--f-main);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-spring);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--g-accent);
  color: var(--c-bg-dark);
  box-shadow: var(--sh-accent);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,162,74,0.38);
}

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

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

.btn--light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: var(--c-white);
  backdrop-filter: blur(10px);
}
.btn--light:hover {
  background: rgba(255,255,255,0.22);
  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-lg);
}

.btn--sm  { padding: 10px 22px; font-size: var(--fs-xs); }
.btn--lg  { padding: 18px 48px; font-size: 1rem; }

/* ─── Section labels ─── */
.section-label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.section-title  { margin-bottom: 1rem; }
.section-desc {
  max-width: 580px;
  color: var(--c-text-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* ─── Underline animation ─── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--c-accent);
  transition: width var(--t-spring);
}
.link-underline:hover::after { width: 100%; }

/* ─── Divider ─── */
.divider {
  width: 48px; height: 3px;
  background: var(--g-accent);
  border-radius: var(--r-full);
  margin: 1.25rem 0;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ─── Form elements ─── */
.form-group   { margin-bottom: 1.25rem; }
.form-label   {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
  font-family: var(--f-main);
  font-size: var(--fs-sm);
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(31,58,69,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-text-muted);
  opacity: 0.65;
}
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

/* ─── Card base ─── */
.card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform var(--t-spring), box-shadow var(--t-spring);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ─── Safety net ─── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
