/* amrit.codes – Orbit Hop Support-Seite (setzt base.css und legal.css voraus) */

:root {
  --oh-night: #0b0920;        /* App-Farbe Nachtblau */
  --oh-gold: #ffc56b;         /* App-Farbe Gold */
  --oh-gold-deep: #d9a24a;
  --oh-night-soft: #1a1740;
}

/* ===== Hero ===== */
.app-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,197,107,0.12), transparent 70%),
    linear-gradient(160deg, var(--oh-night) 0%, var(--oh-night-soft) 55%, var(--bg-dark) 100%);
  color: var(--text-light);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
/* Dezenter Sternenhimmel, wie in der Über-mich-Sektion */
.app-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 22%, rgba(240,233,223,0.5) 1px, transparent 1.8px),
    radial-gradient(circle at 27% 74%, rgba(240,233,223,0.35) 1px, transparent 1.7px),
    radial-gradient(circle at 44% 12%, rgba(255,197,107,0.55) 1.2px, transparent 2px),
    radial-gradient(circle at 62% 58%, rgba(240,233,223,0.3) 1px, transparent 1.7px),
    radial-gradient(circle at 78% 28%, rgba(240,233,223,0.45) 1px, transparent 1.8px),
    radial-gradient(circle at 91% 80%, rgba(255,197,107,0.45) 1.2px, transparent 2px),
    radial-gradient(circle at 55% 88%, rgba(240,233,223,0.3) 1px, transparent 1.6px),
    radial-gradient(circle at 15% 52%, rgba(240,233,223,0.35) 1px, transparent 1.7px);
}
.app-hero__inner {
  position: relative;
  width: min(90%, 900px); margin: 0 auto;
  display: grid; gap: 2rem; align-items: center;
}
.app-hero__eyebrow {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; color: var(--oh-gold); margin-bottom: 0.75rem;
}
.app-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.05;
  font-variation-settings: 'WONK' 1, 'SOFT' 0;
  margin-bottom: 1rem;
}
.app-hero__text {
  color: var(--muted); max-width: 540px; line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* App-Symbol: ausgeblendet, bis appIcon in js/orbit-hop-config.js gesetzt ist */
.app-icon {
  width: 160px; height: 160px; margin: 0 auto;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,197,107,0.25), transparent 60%),
    linear-gradient(145deg, #1f1b4a, var(--oh-night));
  border: 1px solid rgba(255,197,107,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.app-icon::before {
  content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px solid rgba(255,197,107,0.4);
  transform: rotateX(62deg);
}
.app-icon::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe3a8, var(--oh-gold) 55%, var(--oh-gold-deep));
  box-shadow: 0 0 18px rgba(255,197,107,0.7);
  top: 38px; left: 50%; margin-left: 30px;
}
.app-icon__label {
  position: relative; z-index: 1;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(240,233,223,0.6); text-align: center; line-height: 1.5;
  padding: 0 1rem; margin-top: 56px;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Store-Buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.25rem 0.7rem 1rem; border-radius: 12px;
  background: rgba(11,9,32,0.85); border: 1.5px solid rgba(255,197,107,0.55);
  color: var(--text-light); line-height: 1.15;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--oh-gold); background: rgba(255,197,107,0.08); }
