:root {
  --ink-900: #261a17;
  --ink-700: #59433d;
  --ink-500: #816864;
  --cream-50: #fffaf3;
  --cream-100: #fff3e6;
  --peach-200: #f2d0bf;
  --peach-400: #d58f76;
  --peach-500: #c17767;
  --peach-600: #ab5f51;
  --sage-300: #b0c09f;
  --sage-500: #7a9270;
  --line-soft: rgba(38, 26, 23, 0.1);
  --card-bg: rgba(255, 255, 255, 0.82);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --shadow-soft: 0 14px 36px rgba(63, 41, 37, 0.12);
  --shadow-pop: 0 20px 46px rgba(95, 58, 45, 0.18);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background:
    radial-gradient(circle at 5% -5%, rgba(213, 143, 118, 0.35), transparent 32%),
    radial-gradient(circle at 100% 20%, rgba(176, 192, 159, 0.26), transparent 36%),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 34%, #ffffff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  line-height: 1.14;
  color: var(--ink-900);
}

.section-sub {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  color: var(--ink-700);
  font-size: 1.05rem;
  text-wrap: balance;
}

.section-sub-left {
  margin-left: 0;
  margin-right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink-900);
}

.logo-icon {
  font-size: 1rem;
  color: var(--peach-500);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--peach-600);
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  justify-content: flex-end;
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-500);
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lang-btn.active,
.lang-btn[aria-pressed='true'] {
  color: var(--peach-600);
  border-color: rgba(171, 95, 81, 0.25);
  background: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(171, 95, 81, 0.25);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 11px;
  width: 44px;
  height: 40px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink-900);
  margin: 4px 0;
  border-radius: 4px;
}

.btn {
  border: none;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--peach-500), var(--peach-600));
  color: #fff;
  box-shadow: 0 12px 26px rgba(171, 95, 81, 0.32);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4.2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 20% -10% auto;
  height: 460px;
  background: radial-gradient(circle, rgba(242, 208, 191, 0.42) 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-tagline {
  margin: 0 0 0.7rem;
  color: var(--sage-500);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 0.95;
  color: var(--ink-900);
}

.hero-sub {
  margin: 0 0 0.75rem;
  color: var(--peach-600);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
}

.hero-desc {
  margin: 0 0 1.5rem;
  color: var(--ink-700);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.hero-mini-note {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-quote {
  margin: 1.45rem 0 0;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(122, 146, 112, 0.35);
  border-radius: var(--radius-md);
  background: rgba(176, 192, 159, 0.13);
  display: inline-block;
}

.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-700);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: min(390px, 80vw);
  height: min(390px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 143, 118, 0.28), transparent 72%);
  z-index: 0;
}

