/* =========================================
   Self-Hosted Fonts (DSGVO-konform)
   ========================================= */

/* Inter — Variable Font (300–600) */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — Normal (400, 500, 700) */
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/playfair-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/playfair-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — Italic (400) */
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========================================= */

:root {
  /* Urothea Color Palette */
  --color-bg-sand: #F4F1ED;
  --color-bg-white: #FFFFFF;
  --color-blue-muted: #749CA8;
  --color-blue-dark: #1F3643;
  --color-text-dark: #1D262B;
  --color-text-light: #526066;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --radius-card: 24px;
  --spacing-section: 100px;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-sand);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1.1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-blue-dark);
}

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

/* -------------------------------------
   Intro / Parallax "Aus alt mach neu"
   ------------------------------------- */
.intro-parallax {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 10;
}

/* Das alte Design klebt (sticky) im Viewport */
.old-site-bg {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-image: url('img/hess-worms-old-screenshot.png');
  background-size: cover;
  background-position: top center;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

/* Eine dunkle Vignette für Lesbarkeit des Hint-Textes */
.old-site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 40%);
  z-index: 2;
}

.scroll-hint {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  animation: bounce 2s infinite ease-in-out;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-hint:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.scroll-hint svg {
  width: 44px;
  height: 44px;
  fill: white;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

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

/* -------------------------------------
   New Site Overlay / Container
   ------------------------------------- */
.new-site-container {
  position: relative;
  z-index: 20; 
  background-color: var(--color-bg-sand);
  /* Ein harter Shadow um den Übergang hervorzuheben */
  box-shadow: 0 -20px 50px rgba(0,0,0,0.2); 
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  min-height: 100vh;
  padding-top: 40px;
}


/* -------------------------------------
   Header / Nav
   ------------------------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: sticky;
  top: 0;
  background: rgba(244, 241, 237, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-blue-dark);
  text-transform: uppercase;
}
.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-blue-dark);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-blue-dark);
  transition: width 0.3s ease;
}

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


/* -------------------------------------
   Typo & Utility
   ------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: none;
}

.section-subtitle {
  color: var(--color-blue-muted);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border: 1px solid var(--color-blue-dark);
  border-radius: 50px;
  color: var(--color-blue-dark);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.btn-outline:hover {
  background-color: var(--color-blue-dark);
  color: white;
}

/* -------------------------------------
   Hero Content im New Site Container
   ------------------------------------- */
.hero-content {
  text-align: center;
  padding: 80px 5% 100px;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.3rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* -------------------------------------
   Cards / Grid System (Urothea Style)
   ------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: var(--spacing-section);
}

.card {
  position: relative;
  background-color: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-blue {
  background-color: var(--color-blue-muted);
  color: white;
}
.card-blue h2, .card-blue .section-subtitle, .card-blue p {
  color: white;
}
.card-blue .btn-outline {
  border-color: white;
  color: white;
}
.card-blue .btn-outline:hover {
  background-color: white;
  color: var(--color-blue-muted);
}

/* For image cards */
.card-image {
  background-size: cover;
  background-position: center;
  color: white;
}
.card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.card-image > * {
  position: relative;
  z-index: 2;
}


.card h2 {
  font-size: 2.5rem;
  margin-top: auto;
  margin-bottom: 15px;
}

/* -------------------------------------
   News / Aktuelles Banner
   ------------------------------------- */
.news-banner {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 60px;
  margin-bottom: var(--spacing-section);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 30px;
}
.news-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-date {
  font-size: 1rem;
  color: var(--color-text-light);
  min-width: 120px;
  font-weight: 600;
}
.news-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.news-content p {
  color: var(--color-text-light);
}

/* -------------------------------------
   Footer
   ------------------------------------- */
footer {
  background-color: var(--color-blue-dark);
  color: white;
  padding: 80px 5% 40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-col a, .footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 2;
}

.footer-col a:hover {
  color: white;
}
/* -------------------------------------
   Google Maps Consent Placeholder (DSGVO)
   ------------------------------------- */
.map-consent {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
  min-height: 450px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background-color: var(--color-blue-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
  gap: 20px;
}

.map-consent .map-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.map-consent p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 340px;
  line-height: 1.6;
}

.map-consent p strong {
  color: white;
}

.map-consent .btn-load-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 35px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  color: white;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-consent .btn-load-map:hover {
  background-color: white;
  color: var(--color-blue-dark);
  border-color: white;
}

.map-consent .map-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.map-consent .map-link:hover {
  color: white;
}

.map-consent iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media(max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .news-row {
    flex-direction: column;
    gap: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width: 600px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Mobile Menu via JS later */
  }
}
