/* Basic Reset */
* {
  box-sizing: border-box;
}

html, body { margin:0; padding:0; font-family:'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif; color:var(--text); background:#0f1314; }

body {
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #0f1314;
  --bg-alt: #161d1f;
  --bg-soft: #1c2527;
  --text: #f5f8f9;
  --text-dim: #b1c1c6;
  --brand: #ff6d3d;
  --brand-accent: #ff845c;
  --border: #263236;
  --radius: 18px;
  --gradient: linear-gradient(135deg, #ff6d3d, #ff3d7d 55%, #ffb347);
  --focus: 0 0 0 3px rgba(255, 109, 61, .35);
}

h1,h2,h3,h4 { font-weight:600; line-height:1.15; letter-spacing:-.02em; color:var(--text); }

p {
  line-height: 1.55;
  max-width: 64ch;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(15, 19, 20, .72);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

nav a:hover,
nav a:focus {
  color: var(--text);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: .28s;
  border-radius: 1px;
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

.cta-link {
  color: var(--brand-accent);
}

.hero {
  padding: 120px 0 60px;
  position: relative;
  background: radial-gradient(circle at 20% 20%, #ff6d3d22, transparent 60%), radial-gradient(circle at 80% 60%, #ff3d7d22, transparent 70%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
}

.hero-text p {
  font-size: 1.1rem;
  margin: 18px 0 28px;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  --btn-bg: var(--bg-soft);
  --btn-color: var(--text);
  --btn-bg-hover: var(--bg-alt);
  --btn-shadow: 0 4px 18px -4px rgba(0, 0, 0, .4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: calc(var(--radius) - 4px);
  background: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  position: relative;
  border: 1px solid var(--border);
  transition: .28s;
  cursor: pointer;
}

.btn.primary {
  --btn-bg: var(--gradient);
  --btn-color: #fff;
  border: 0;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.btn:hover,
.btn:focus {
  background: var(--btn-bg-hover);
  box-shadow: var(--btn-shadow);
  transform: translateY(-2px);
}

.btn.primary:hover,
.btn.primary:focus {
  filter: brightness(1.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 10px;
  font-size: .92rem;
  color: var(--text-dim);
}

.hero-bullets li {
  position: relative;
  padding-left: 20px;
}

.hero-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  position: absolute;
  left: 0;
  top: 7px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 360px;
  max-width: 100%;
  aspect-ratio: 9/19.5;
  background: var(--bg-alt);
  border: 1px solid #1e2729;
  border-radius: 38px;
  /* padding-top erhöht (vorher 14px + iframe margin-top 20px) -> jetzt 34px ohne iframe-Margin */
  padding: 34px 12px 18px;
  position: relative;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6), 0 0 0 1px #202a2c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-frame iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0 0 24px 24px;
  background: #000;
  display: block;
  min-height: 0; /* verhindert Flex-Overflow in einigen Browsern */
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #0a0e0f;
  border-radius: 0 0 14px 14px;
  box-shadow: inset 0 0 0 1px #1c2628;
  z-index: 3;
}

.status-bar {
  position: absolute;
  left: 12px;
  top: 10px;
  width: calc(100% - 24px);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 0 16px 0 16px;
  border-radius: 24px 24px 0px 0px;
  z-index: 1;
}

/* Light/Dark adaptive background */
@media (prefers-color-scheme: dark) {
  .status-bar {
    background: rgba(0, 0, 0, .85);
    color: #fff;
  }

  .status-bar .sig,
  .status-bar .wifi,
  .status-bar .bat {
    filter: invert(0);
  }
}

@media (prefers-color-scheme: light) {
  .status-bar {
    background: rgba(255, 255, 255, .9);
    color: #000;
  }
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sig {
  width: 14px;
  height: 10px;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
}

.sig::before,
.sig::after {
  content: "";
  display: none;
}

.sig span {
  display: block;
  width: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: .85;
}

.sig span:nth-child(1) {
  height: 3px;
}

.sig span:nth-child(2) {
  height: 5px;
}

.sig span:nth-child(3) {
  height: 7px;
}

.sig span:nth-child(4) {
  height: 9px;
}

.wifi {
  width: 14px;
  height: 10px;
  position: relative;
  display: inline-block;
}

.wifi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 225deg at 50% 100%, currentColor 0 25%, transparent 0 100%);
  mask: radial-gradient(circle at 50% 100%, transparent 0 34%, #000 36%);
  opacity: .85;
}

.bat {
  width: 18px;
  height: 10px;
  position: relative;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
}

.bat::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
}

.bat-level {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  right: 5px;
  background: currentColor;
  border-radius: 1px;
  opacity: .9;
  animation: batPulse 12s linear infinite;
  transform-origin: left center;
}

@keyframes batPulse {
  0% {
    transform: scaleX(.95);
  }

  50% {
    transform: scaleX(.55);
  }

  100% {
    transform: scaleX(.95);
  }
}

.status-time {
  font-variant-numeric: tabular-nums;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: .8rem;
}

.screenshot-gallery.slider { position:absolute; inset:0; display:flex; flex-direction:column; padding:0; overflow:hidden; }
.phone-frame.placeholder { padding:0; }
.slider-track { display:flex; height:100%; gap:0; padding:0; transition:transform .55s cubic-bezier(.45,.6,.3,1); }
.slide { flex:0 0 100%; display:flex; }
.slide img { width:100%; height:100%; object-fit:cover; border-radius:30px; box-shadow:0 4px 14px -4px rgba(0,0,0,.6); user-select:none; }
.slider-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.45); color:#fff; border:1px solid #1d2628; width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:0; line-height:1; backdrop-filter:blur(6px); transition:.25s; z-index:5; }
.slider-btn .chevron-icon { display:block; width:20px; height:20px; }
.slider-btn:hover { background:rgba(0,0,0,.65); }
.slider-btn:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(255,109,61,.4); }
.slider-btn.prev { left:8px; }
.slider-btn.next { right:8px; }
.slider-dots { position:absolute; bottom:8px; left:0; width:100%; display:flex; justify-content:center; gap:10px; z-index:6; }
.slider-dots button { width:10px; height:10px; border-radius:50%; border:0; background:#3a4649; cursor:pointer; padding:0; transition:.25s; }
.slider-dots button.active { background:linear-gradient(135deg,#ff6d3d,#ff3d7d); box-shadow:0 0 0 2px #101516; }

.gradient-sep {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15, 19, 20, 0), var(--bg));
  pointer-events: none;
}

.section {
  padding: 90px 0 70px;
  position: relative;
}

.section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 0 0 40px;
}

.features {
  background: linear-gradient(180deg, #0f1314, #12191b);
}

.feature-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card {
  background: var(--bg-alt);
  padding: 24px 22px 26px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid #1e282b;
  position: relative;
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .5);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: .5px;
}

.feature-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-dim);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, #ff6d3d55, #ff3d7d33 45%, #ffb34722);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .75;
  pointer-events: none;
}

.value-props {
  background: #0f1314;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.value-list li {
  background: var(--bg-alt);
  padding: 18px 20px 18px 20px;
  border-radius: calc(var(--radius) - 10px);
  font-size: .94rem;
  line-height: 1.45;
  color: var(--text-dim);
  border: 1px solid #1f292c;
  position: relative;
}

.value-list li strong {
  color: var(--text);
  font-weight: 600;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, #ff6d3d33, #ff3d7d11);
  opacity: .35;
  pointer-events: none;
}

.demo {
  background: linear-gradient(180deg, #12191b, #0f1314);
}

.demo-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
}

.demo-hints {
  flex: 1 1 280px;
  max-width: 420px;
  font-size: .9rem;
  color: var(--text-dim);
}

/* Demo App Promo (Landing) */
.demo-app-promo {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 100px 0 8px;
}

.demo-app-icon {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 6px 22px -6px rgba(0,0,0,.55), 0 0 0 1px #1e282b;
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 160px;
  margin-top: 5px;
  min-width: 160px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .25s, filter .25s;
}

.store-badge img {
  display: block;
  width: 140px; /* normalized width */
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}

.store-badge:hover, .store-badge:focus-visible {
  transform: translateY(-3px);
}

.store-badge:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }

.demo-app-title {
  font-size: 1.9rem;
  text-align: left;
  margin: 10px 0;
  letter-spacing: .5px;
  background: linear-gradient(135deg,#ff6d3d,#ff3d7d 55%,#ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width:560px) {
  .demo-app-promo { flex-direction: row; gap: 18px; }
  .store-badges { flex-direction: row; gap: 12px; }
  .store-badge img { width: 150px; }
  .demo-app-title { text-align: center; font-size: 1.6rem; }
  .demo-hints { text-align: center; }
  .demo-app-icon { margin: 0 auto; }
}

.demo-hints ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.link-btn {
  background: none;
  border: 0;
  color: var(--brand-accent);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.link-btn:hover {
  color: #ffa482;
}

.contact {
  background: #0f1314;
}

.contact-form {
  display: grid;
  gap: 22px;
  margin-top: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
textarea {
  background: var(--bg-alt);
  border: 1px solid #1e282b;
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(255, 109, 61, .2);
}

.actions {
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.small-hint {
  font-size: .7rem;
  opacity: .6;
}

.site-footer {
  padding: 60px 0 50px;
  background: #0d1112;
  border-top: 1px solid #1c2628;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-note {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: 14px;
}

.foot-nav {
  display: grid;
  gap: 8px;
}

.foot-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .85rem;
}

.foot-nav a:hover {
  color: var(--text);
}

.legal-links { flex-basis:100%; display:flex; flex-wrap:wrap; gap:10px; font-size:.7rem; margin-top:10px; align-items:center; }
.legal-links a { color: var(--text-dim); text-decoration:none; transition:color .25s; }
.legal-links a:hover, .legal-links a:focus { color: var(--text); text-decoration:underline; }
.legal-links .sep { opacity:.35; }

/* Utilities */
/* Einfache, allgemeine Link-Stile für Content (Absätze) */
p a, p a:visited {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 2px;
  transition: color .25s, text-decoration-color .25s;
}

p a:hover, p a:focus {
  color: var(--text);
  text-decoration-color: var(--text);
}
.fade-in {
  animation: fade .8s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width:880px) {
  .hero {
    padding-top: 96px;
  }

  .nav a {
    margin-left: 18px;
  }

  .hero-grid {
    gap: 40px;
  }
}

@media (max-width:640px) {
  nav {
    position: absolute;
    top: 64px;
    right: 18px;
    background: #12191b;
    padding: 14px 18px;
    border: 1px solid #1e282b;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  nav a {
    margin: 4px 0 0 !important;
  }
}