.phone-card {
  position: relative;
  z-index: 1;
  width: min(318px, 70vw);
  margin: 0;
  border-radius: 34px;
  padding: 11px;
  background: linear-gradient(160deg, #fff, #f6ece3);
  box-shadow: var(--shadow-pop);
}

.phone-card img {
  border-radius: 28px;
  width: 100%;
  height: auto;
}

.hero-kpis {
  position: relative;
  z-index: 2;
  margin: -1.3rem 0 0;
  padding: 0.35rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 0.55rem;
  width: min(360px, 90vw);
}

.hero-kpis li {
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  text-align: center;
  padding: 0.6rem 0.4rem;
}

.hero-kpis strong {
  display: block;
  color: var(--ink-900);
  font-size: 1.05rem;
}

.hero-kpis span {
  color: var(--ink-500);
  font-size: 0.75rem;
  font-weight: 700;
}

.features .section-title,
.features .section-sub,
.screenshots .section-title,
.cta .section-title,
.cta .section-sub {
  text-align: center;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.4rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(193, 119, 103, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.plus {
  padding-top: 4.5rem;
}

.plus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.plus-copy {
  align-self: center;
}

.plus-copy .section-title {
  margin-bottom: 0.5rem;
}

.plus-iap {
  margin: 0.5rem 0 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.plus-card {
  padding: 1.7rem;
}

.plus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.72rem 0;
  border-bottom: 1px dashed rgba(38, 26, 23, 0.16);
  color: var(--ink-700);
}

.plus-list li:last-child {
  border-bottom: 0;
}

.plus-icon {
  margin-top: 0.15rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.screenshot-wrap {
  margin: 0;
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.screenshot-wrap img {
  border-radius: 18px;
  width: 100%;
}

.screenshot-wrap figcaption {
  text-align: center;
  margin-top: 0.7rem;
  color: var(--ink-500);
  font-size: 0.84rem;
  font-weight: 700;
}

.cta {
  padding-top: 3.9rem;
}

.cta-inner {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(171, 95, 81, 0.2);
  background:
    radial-gradient(circle at 15% 15%, rgba(213, 143, 118, 0.2), transparent 40%),
    radial-gradient(circle at 92% 90%, rgba(176, 192, 159, 0.25), transparent 38%),
    #fff;
  box-shadow: var(--shadow-pop);
  padding: 2.1rem 1.3rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
}

.btn-app-store,
.btn-app-store-nav {
  line-height: 0;
  transition: transform 0.2s ease;
  display: inline-block;
}

.btn-app-store:hover,
.btn-app-store-nav:hover {
  transform: translateY(-2px);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.footer-inner {
  text-align: center;
  padding: 2.2rem 0 2.8rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-tagline {
  margin: 0.35rem 0 0.85rem;
  color: var(--ink-700);
}

.footer-legal {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--peach-600);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in 0.65s ease forwards;
}

.reveal-delay {
  animation-delay: 0.16s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal pages (Datenschutz, Impressum) */
.legal-page {
  padding: 2rem 0 4rem;
}

main.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.legal-page .subtitle {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.legal-page .subtitle.standalone,
.legal-page .date {
  color: var(--ink-500);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.legal-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.legal-page h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-700);
}

.legal-page a {
  color: var(--peach-600);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page .highlight-box,
.legal-page .privacy-highlight,
.legal-page .no-data-list,
.legal-page .disclaimer-box {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1rem 0;
}

.legal-page .highlight-box {
  background: rgba(242, 208, 191, 0.3);
}

.legal-page .privacy-highlight,
.legal-page .no-data-list {
  background: rgba(176, 192, 159, 0.16);
  border: 1px solid rgba(122, 146, 112, 0.24);
}

.legal-page .disclaimer-box {
  background: rgba(213, 143, 118, 0.12);
  border: 1px solid rgba(171, 95, 81, 0.24);
}

.legal-page .legal-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  color: var(--peach-600);
  background: rgba(171, 95, 81, 0.12);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

.legal-page .no-data-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-page .no-data-list li::before {
  content: '✓';
  margin-right: 0.5rem;
  color: var(--sage-500);
  font-weight: 700;
}

.legal-page .nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  margin-bottom: 1.8rem;
}

@media (max-width: 1024px) {
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
    gap: 0.8rem;
    padding: 0.75rem 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    gap: 0.35rem;
    background: rgba(255, 250, 243, 0.98);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(193, 119, 103, 0.1);
  }

  .nav .btn,
  .nav .btn-app-store-nav {
    margin-top: 0.25rem;
    align-self: center;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid,
  .plus-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta .btn {
    width: fit-content;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .section {
    padding: 3.6rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, 100% - 1.6rem);
  }

  .feature-cards,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  .lang-btn {
    padding: 0.25rem 0.35rem;
    font-size: 0.68rem;
  }

  main.legal-page {
    margin-left: 0;
    padding: 0 1rem;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  box-shadow: var(--shadow-pop);
  padding: 1.5rem 2rem;
  z-index: 200;
  display: none;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink-900);
}

.cookie-text p {
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--peach-600);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons-right {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-body);
}

.cookie-btn-accept,
.cookie-btn-decline {
  background: #fff;
  color: var(--ink-900);
  border: 2px solid var(--line-soft);
}

.cookie-btn-accept:hover,
.cookie-btn-decline:hover {
  border-color: var(--peach-500);
  color: var(--peach-600);
}

.cookie-btn-details {
  background: transparent;
  color: var(--ink-500);
  border: 2px solid transparent;
  text-decoration: underline;
}

.cookie-btn-details:hover {
  color: var(--peach-600);
}

.cookie-btn-save {
  display: none;
  background: var(--peach-500);
  color: #fff;
  border: 2px solid var(--peach-500);
}

.cookie-btn-save:hover {
  background: var(--peach-600);
  border-color: var(--peach-600);
}

.cookie-links {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.cookie-links a {
  color: var(--ink-500);
}

.cookie-details {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.cookie-details.show {
  display: block;
}

.cookie-category {
  margin-bottom: 0.75rem;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cookie-category-header strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-900);
}

.cookie-category-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-700);
  margin-top: 0.15rem;
  line-height: 1.4;
}

.cookie-category-desc code {
  background: var(--cream-100);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.75rem;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  min-width: 44px;
  height: 24px;
  margin-top: 2px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.2s;
  border-radius: 24px;
}

.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.2s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--peach-500);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-settings-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--ink-500);
  text-decoration: none;
  z-index: 99;
  display: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-soft);
}

.cookie-settings-link.show {
  display: block;
}

.cookie-settings-link:hover {
  color: var(--peach-600);
  border-color: var(--peach-500);
  box-shadow: var(--shadow-pop);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons-right {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-btn-details {
    order: 3;
  }

  .cookie-settings-link {
    bottom: 10px;
    left: 10px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-delay {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn,
  .btn-app-store {
    transition: none;
  }
}