.store-btn:focus-visible { outline: 2px solid var(--oh-gold); outline-offset: 3px; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; fill: var(--oh-gold); }
/* Offizielles Apple-Badge (SVG aus js/orbit-hop-config.js): unverändert, ohne eigenen Rahmen */
.store-btn--badge { padding: 0; border: none; background: none; border-radius: 0; }
.store-btn--badge:hover { background: none; }
.store-btn--badge img { display: block; height: 48px; width: auto; }
.store-btn__small { display: block; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.store-btn__big { display: block; font-size: 1.05rem; font-weight: 600; }
.store-pending {
  font-size: 0.9rem; color: var(--muted);
  padding: 0.6rem 1rem; border: 1px dashed rgba(255,197,107,0.45); border-radius: 12px;
}

@media (min-width: 768px) {
  .app-hero__inner--icon { grid-template-columns: 200px 1fr; gap: 3rem; }
  .app-hero__inner--icon .app-icon { margin: 0; }
}

/* ===== Sektionen ===== */
.app-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.app-section--sand { background: var(--bg-sand); }
.app-section--night { background: var(--oh-night); color: var(--text-light); }
.app-section__inner { width: min(90%, 900px); margin: 0 auto; }
.app-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2;
  color: var(--bg-dark); margin-bottom: 0.5rem;
  font-variation-settings: normal;
}
.app-section--night h2 { color: var(--text-light); }
.app-section__lead { color: var(--text-muted); max-width: 600px; margin-bottom: 2rem; }
.app-section--night .app-section__lead { color: var(--muted); }
.app-section p { margin-bottom: 0.75rem; }
.app-section a:not(.btn):not(.store-btn) {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.app-section a:not(.btn):not(.store-btn):hover { color: var(--bg-dark); }
.app-section--night a:not(.btn):not(.store-btn) { color: var(--oh-gold); }
.app-section--night a:not(.btn):not(.store-btn):hover { color: var(--text-light); }

/* Modi / Merkmale */
.app-features { display: grid; gap: 1rem; margin-top: 1.5rem; }
.app-feature {
  background: #fff; border-radius: var(--radius); padding: 1.25rem 1.4rem;
  border-top: 3px solid var(--oh-gold); box-shadow: var(--shadow);
}
.app-feature h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--bg-dark); margin-bottom: 0.3rem; line-height: 1.3;
}
.app-feature p { color: #5a4d42; font-size: 0.95rem; line-height: 1.6; margin: 0; }
@media (min-width: 768px) { .app-features { grid-template-columns: repeat(3, 1fr); } }

/* Screenshots im Handy-Format: ausgeblendet, bis screenshots in js/orbit-hop-config.js eingetragen sind */
.app-shots {
  display: grid; gap: 1rem; margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.app-shot {
  aspect-ratio: 9 / 19.5; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,197,107,0.18), transparent 55%),
    linear-gradient(180deg, #1f1b4a, var(--oh-night));
  border: 1px solid rgba(255,197,107,0.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,233,223,0.6); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}
.app-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FAQ als details/summary: ohne JavaScript bedienbar */
.faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.faq details {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  font-weight: 600; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform var(--transition); margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: var(--radius); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: #5a4d42; line-height: 1.65; }
.faq__answer p:last-child { margin-bottom: 0; }

/* Support: Kontaktwege + Formular */
.support-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .support-grid { grid-template-columns: 1fr 1.3fr; } }
.support-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.support-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--bg-dark); margin-bottom: 0.5rem;
}
.support-card p { color: #5a4d42; font-size: 0.95rem; line-height: 1.6; }
.support-card ul { list-style: none; margin: 0.75rem 0 0; }
.support-card li { padding-left: 1.1rem; position: relative; margin-bottom: 0.4rem; color: #5a4d42; font-size: 0.95rem; }
.support-card li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

.support-form { display: flex; flex-direction: column; gap: 1rem; }
.support-form__group { display: flex; flex-direction: column; gap: 0.35rem; }
.support-form__label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.support-form__field {
  width: 100%; padding: 0.85rem 1.1rem;
  background: var(--bg-light); border: 2px solid var(--bg-sand);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 1rem; color: var(--text-dark); outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.support-form__field::placeholder { color: rgba(44,34,24,0.45); }
.support-form__field:focus { border-color: var(--accent); background: #fff; }
.support-form__field:invalid:not(:placeholder-shown) { border-color: #c44a3a; }
.support-form textarea.support-form__field { min-height: 130px; resize: vertical; }
.support-form__tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--oh-night);
  background: rgba(255,197,107,0.35); border-radius: 20px; padding: 0.3rem 0.75rem;
  margin-bottom: 0.25rem;
}
.support-form__note { font-size: 0.875rem; color: #5a4d42; line-height: 1.5; }
.support-form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.support-form .btn { align-self: flex-start; }
.contact-form__error {
  background: rgba(196,74,58,0.1); border: 1px solid rgba(196,74,58,0.5);
  color: #7a2820; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.9rem;
}
.contact-form__error a { color: #7a2820; font-weight: 600; text-decoration: underline; }
.contact-form__success { padding: 1rem 0; color: var(--text-dark); font-weight: 600; font-size: 1.05rem; }
.contact-form__success span { display: block; font-weight: 400; font-size: 0.95rem; margin-top: 0.4rem; color: #5a4d42; }

/* Rechtliche Links */
.legal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; }
.legal-links a { display: inline-block; padding: 0.5rem 0; }

/* Englischer Abschnitt */
.app-section--en { border-top: 2px solid var(--oh-gold); }

@media (max-width: 767px) {
  .store-buttons .store-btn { width: 100%; justify-content: center; }
  .support-form .btn { align-self: stretch; justify-content: center; }
}
