/* Angelmeister-App-Seite (/app) — Layout nach Design-Canvas 2026-08 */

.app-page {
  background: var(--cream);
}

/* ── Hero ── */

.app-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 56px;
  color: var(--paper);
  background: var(--petrol);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tageszeit-abhängiger Foto-Hintergrund (JS setzt data-daytime am <html>),
   mit Dunkel-Scrim links für die Lesbarkeit der weißen Hero-Texte. */
html[data-daytime="morning"] .app-hero {
  background-image: linear-gradient(90deg, rgba(7, 34, 42, 0.86) 0%, rgba(7, 34, 42, 0.55) 55%, rgba(7, 34, 42, 0.3) 100%), url("/assets/app-hero-morning.webp");
}
html[data-daytime="day"] .app-hero {
  background-image: linear-gradient(90deg, rgba(7, 34, 42, 0.86) 0%, rgba(7, 34, 42, 0.55) 55%, rgba(7, 34, 42, 0.3) 100%), url("/assets/app-hero-day.webp");
}
html[data-daytime="evening"] .app-hero {
  background-image: linear-gradient(90deg, rgba(7, 34, 42, 0.86) 0%, rgba(7, 34, 42, 0.55) 55%, rgba(7, 34, 42, 0.3) 100%), url("/assets/app-hero-evening.webp");
}
@media (max-width: 820px) {
  html[data-daytime] .app-hero { background-image: linear-gradient(180deg, rgba(7, 34, 42, 0.6) 0%, rgba(7, 34, 42, 0.82) 100%), var(--app-hero-photo, none); }
  html[data-daytime="morning"] .app-hero { --app-hero-photo: url("/assets/app-hero-morning.webp"); }
  html[data-daytime="day"] .app-hero { --app-hero-photo: url("/assets/app-hero-day.webp"); }
  html[data-daytime="evening"] .app-hero { --app-hero-photo: url("/assets/app-hero-evening.webp"); }
}

.app-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: repeating-linear-gradient(180deg, rgba(127, 196, 207, 0.13) 0 2px, transparent 2px 9px);
  content: "";
  pointer-events: none;
}

.app-hero > .container {
  position: relative;
  z-index: 1;
}

.app-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--aqua);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.app-breadcrumbs a {
  color: var(--aqua);
  text-decoration: none;
}

.app-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  align-items: center;
  gap: 56px;
}

.app-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.app-hero-kicker {
  color: var(--aqua);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: pretty;
}

