/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green:       #2d7a4f;
  --green-light: #e8f5ee;
  --green-dark:  #1a5c3a;
  --cream:       #faf8f5;
  --warm-gray:   #6b6560;
  --charcoal:    #1c1c1c;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 999px;
  --transition:  0.25s ease;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--warm-gray); font-size: 1.05rem; line-height: 1.7; }

/* ============================
   LAYOUT HELPERS
   ============================ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 680px;
  margin: 1rem auto 3rem;
  text-align: center;
  line-height: 1.8;
}

/* ============================
   NAV
   ============================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

.logo-icon {
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--warm-gray);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--green-dark);
  background: var(--green-light);
}

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.2rem !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  transform: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   HERO
   ============================ */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f7f3 0%, #faf8f5 60%);
  padding: 5rem 2rem 3rem;
}

/* ============================
   HERO — Background Slideshow
   ============================ */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s ease, transform 8s linear;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  animation: slowZoom 10s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(250, 248, 245, 0.88) 0%,
    rgba(250, 248, 245, 0.75) 50%,
    rgba(250, 248, 245, 0.82) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero-text h1 {
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--warm-gray);
  margin-bottom: 2.2rem;
  line-height: 1.9;
  max-width: 520px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(45, 122, 79, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 79, 0.4);
}

.btn-large {
  font-size: 1.05rem;
  padding: 1rem 2.4rem;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px;
  width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}

.phone-top-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #111;
  border-radius: 0 0 16px 16px;
}

@media (max-width: 680px) {
  .phone-notch { height: 18px; width: 60px; border-radius: 0 0 12px 12px; }
  .phone-top-bar { padding: 6px 0 2px; }
}

.phone-screen {
  background: #111;
  border-radius: 24px;
  overflow: hidden;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 400px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mockup-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.mockup-title i { color: var(--green); font-size: 0.9rem; }

.mockup-lang-badge {
  background: rgba(45,122,79,0.25);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.mockup-flags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.flag-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 2px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-btn img {
  width: 100%;
  border-radius: 4px;
  display: block;
  opacity: 0.5;
  transition: var(--transition);
}

.flag-btn:hover img { opacity: 0.85; transform: scale(1.05); }
.flag-btn.active { border-color: var(--green); background: rgba(45,122,79,0.1); }
.flag-btn.active img { opacity: 1; }

.mockup-tagline {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 1rem 0.8rem;
  border-left: 3px solid var(--green);
}

.tagline-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  font-style: italic;
  text-align: center;
}

.tagline-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.4;
}

.mockup-player {
  background: rgba(45,122,79,0.12);
  border: 1px solid rgba(45,122,79,0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.mockup-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ctrl-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 14px rgba(45,122,79,0.4);
}

.play-btn:hover {
  background: var(--green-dark);
  transform: scale(1.08);
}

.play-btn.playing {
  background: rgba(45,122,79,0.3);
  color: var(--green);
  box-shadow: none;
}

.stop-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1) !important;
  padding: 6px;
}

.stop-icon {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  display: block;
  transition: var(--transition);
}

.stop-btn:hover {
  background: rgba(229,57,53,0.2);
  border-color: rgba(229,57,53,0.3) !important;
}

.stop-btn:hover .stop-icon {
  opacity: 1;
}

.play-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  line-height: 1.4;
}

.play-label.active {
  color: var(--green);
  font-weight: 600;
}

#playLabelText.active {
  color: var(--green);
  font-weight: 600;
}

.hero-scenario-labels {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scenario-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  white-space: nowrap;
}

.scenario-label.active {
  color: #fff;
  background: rgba(45,122,79,0.6);
  border-color: rgba(45,122,79,0.4);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 3;
  color: rgba(0,0,0,0.25);
  font-size: 1.2rem;
  opacity: 0.5;
  animation: bounce 2s infinite;
}

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

/* ============================
   FÜR WEN — AUDIENCE
   ============================ */
#fur-wen {
  padding: 6rem 2rem;
  background: var(--white);
}

#fur-wen h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

#fur-wen .section-eyebrow {
  text-align: left;
}

