/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;300;700&display=swap');

:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --brand-green: #7fa157;
  --font-family: 'Fira Sans', sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
}

/* --- Section Containers --- */
#old-brand,
#new-brand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out;
}

/* Phase 1: Old Brand */
#old-brand {
  background-color: white;
  z-index: 10;
  opacity: 1;
}

#old-brand.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Phase 1.5: Transition Text "wird zu" */
#transition-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  pointer-events: none;
}

#transition-text {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0;
  color: var(--text-color);
  transition: opacity 1s ease, color 2s ease;
}

#transition-text.show {
  opacity: 1;
}

#transition-text.white-mode {
  color: white;
}

/* Phase 2: New Brand (Green) */
#new-brand {
  background-color: var(--brand-green);
  color: white;
  z-index: 5;
  opacity: 0;
}

#new-brand.fade-in {
  opacity: 1;
  z-index: 20;
}

/* Content Wrapper */
.content-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

/* Typography */
.header-section {
  margin-bottom: 2rem;
}

.main-title {
  font-size: 5rem;
  margin: 0;
  line-height: 1;
}

.light {
  font-weight: 100;
}

.bold {
  font-weight: 700;
}

.info-section {
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.6;
}

.info-section p {
  margin: 0.2rem 0;
}


/* Logo & Button Container */
.mdk-logo-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Stack logo and button */
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  /* Container controls fade in of both */
  transition: opacity 0.4s ease;
}

.mdk-logo {
  max-width: 60%;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 3rem;
  /* Space between logo and button */
}

.cta-button {
  background-color: white;
  color: var(--brand-green);
  padding: 1rem 2rem;
  border-radius: 50px;
  /* Pill shape or rounded */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2rem;
  /* Ensure spacing */
  opacity: 0;
  /* Hidden initially, separate from container */
  transform: translateY(10px);
  /* Slight slide up effect */
  transition: opacity 1s ease, transform 1s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button.show {
  opacity: 1;
  transform: translateY(0);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}