.app-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: #cfe6ea;
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.app-hero-note {
  max-width: 560px;
  margin-top: 10px;
  padding: 16px 20px;
  border-radius: 13px;
  background: rgba(127, 196, 207, 0.13);
  color: #cfe6ea;
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.app-hero-note a {
  color: var(--paper);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.app-hero-phones img {
  width: 236px;
  height: auto;
  border: 1px solid rgba(207, 230, 234, 0.28);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(5, 30, 38, 0.35);
}

.app-hero-phones img:last-child {
  margin-top: 44px;
}

/* ── Seiten-Navigation (Pills) ── */

.app-pagenav {
  border-bottom: 1px solid var(--cream);
  background: var(--paper);
}

.app-pagenav > .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
}

.app-pagenav-label {
  flex: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.app-pagenav a {
  flex: none;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.app-pagenav a:hover {
  background: var(--cream-light);
  color: var(--petrol);
}

/* ── Feature-Sektionen ── */

.app-features > .container {
  display: flex;
  flex-direction: column;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid #e3dac5;
  scroll-margin-top: 24px;
}

.app-feature:last-child {
  border-bottom: 0;
}

.app-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.app-feature-reverse .app-feature-copy {
  order: 2;
}

.app-feature-reverse .app-feature-shot {
  order: 1;
}

.app-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-feature-num {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--petrol);
  color: var(--aqua);
  font-size: 14px;
  font-weight: 600;
  line-height: 34px;
  text-align: center;
}

.app-feature-kicker {
  color: var(--petrol-bright);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-feature h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.22;
  text-wrap: pretty;
}

.app-feature-body {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.app-feature-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.app-feature-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 540px;
}

.app-feature-points li::before {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background: var(--aqua-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
  content: "";
}

.app-feature-points strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.app-feature-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

.app-feature-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.app-feature-cta .button {
  border: 1.5px solid var(--petrol);
  color: var(--petrol);
  background: transparent;
}

.app-feature-cta .button:hover {
  background: var(--aqua-pale);
}

.app-feature-cta small {
  color: var(--muted);
  font-size: 14px;
}

.app-feature-shot {
  display: flex;
  justify-content: center;
}

.app-feature-shot > img {
  width: 300px;
  height: auto;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(15, 76, 92, 0.12);
  padding: 14px;
  box-sizing: border-box;
}

/* ── Lektions-Demo (animierter Chat) ── */

.app-lesson-stack {
  position: relative;
  width: 320px;
  margin: 0 60px;
}

.ald-mini {
  position: absolute;
  top: 36px;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 236px;
  border-radius: 20px;
  background: #f6f1e4;
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.12);
  overflow: hidden;
  pointer-events: none;
}

.ald-mini-left {
  left: -96px;
  transform: rotate(-7deg);
}

.ald-mini-right {
  right: -96px;
  transform: rotate(6deg);
}

.ald-mini .ald-header {
  padding: 10px 12px;
}

.ald-mini .ald-header strong {
  font-size: 11.5px;
}

.ald-mini .ald-header small {
  font-size: 9px;
}

.ald-mini .ald-back {
  width: 22px;
  height: 22px;
  font-size: 13px;
  line-height: 22px;
  border-radius: 7px;
}

.ald-mini-stage {
  margin: 9px 9px 0;
}

.ald-mini-stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.ald-mini-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px 14px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}

.ald-mini .ald-row {
  align-items: flex-start;
  gap: 6px;
  opacity: 1;
  transform: none;
}

.ald-mini .ald-avatar {
  width: 19px;
  height: 19px;
  background-size: 15px;
}

.ald-mini .ald-bubble {
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 11px 11px 11px 4px;
  font-size: 9.5px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .app-lesson-stack {
    margin: 0;
  }

  .ald-mini {
    display: none;
  }
}

.app-lesson-demo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 320px;
  height: 560px;
  border-radius: 24px;
  background: #f6f1e4;
  box-shadow: 0 14px 34px rgba(15, 76, 92, 0.12);
  overflow: hidden;
  transition: opacity 400ms ease;
}

.app-lesson-demo.ald-reset {
  opacity: 0;
}

.ald-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
  background: #fbf8f0;
}

.ald-back {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #efe8d7;
  color: var(--petrol);
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

.ald-header strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.ald-header small {
  color: var(--muted);
  font-size: 11px;
}

.ald-stage {
  position: relative;
  flex: none;
  height: 152px;
  margin: 12px 12px 0;
}

.ald-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 500ms ease;
}

.ald-stage img.ald-stage-active {
  opacity: 1;
}

.ald-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 96px, rgba(0, 0, 0, 0.35) 170px, transparent 250px);
  mask-image: linear-gradient(180deg, #000 96px, rgba(0, 0, 0, 0.35) 170px, transparent 250px);
}

.ald-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ald-avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper) url("/assets/lesson-demo/tutor-krabbe.webp") center / 20px no-repeat;
  box-shadow: 0 2px 6px rgba(15, 76, 92, 0.14);
}

.ald-bubble {
  max-width: 232px;
  padding: 10px 13px;
  border-radius: 15px 15px 15px 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.55;
  box-shadow: 0 3px 10px rgba(15, 76, 92, 0.07);
}

.ald-bubble b {
  font-weight: 600;
}

.ald-feedback {
  background: #e7f2ea;
}

.ald-typing {
  display: flex;
  gap: 4px;
  padding: 13px 14px;
}

.ald-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9c1c2;
  animation: ald-blink 1s infinite;
}