#fur-wen .section-lead {
  text-align: left;
  margin: 1rem 0 3rem;
  max-width: 820px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.audience-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.audience-card:hover {
  background: var(--green-light);
  border-color: rgba(45, 122, 79, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  width: 52px; height: 52px;
  background: var(--green);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.audience-card h3 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.audience-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ============================
   SO EINFACH — STEPS
   ============================ */
#so-einfach {
  padding: 6rem 2rem;
  background: linear-gradient(160deg, #eef6f1 0%, #faf8f5 100%);
}

#so-einfach h2 {
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 3.5rem;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  width: 240px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.step h3 {
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.6rem;
  color: var(--green);
  opacity: 0.4;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  flex-shrink: 0;
}

/* Flags */
.flags-showcase {
  margin-top: 4rem;
  text-align: center;
}

.flags-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.flags-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.flags-row img {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.flags-row img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#video-promo {
  background: var(--cream);
  padding: 60px 20px;
}

.video-promo-inner {
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================
   ANWENDUNGEN — APPS GRID
   ============================ */
#anwendungen {
  padding: 6rem 2rem;
  background: var(--white);
}

#anwendungen h2 {
  text-align: left;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

#anwendungen .section-eyebrow {
  text-align: left;
}

#anwendungen .section-lead {
  text-align: left;
  max-width: 900px;
  margin: 1rem 0 2.5rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.app-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.app-card:hover {
  background: var(--green-light);
  border-color: rgba(45, 122, 79, 0.12);
  transform: translateY(-3px);
}

.app-icon {
  font-size: 1.6rem;
  color: var(--green);
}

.app-card h4 {
  color: var(--charcoal);
  font-size: 0.98rem;
}

.app-card p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

/* ============================
   STORY
   ============================ */
#story {
  padding: 6rem 2rem;
  background: linear-gradient(160deg, #1a5c3a 0%, #2d7a4f 100%);
}

.story-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.story-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ff1744;
  text-shadow: 0 0 30px rgba(255, 23, 68, 0.5);
}

.story-text h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.story-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
  text-align: left;
}

.story-text p:last-child { margin-bottom: 0; }

.story-text strong {
  color: var(--white);
  font-weight: 700;
}

.story-closing {
  font-size: 1.15rem !important;
  color: #ffd600 !important;
  font-style: italic;
  margin-top: 1.5rem !important;
  text-align: center !important;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}

/* ============================
   KONTAKT
   ============================ */
#kontakt {
  padding: 6rem 2rem;
  background: var(--cream);
}

#kontakt h2 {
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 800px;
  margin: 3rem auto 0;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--warm-gray);
  cursor: pointer;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.checkbox-group label span {
  flex: 1;
  min-width: 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.checkbox-group a {
  color: var(--green);
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group label i {
  color: var(--green);
  margin-right: 0.3rem;
}

.form-group .optional {
  font-weight: 400;
  color: var(--warm-gray);
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid #e8e4df;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  color: #ffffff;
  background: #2d7a4f;
  transition: var(--transition);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
  background: #2d7a4f;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

#processingMessage {
  display: none;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--green);
  font-size: 1rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin-top: 0.4rem;
  font-style: italic;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo i {
  color: var(--green);
  margin-right: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.footer-bottom {
  max-width: 1140px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 320px; }
  .phone-screen { min-height: 300px; padding: 0.8rem; gap: 0.7rem; }
  .mockup-tagline { padding: 0.7rem 0.6rem; }
  .mockup-player { padding: 0.7rem; }
  .mockup-waveform { height: 32px; padding: 0.4rem 0.7rem; }
  .steps { gap: 1rem; }
  .step { width: 200px; padding: 2rem 1.5rem 1.5rem; }
  .step-arrow { display: none; }
}

@media (max-width: 680px) {
  .section-inner {
    padding: 0 0.75rem;
  }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.3rem;
    border-bottom: 1px solid #eee;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  #kontakt { padding-left: 0; padding-right: 0; }
  .contact-form { padding: 1.5rem; max-width: 100%; border-radius: 15px; }
  .form-group input,
  .form-group textarea { font-size: 16px; }
  #fur-wen {
    padding: 4rem 0 4.5rem;
  }
  #fur-wen .section-inner {
    padding: 0 0.75rem;
  }
  #fur-wen .section-eyebrow {
    margin-bottom: 0.5rem;
  }
  #fur-wen h2 {
    text-align: left;
    margin-bottom: 0.75rem;
  }
  #fur-wen .section-lead {
    text-align: left;
    max-width: none;
    margin: 0 0 2rem;
  }
  #fur-wen .audience-grid {
    margin-top: 1.75rem;
    gap: 0.85rem;
  }
  #fur-wen .audience-card {
    padding: 1.35rem 1rem;
    border-radius: 14px;
  }
  #demo {
    padding: 4rem 0 4.5rem;
  }
  #demo .section-inner {
    padding: 0 0.75rem;
  }
  #demo .section-lead {
    max-width: none;
    margin: 0.9rem auto 2rem;
  }
  .demo-frame {
    width: min(calc(100vw - 1rem), 100%);
    margin: 1.25rem auto 0;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .demo-frame iframe {
    height: 420px;
  }
  #anwendungen {
    padding: 4rem 0 4.5rem;
  }
  #anwendungen .section-inner {
    padding: 0 0.75rem;
  }
  #anwendungen .section-lead {
    text-align: left;
    max-width: none;
    margin: 0 0 2rem;
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
  }
  .app-card {
    padding: 1.35rem 1rem;
    border-radius: 14px;
  }
  #story {
    padding: 4rem 0 4.5rem;
  }
  #story .section-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .story-card {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  #so-einfach {
    padding: 4rem 0 4.5rem;
  }
  #so-einfach .section-inner {
    padding: 0 0.75rem;
  }
  #so-einfach h2 {
    margin-bottom: 1.5rem;
  }
  #so-einfach .steps-image {
    width: min(calc(100vw - 1rem), 100%);
    margin: 1rem auto;
    border-radius: 6px;
  }
  #so-einfach .flags-showcase {
    margin-top: 2rem;
  }
  #hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  h1 { font-size: 2.4rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  /* Phone mockup — compact landscape on very small screens */
  .phone-mockup { width: 100%; max-width: 380px; }
  .phone-screen { min-height: 260px; }
  .mockup-flags { gap: 5px; }
  .hero-scenario-labels { bottom: 1.5rem; }
  .hero-scroll-hint { display: none; }
  .hero-scenario-labels { display: none; }
  #video-promo {
    padding: 2.75rem 0 3rem;
  }
  #video-promo .section-inner {
    padding: 0 0.75rem;
  }
  .video-embed {
    width: min(calc(100vw - 1rem), 100%);
    margin: 1rem auto 0;
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.14);
  }
}

