/* ==========================================================================
   INSEL33 — Grav Theme
   Jubiläums-Landingpage · 33jahre-insel.de
   Session 1: Base + Hero (Variante 1b)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted Fonts (Variable-Font-Versionen von Google Fonts, lokal)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/BricolageGrotesque.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/HankenGrotesk.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/JetBrainsMono.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */

:root {
  /* Farbwelt aus dem Design */
  --color-insel-green:      #1f7a30;
  --color-insel-green-deep: #14401a;
  --color-forest:           #0f3d1a;
  --color-creme:            #F6F1E7;
  --color-cream-dark:       #E8E4DA;
  --color-warm-coral:       #EC6B3A;
  --color-white:            #ffffff;

  /* CI-Konfetti-Palette (sparsam eingesetzt) */
  --color-ci-blue:          #2C9AD6;
  --color-ci-orange:        #EF7A2E;
  --color-ci-purple:        #7E5BC6;
  --color-ci-red:           #E0463F;
  --color-ci-yellow:        #F2B705;

  /* Textfarben */
  --color-text-primary:     #16321c;
  --color-text-secondary:   #41513d;
  --color-text-muted:       #7a8674;

  /* Rahmen */
  --color-border-cream:     #e2dcce;

  /* Typografie */
  --font-display: 'Bricolage Grotesque', 'Georgia', system-ui, -apple-system, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', 'Menlo', monospace;

  /* Abstände */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;

  /* Layout */
  --max-width: 1200px;
  --radius-lg: 22px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-cream-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 { margin: 0; }

/* --------------------------------------------------------------------------
   Skip Link (Accessibility)
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-insel-green-deep);
  color: var(--color-white);
  font-weight: 600;
}

.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Animationen (mit prefers-reduced-motion-Fallback)
   -------------------------------------------------------------------------- */

@keyframes inselFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes inselFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HERO — 1b (Editorial Split mit großer „33")
   ========================================================================== */

.hero-1b {
  padding: var(--space-4);
  background: var(--color-cream-dark);
}

.hero-1b__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-creme);
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 620px;
  box-shadow: 0 30px 70px -30px rgba(15, 40, 20, 0.5);
}

/* --- Linke Textspalte --- */

.hero-1b__text {
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative;
}

.hero-1b__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-1b__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-insel-green-deep);
  letter-spacing: 0.02em;
}

.hero-1b__brand-italic { font-style: italic; }

.hero-1b__dots {
  display: inline-flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot--blue   { background: var(--color-ci-blue); }
.dot--orange { background: var(--color-ci-orange); }
.dot--purple { background: var(--color-ci-purple); }
.dot--red    { background: var(--color-ci-red); }

.hero-1b__main {
  animation: inselFadeUp 0.8s ease both;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-1b__eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-warm-coral);
  margin: 0;
}

.hero-1b__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  font-family: var(--font-display);
}

.hero-1b__title-big {
  font-weight: 800;
  font-size: clamp(88px, 12vw, 150px);
  line-height: 0.8;
  color: var(--color-insel-green);
  letter-spacing: -0.03em;
}

.hero-1b__title-rest {
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  color: var(--color-insel-green-deep);
  padding-top: 8px;
}

.hero-1b__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 380px;
}

.hero-1b__meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-1b__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border-cream);
  font-size: 14px;
  color: var(--color-text-primary);
}

.hero-1b__ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--color-warm-coral); outline-offset: 2px; }

.btn--primary {
  background: var(--color-insel-green);
  color: var(--color-white);
  box-shadow: 0 12px 26px -12px rgba(31, 122, 48, 0.85);
}

.btn--primary:hover {
  background: var(--color-insel-green-deep);
  box-shadow: 0 16px 32px -12px rgba(31, 122, 48, 0.9);
}

.btn--ghost {
  background: transparent;
  color: var(--color-insel-green);
  border-color: var(--color-insel-green);
}

.btn--ghost:hover { background: var(--color-insel-green); color: var(--color-white); }

/* --- Rechte Fotospalte --- */

.hero-1b__image {
  position: relative;
  background: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-1b__image-img,
.hero-1b__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-1b__image-placeholder {
  background: repeating-linear-gradient(135deg, #2c6a36 0 22px, #27602f 22px 44px);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  padding: var(--space-5);
}

.hero-1b__image-placeholder span {
  padding: 8px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  max-width: 70%;
}

.hero-1b__kicker {
  position: absolute;
  bottom: 34px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  z-index: 2;
}

.hero-1b__floating-dot {
  position: absolute;
  top: 34px;
  right: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-ci-yellow);
  animation: inselFloat 5.5s ease-in-out infinite;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Mobile (Hero stapelt sich)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .hero-1b { padding: var(--space-2); }

  .hero-1b__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 24px;
  }

  .hero-1b__text {
    padding: 28px 22px 22px;
    gap: var(--space-5);
  }

  .hero-1b__brand { font-size: 18px; }

  .hero-1b__title-rest { padding-top: 4px; }

  .hero-1b__lead { font-size: 15px; }

  .hero-1b__image { min-height: 320px; }

  .btn { padding: 13px 22px; font-size: 15px; }
}