.ald-typing i:nth-child(2) { animation-delay: 0.18s; }
.ald-typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes ald-blink {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}

.ald-quiz {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 13px;
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 3px 10px rgba(15, 76, 92, 0.07);
}

.ald-quiz-q {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 3px;
}

.ald-option {
  padding: 9px 11px;
  border: 1.5px solid rgba(15, 76, 92, 0.16);
  border-radius: 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  transition: background-color 200ms ease, border-color 200ms ease, transform 150ms ease;
}

.ald-option-pressed {
  transform: scale(0.97);
}

.ald-quiz-answered .ald-option-correct {
  border-color: #2f7a60;
  background: #e7f2ea;
  color: #22563f;
  font-weight: 600;
}

.ald-quiz-answered .ald-option:not(.ald-option-correct) {
  opacity: 0.45;
}

.ald-row,
.ald-quiz {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.ald-pushing {
  transition: height 340ms cubic-bezier(0.25, 0.7, 0.3, 1), margin-bottom 340ms cubic-bezier(0.25, 0.7, 0.3, 1), opacity 360ms ease, transform 360ms ease;
}

.ald-in {
  opacity: 1;
  transform: none;
}

/* ── Kurs + App Flow ── */

.app-flow {
  padding: 40px 0 64px;
}

.app-flow > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: start;
  gap: 48px;
}

.app-flow h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.app-flow-intro p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.app-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.app-flow-steps article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 16px;
  background: var(--paper);
}

.app-flow-steps i {
  color: var(--petrol-bright);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.app-flow-steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.app-flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── CTA-Band ── */

.app-cta {
  background: var(--petrol);
}

.app-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.app-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}

.app-cta h2 {
  margin: 0;
  color: var(--paper);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.app-cta p {
  margin: 0;
  color: #cfe6ea;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.app-cta-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .app-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .app-hero h1 {
    font-size: 30px;
  }

  .app-hero-phones img {
    width: 40%;
    max-width: 200px;
  }

  .app-feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  .app-feature-reverse .app-feature-copy {
    order: 1;
  }

  .app-feature-reverse .app-feature-shot {
    order: 2;
  }

  .app-feature-shot img {
    width: min(300px, 82vw);
  }

  .app-flow > .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-flow-steps {
    grid-template-columns: 1fr;
  }

  .app-cta > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- Social Proof + Bestehensquote (Das schaffst du) --- */
.app-proof {
  padding: 44px 0 8px;
  background: var(--cream);
}
.app-proof-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.app-proof-claim {
  flex: 1 1 460px;
  min-width: 280px;
}
.app-proof-claim h2 {
  margin: 0 0 8px;
  color: var(--petrol);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.app-proof-claim p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  max-width: 46ch;
}
.app-proof-source {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
/* Bewertung als Lorbeerkranz-Auszeichnung, direkt auf dem Hintergrund (keine Kachel) */
.app-proof-rating {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--petrol);
}
.laurel {
  width: 44px;
  height: 100px;
  flex: 0 0 auto;
  color: var(--petrol);
  opacity: 0.92;
}
.laurel-flip { transform: scaleX(-1); }
.app-proof-rating-core {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 4px;
}
.app-proof-rating-core strong {
  color: var(--petrol);
  font-size: 48px;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.app-proof-stars {
  color: #f2a900;
  font-size: 17px;
  letter-spacing: 2px;
}
.app-proof-rating-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Reviews als Zitate mit großem Anführungszeichen, ohne Kachel */
.app-proof-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 30px;
  margin-top: 36px;
}
.app-proof-review {
  position: relative;
  margin: 0;
  padding: 30px 4px 0;
}
.app-proof-review::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: -6px;
  color: var(--petrol);
  opacity: 0.22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 1;
  pointer-events: none;
}
.app-proof-review blockquote {
  position: relative;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
.app-proof-review figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 820px) {
  .app-proof-reviews { grid-template-columns: 1fr; gap: 26px; }
  .app-proof-top { justify-content: flex-start; }
}
