/* iPhone and iPad apps: /apps, /apps/<slug>, /apps/datenschutz and their English twins.
   Same black and the same light type as /programme; each app page glows in --accent, the
   strongest colour of its icon. No script, no font from elsewhere. */

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

:root {
    --bg: #0a0a0a;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.13);
    --text: #f4f4f4;
    --muted: rgba(255, 255, 255, 0.72);
    --soft: rgba(255, 255, 255, 0.5);
    --accent: #c9d4e0;
    color-scheme: dark;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(180deg, #0d0d0d 0%, var(--bg) 45%, #050505 100%);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: #fff; color: #000; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---- bar ---- */
.bar {
    width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 0;
    display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.bar__brand { text-decoration: none; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.bar__nav { display: flex; gap: 26px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.bar__nav a { text-decoration: none; color: var(--soft); transition: color 0.2s ease; }
.bar__nav a:hover, .bar__nav a:focus-visible, .bar__nav a[aria-current] { color: #fff; }
.bar__lang { padding-left: 26px; border-left: 1px solid var(--line); }

/* ---- page ---- */
.page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; position: relative; }
.page::before {   /* the glow of the app's colour behind the hero */
    content: ""; position: absolute; z-index: -1; top: -120px; right: -18%; width: 760px; height: 760px; max-width: 120vw;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%);
    pointer-events: none;
}
.page--text { max-width: 820px; }
.page--text::before { opacity: 0.4; }

.crumbs { padding-top: 46px; font-size: 12px; color: var(--soft); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

.kicker { color: var(--soft); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 64px; align-items: center; padding: 56px 0 64px; }
.hero__brand { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.hero__brand .kicker { line-height: 2; }
.icon { border-radius: 22.5%; box-shadow: 0 18px 50px -12px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 0 1px rgba(255,255,255,0.08); }
.icon--small { width: 64px; height: 64px; box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 1px rgba(255,255,255,0.08); }

h1 { font-weight: 280; letter-spacing: -0.04em; line-height: 1; }
.hero__name { display: block; font-size: clamp(3rem, 7vw, 5.8rem); }
.hero__claim { display: block; margin-top: 22px; max-width: 20em; font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 350; letter-spacing: -0.015em; line-height: 1.3; color: var(--accent); }
.text-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 34px 0 10px; line-height: 1.08; }
.lead { margin-top: 26px; max-width: 36em; font-size: 1.12rem; color: var(--muted); }

.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.hero__price { font-size: 0.86rem; line-height: 1.6; color: var(--soft); }

.button {
    display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
    background: var(--accent); color: #0a0a0a; font-weight: 600; font-size: 0.98rem; text-decoration: none;
    box-shadow: 0 14px 40px -14px var(--accent); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.button:hover, a.button:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 46px -14px var(--accent); }
.button--soon { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: none; font-weight: 500; }
.button--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 500; }
a.button--ghost:hover, a.button--ghost:focus-visible { border-color: var(--accent); box-shadow: none; }

/* hub hero: headline left, the icons of all apps as a dock */
.hero--hub { grid-template-columns: minmax(0, 1fr); gap: 46px; padding: 70px 0 30px; }
.hub-title { font-size: clamp(2.8rem, 6.6vw, 5.4rem); margin: 0 0 8px; line-height: 1.02; max-width: 12em; }
.dock {
    list-style: none; display: inline-flex; flex-wrap: wrap; gap: 16px; padding: 16px; width: fit-content; max-width: 100%;
    border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.dock a { display: block; transition: transform 0.25s ease; }
.dock a:hover, .dock a:focus-visible { transform: translateY(-6px) scale(1.06); }
.dock .icon { width: 76px; height: 76px; }

/* ---- phone ---- */
.phone {
    width: 270px; max-width: 62vw; flex: none; padding: 7px; border-radius: 44px;
    background: linear-gradient(160deg, #2a2a2d, #101012); box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 40px 80px -30px rgba(0,0,0,0.9);
}
.phone img { width: 100%; border-radius: 37px; background: #000; }
.phone--wide { width: 560px; max-width: 86vw; border-radius: 34px; }
.phone--wide img { border-radius: 27px; }
.phone--hero { justify-self: center; width: 310px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 50px 120px -30px color-mix(in srgb, var(--accent) 50%, #000); }
.phone--hero.phone--wide { width: 100%; }
.phone figcaption { padding: 16px 10px 10px; text-align: center; font-size: 0.9rem; line-height: 1.4; color: var(--muted); }

.strip {
    display: flex; gap: 28px; align-items: flex-start; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 8px 4px 26px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-overflow-scrolling: touch;
}
.strip .phone { scroll-snap-align: center; }
.strip:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; border-radius: 20px; }

/* ---- jump navigation ---- */
.jump {
    position: sticky; top: 12px; z-index: 10; display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 5px;
    overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line);
    background: rgba(18, 18, 20, 0.72); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px -20px #000;
}
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 9px 18px; border-radius: 999px; font-size: 0.86rem; color: var(--muted); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.jump a:hover, .jump a:focus-visible { background: color-mix(in srgb, var(--accent) 18%, transparent); color: #fff; }

/* ---- blocks ---- */
.block { padding: 84px 0 0; scroll-margin-top: 70px; }
.block h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 32px; }
.block h2::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }
.block h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.block p { color: var(--muted); max-width: 46em; }
.block p + p, .block ul + p, .block p + ul { margin-top: 14px; }
.quiet { color: var(--soft) !important; font-size: 0.92rem; }
.note { margin-top: 26px !important; padding-left: 18px; border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.link { color: var(--accent); text-decoration: none; }
.link:hover, .link:focus-visible { text-decoration: underline; }
address { font-style: normal; color: var(--muted); margin-bottom: 18px; }

.glass {
    padding: 28px 30px; border-radius: 28px; border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}
.glass--wide { max-width: 860px; }
.glass h3 { margin-bottom: 8px; }
.glass h3 a { text-decoration: none; }
.glass h3 a:hover { color: var(--accent); }
.glass--wide + .glass--wide { margin-top: 14px; }
.anchor { scroll-margin-top: 24px; }
.anchor:target { border-color: var(--accent); }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.use__number { display: block; margin-bottom: 18px; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--accent); font-variant-numeric: tabular-nums; }

.checks { list-style: none; }
.checks li { position: relative; padding: 13px 0 13px 34px; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.07); break-inside: avoid; }
.checks li:first-child { border-top: 0; }
.checks li::before {   /* a check mark drawn from two borders */
    content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 6px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.checks--columns { columns: 2; column-gap: 64px; max-width: 1100px; }
.checks--columns li, .checks--columns li:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.features--plain { list-style: none; max-width: 860px; }
.features--plain li { padding: 12px 0; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.07); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: stretch; scroll-margin-top: 70px; }
.plan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan__head h3 { margin: 0; }
.plan__price { font-size: 1.7rem; font-weight: 300; letter-spacing: -0.03em; color: var(--text) !important; white-space: nowrap; }
.plan--paid { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255,255,255,0.02)); }
.plan--paid .plan__price { color: var(--accent) !important; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.chips li { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.84rem; color: var(--muted); background: rgba(255,255,255,0.04); }

.block--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr); gap: 40px; align-items: start; }
.support { position: sticky; top: 84px; }
.support h2 { font-size: 1.3rem !important; margin-bottom: 14px !important; }
.support h2::before { display: none; }
.support .button { margin-top: 8px; }

.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform 0.2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { margin: 0; }
.faq details p { margin-top: 14px; }
.faq summary:focus-visible { outline: 1px solid var(--accent); outline-offset: 8px; border-radius: 10px; }

/* ---- cards and tiles ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-bottom: 22px; }
.card {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; border: 1px solid var(--line);
    background: var(--panel); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover, .card:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.card__icon { width: 56px; height: 56px; border-radius: 22.5%; flex: none; }
.card__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.card__text span { color: var(--soft); font-size: 0.88rem; }
.card__go { margin-left: auto; color: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 18px; }
.tile {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 10px; min-height: 300px; overflow: hidden;
    border-radius: 32px; border: 1px solid var(--line); text-decoration: none;
    background: radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--panel);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.tile:hover, .tile:focus-visible { border-color: var(--accent); transform: translateY(-3px); }
.tile__copy { display: flex; flex-direction: column; gap: 18px; padding: 30px 0 28px 30px; }
.tile__head { display: flex; gap: 18px; align-items: center; }
.tile__head > span { display: flex; flex-direction: column; line-height: 1.3; }
.tile__head strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.tile__head span span { color: var(--accent); font-size: 0.92rem; }
.tile__promo { color: var(--muted); font-size: 0.98rem; }
.tile__price { margin-top: auto; color: var(--soft); font-size: 0.82rem; }
.tile__peek { position: relative; }
.tile__peek img {   /* the top of the phone looks over the lower edge of the tile */
    position: absolute; top: 34px; left: 4px; width: 172px; max-width: none; height: auto; padding: 5px; border-radius: 30px;
    background: linear-gradient(160deg, #2a2a2d, #101012); box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 30px 60px -20px #000;
    transform: rotate(4deg); transform-origin: top left; transition: transform 0.35s ease;
}
.tile:hover .tile__peek img, .tile:focus-visible .tile__peek img { transform: rotate(2deg) translateY(-10px); }

/* ---- the instrument: a wide block that leads to tone-field.de ---- */
.feature {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; overflow: hidden;
    padding: 34px 0 34px 34px; border-radius: 32px; border: 1px solid var(--line); text-decoration: none;
    background: radial-gradient(circle at 100% 50%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%), var(--panel);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover, .feature:focus-visible { border-color: var(--accent); transform: translateY(-3px); }
.feature__copy { display: flex; flex-direction: column; gap: 18px; }
.feature__head { display: flex; gap: 18px; align-items: center; }
.feature__head > span { display: flex; flex-direction: column; line-height: 1.3; }
.feature__head strong { font-size: 1.7rem; font-weight: 400; letter-spacing: -0.03em; }
.feature__head span span { color: var(--accent); font-size: 0.95rem; }
.feature__text { color: var(--muted); max-width: 34em; }
.feature__link { color: var(--accent); font-weight: 500; }
.feature__shot {
    width: 100%; max-width: none; padding: 6px; border-radius: 30px 0 0 30px; margin-right: -2px;
    background: linear-gradient(160deg, #2a2a2d, #101012); box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 30px 70px -24px #000;
}
.feature__shot { border-radius: 26px 0 0 26px; }
@media (max-width: 900px) {
    .feature { grid-template-columns: 1fr; padding: 26px 0 0 26px; gap: 26px; }
    .feature__copy { padding-right: 26px; }
}

/* ---- foot ---- */
.foot {
    width: min(1240px, calc(100% - 48px)); margin: 100px auto 0; padding: 30px 0 46px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; color: var(--soft);
}
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover, .foot a:focus-visible { color: #fff; }

/* the page arrives quietly; only the position moves, so the text is there from the first frame
   for anything that renders the page without running animations */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.hero__copy > *, .phone--hero, .dock { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.phone--hero, .dock { animation-delay: 0.2s; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 46px; }
    .phone--hero { width: 260px; }
    .hero__brand { margin-bottom: 26px; }
    .hero__brand .icon { width: 84px; height: 84px; }
    .checks--columns { columns: 1; }
    .block--split { grid-template-columns: 1fr; }
    .support { position: static; }
    .block { padding-top: 64px; }
    .jump { margin: 0; }
}
@media (max-width: 560px) {
    .bar, .page, .foot { width: calc(100% - 36px); }
    .bar__nav { gap: 16px; }
    .bar__lang { padding-left: 16px; }
    .uses, .cards, .plans { grid-template-columns: 1fr; }
    .glass { padding: 22px; border-radius: 22px; }
    .tile { grid-template-columns: minmax(0, 1fr) 120px; min-height: 0; border-radius: 26px; }
    .tile__copy { padding: 22px 0 22px 22px; }
    .tile__peek img { width: 130px; top: 40px; border-radius: 24px; }
    /* eight icons: two even rows of four */
    .dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 14px; border-radius: 28px; width: 100%; max-width: 340px; }
    .dock .icon { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}