@media (max-width: 400px) {
  .section-inner {
    padding: 0 0.6rem;
  }
  .app-grid { grid-template-columns: 1fr; }
  .phone-screen { min-height: 240px; padding: 0.6rem; gap: 0.5rem; }
  .phone-mockup { border-radius: 28px; padding: 10px; }
  #hero {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

.mockup-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.wave-bar {
  width: 4px;
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  opacity: 0.3;
  transition: height 0.15s ease;
}

/* Waveform animation — playing state */
.mockup-waveform.playing .wave-bar {
  opacity: 1;
  animation: wave 0.6s ease-in-out infinite;
}

.mockup-waveform.playing .wave-bar:nth-child(1)  { animation-delay: 0.0s; }
.mockup-waveform.playing .wave-bar:nth-child(2)  { animation-delay: 0.1s; }
.mockup-waveform.playing .wave-bar:nth-child(3)  { animation-delay: 0.2s; }
.mockup-waveform.playing .wave-bar:nth-child(4)  { animation-delay: 0.3s; }
.mockup-waveform.playing .wave-bar:nth-child(5)  { animation-delay: 0.4s; }
.mockup-waveform.playing .wave-bar:nth-child(6)  { animation-delay: 0.3s; }
.mockup-waveform.playing .wave-bar:nth-child(7)  { animation-delay: 0.2s; }
.mockup-waveform.playing .wave-bar:nth-child(8)  { animation-delay: 0.1s; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50%       { height: 32px; }
}

.mockup-wrapper {
  position: relative;
  display: inline-block;
}

.hero-qr-text {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  margin-bottom: 0.75rem;
  border: 2px solid rgba(45,122,79,0.15);
  display: block;
}
.legal-page {
  padding: 5rem 2rem;
  background: var(--cream);
  min-height: 80vh;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.legal-inner h1 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-page {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.9rem;
}

.legal-section p {
  color: var(--warm-gray);
  line-height: 1.8;
  font-size: 0.97rem;
}

.legal-section a {
  color: var(--green);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--green-dark);
}

@media (max-width: 600px) {
  .legal-inner {
    padding: 2rem 1.5rem;
  }
}
.steps-image {
  margin: 2rem auto;
  max-width: 960px;
  text-align: center;
  /* Enforce 16:9 aspect ratio */
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.steps-image-large {
  max-width: 1100px;
}

.steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 680px) {
  .steps-image { margin: 1.5rem auto; }
}

#demo {
  padding: 6rem 2rem;
  background: var(--cream);
}

#demo h2 {
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.demo-frame {
  margin-top: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(45,122,79,0.15);
  background: #fff;
}

.demo-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .demo-frame iframe {
    height: 500px;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero    { animation: fadeInUp 0.8s ease both; }
#fur-wen { animation: fadeInUp 0.8s ease 0.1s both; }
#so-einfach { animation: fadeInUp 0.8s ease 0.15s both; }
#anwendungen { animation: fadeInUp 0.8s ease 0.2s both; }
#story   { animation: fadeInUp 0.8s ease 0.1s both; }
#kontakt { animation: fadeInUp 0.8s ease 0.15s both; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
