/* PhotoDelete Landingpage */

:root {
  --bg: #000;
  --bg-2: #0a0a0c;
  --card: #111215;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --blue: #2997ff;
  --cta: #0a84ff;
  --green: #59c785;
  --container: 1120px;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
.muted { color: var(--text-3); }
.ic { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* Buttons und Badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 34px; padding: 0 15px; font-size: 14px; }
.btn-blue { background: var(--cta); color: #fff; }
.btn-blue:hover { background: #2a95ff; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.badge { display: inline-block; transition: transform .25s var(--ease); }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 52px; width: auto; display: block; }
.badge-ios img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav { display: none; gap: 28px; margin-left: 10px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 14px; transition: color .2s; }
.nav a:hover { color: #fff; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
html.is-android .hdr-cta { display: none; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { width: 15px; height: 15px; }
.lang summary .caret { width: 11px; height: 11px; transition: transform .2s; }
.lang[open] summary .caret { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px;
  background: #1c1c1e; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: rgba(255, 255, 255, .08); }
.lang li a[aria-current] { color: var(--blue); }

/* iPhone-Rahmen mit echtem Screenshot */
.device {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .17);
  background: #050506;
  box-shadow:
    inset 0 0 0 calc(var(--w) * .0075) #6b6c71,
    inset 0 0 0 calc(var(--w) * .013) #2a2b2f,
    inset 0 0 0 calc(var(--w) * .017) #121214,
    0 calc(var(--w) * .12) calc(var(--w) * .22) calc(var(--w) * -.06) rgba(0, 0, 0, .85);
}
.device::before, .device::after {
  content: ""; position: absolute; width: calc(var(--w) * .012); border-radius: 2px;
  background: linear-gradient(90deg, #3a3b40, #77787d, #3a3b40);
}
.device::before { left: calc(var(--w) * -.009); top: 18%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 #55565b; }
.device::after { right: calc(var(--w) * -.009); top: 24%; height: 13%; }
.screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .135); background: #000; }
.screen img { width: 100%; height: auto; }
.screen .swap-b { position: absolute; inset: 0; animation: swapfade 7s ease-in-out infinite; }
@keyframes swapfade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.island {
  position: absolute; left: 50%; top: calc(var(--w) * .055); transform: translateX(-50%);
  width: 29%; height: calc(var(--w) * .085); border-radius: 999px; background: #000;
}

/* Hero */
.hero { position: relative; padding: 44px 0 0; text-align: center; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-cta .rating { margin-top: 10px; gap: 6px; font-size: 13px; }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.h1-name { font-size: clamp(3rem, 13vw, 6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: #fff; }
.h1-tag { font-size: clamp(1.45rem, 5.4vw, 2.4rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; color: #d1d1d6; text-wrap: balance; }
.nw { white-space: nowrap; }
.lead { margin: 18px auto 28px; max-width: 34em; font-size: clamp(1.02rem, 2.3vw, 1.2rem); line-height: 1.5; color: var(--text-2); }
.hero-cta .badge img { height: 62px; }
.cta-ios { display: flex; flex-direction: column; align-items: center; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.stars { display: inline-flex; gap: 2px; color: #ffb340; }
.stars .ic { width: 14px; height: 14px; }
.star-part { position: relative; display: inline-block; line-height: 0; }
.star-part > .ic { color: rgba(255, 255, 255, .22); }
.star-fill { position: absolute; left: 0; top: 0; width: var(--p); height: 100%; overflow: hidden; color: #ffb340; }
.star-fill .ic { max-width: none; }

.stage { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 40px; padding-bottom: 8px; }
.stage .device.center { --w: 214px; z-index: 2; }
/* Am Handy so weit auseinander, dass der Titel des rechten Screens ganz lesbar ist */
.stage { --s: 1; --off: min(50vw - 62px, 140px); --rot: 7deg; }
.stage .device.side { --w: 178px; position: absolute; top: 34px; left: 50%; will-change: transform; }
.stage .side-l { transform: translateX(calc(-50% - var(--off) * (.55 + .45 * var(--s)))) rotate(calc(var(--rot) * -1 * (.4 + .6 * var(--s)))); }
.stage .side-r { transform: translateX(calc(-50% + var(--off) * (.55 + .45 * var(--s)))) rotate(calc(var(--rot) * (.4 + .6 * var(--s)))); }


/* Funktionsabschnitte */
.feat { padding: 52px 0; }
.feat-grid { display: grid; gap: 40px; align-items: center; }
.feat-copy { text-align: center; }
.feat-copy .feat-text { margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #e6c275; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.feat h2, .statement h2, .sec-head h2, .reviews-head h2 { font-size: clamp(2rem, 7vw, 3.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.feat-text { margin-top: 16px; font-size: clamp(1.03rem, 2vw, 1.15rem); color: var(--text-2); line-height: 1.55; max-width: 32em; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag-pro { background: linear-gradient(135deg, #e6c275, #a8854a); color: #281c08; }
.tag-free { background: rgba(89, 199, 133, .16); color: var(--green); }

.screen-video { display: block; width: 100%; height: auto; background: #000; }
.video-poster { display: block; }
.video-poster + .screen-video { position: absolute; inset: 0; height: 100%; object-fit: cover; background: transparent; opacity: 0; transition: opacity .2s; }
.video-poster + .screen-video.is-playing, html.no-js .video-poster + .screen-video { opacity: 1; }

.feat-media { display: flex; justify-content: center; }
.feat-media .device { --w: 240px; }
.steps { display: grid; margin: 22px auto 0; max-width: 30em; }
.steps li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps h3 { font-size: 17px; font-weight: 650; margin-bottom: 4px; }
.step-n { color: #e6c275; font-variant-numeric: tabular-nums; }
.steps p { font-size: 15px; color: var(--text-2); }

/* Oberes Drittel des Startbildschirms */
.device-top { height: calc(var(--w) * 1.4); overflow: hidden; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.device-top::before, .device-top::after { display: none; }

/* Noch mehr */

.more-list { display: grid; gap: 36px; }
.more-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.more-ic { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--c); color: #000; }
.more-ic .ic { width: 24px; height: 24px; }
.more-list h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 6px; }
.more-list p { color: var(--text-2); font-size: 16px; max-width: 24em; margin: 0 auto; }


/* Sicherheit */
.statement { padding: 56px 0; text-align: center; }
.statement h2 { max-width: 15em; margin: 0 auto; }
.statement-sub { margin-top: 18px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-2); }
.privacy-card {
  max-width: 640px; margin: 0 auto; padding: 44px 22px 18px; border-radius: 28px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(89, 199, 133, .16), rgba(89, 199, 133, 0) 62%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.privacy-badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(89, 199, 133, .14); color: var(--green); box-shadow: 0 0 40px rgba(89, 199, 133, .25); }
.privacy-badge .ic { width: 30px; height: 30px; }
.privacy-card h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.checks { margin: 30px auto 0; max-width: 30em; text-align: left; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 18px 4px; }
.checks li + li { border-top: 1px solid var(--line); }
.ck { width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #04210f; }
.ck .ic { width: 15px; height: 15px; stroke-width: 3; }
.checks h3 { font-size: 17px; font-weight: 650; margin-bottom: 3px; }
.checks p { font-size: 15px; color: var(--text-2); }

/* Animierte Zahlen auf dem Startbildschirm (Positionen bezogen auf 828 x 1792) */
.hv-layer { position: absolute; inset: 0; pointer-events: none; }
.hv { position: absolute; transform: translateY(-.79em); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hv-files, .hv-freed { top: 19.14%; font-size: calc(var(--w) * .0479); font-weight: 700; color: #fff; }
.hv-files { left: 8.575%; }
.hv-freed { left: 55.68%; }
.hv-largest, .hv-dupes, .hv-otd { right: 14.73%; font-size: calc(var(--w) * .0335); font-weight: 600; color: rgba(38, 26, 6, .82); }
.hv-largest { top: 27.96%; }
.hv-dupes { top: 36.61%; }
.hv-otd { top: 44.98%; }
.hm i { position: absolute; display: block; font-style: normal; }
.hm-bar { left: 8.696%; width: 82.61%; height: .67%; border-radius: 999px; overflow: hidden; }
.hm-bar b { display: block; height: 100%; width: 100%; border-radius: inherit; }
.hm-pct { transform: translateY(-.79em); line-height: 1; font-size: calc(var(--w) * .0293); font-weight: 500; color: rgba(0, 0, 0, .62); font-variant-numeric: tabular-nums; }
.hm-strike { left: 8.816%; height: calc(var(--w) * .0036); background: #000; border-radius: 2px; transform-origin: left center; }

/* Bewertungen */
.section { padding: 80px 0; }
.reviews-head, .sec-head { text-align: center; margin-bottom: 36px; }

.score { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.score-n { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stars-lg .ic { width: 22px; height: 22px; }
.score-c { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.carousel { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 16px;
  margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; margin: 0; padding: 20px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.review blockquote { margin: 0; }
.review blockquote p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.review .rv-title { color: var(--text); font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.short { color: var(--text-3); font-size: 13px; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.review figcaption span { color: var(--text-3); font-size: 12.5px; }
.rv-note { font-style: italic; }
.car-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.car-btn:hover { background: rgba(255, 255, 255, .14); }
.car-btn .ic { width: 18px; height: 18px; }
.fineprint { margin: 24px auto 0; max-width: 46em; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq summary .ic { width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 2px 22px; color: var(--text-2); font-size: 16px; }

/* Abschluss */
.final { padding: 96px 0 110px; text-align: center; }
.final-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 0 1px var(--line); }
.final h2 { font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.final p { margin: 16px auto 30px; color: var(--text-2); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 28em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 110px; background: var(--bg-2); }
.foot { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { color: var(--text-2); font-size: 14px; margin: 12px 0; max-width: 26em; }
.foot-rating { font-size: 13px; color: var(--text-2); margin-left: 6px; }
.foot-brand .stars { vertical-align: -2px; }
.foot h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 600; }
.foot ul { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot a { text-decoration: none; color: var(--text-2); }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.foot-bottom p { margin: 0 0 6px; }

/* Sticky-Leiste (iPhone) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px;
  background: rgba(28, 28, 30, .82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta img { border-radius: 10px; }
.st-t { flex: 1; min-width: 0; line-height: 1.25; }
.st-t b { display: block; font-size: 16px; font-weight: 600; }
.st-t > span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.st-t em { font-style: normal; }
.st-t .stars { color: #ffb340; }
.st-t .stars .ic { width: 12px; height: 12px; }
html.is-android .sticky-cta, .is-desktop .sticky-cta { display: none; }

/* Rechtliches und /get */
.legal { padding-top: 48px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal p { color: var(--text-2); margin-bottom: 1em; }
.legal a { color: var(--blue); }
.legal-note { padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; }
.get { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.get img { margin: 0 auto 20px; border-radius: 22px; }
.get h1 { font-size: 2rem; margin-bottom: 12px; }
.get p { margin-bottom: 1em; color: var(--text-2); }
.get .cta-row { margin-top: 20px; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .feat-media.reveal { transition-delay: .1s; }

/* Größere Bildschirme */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .stage .device.center { --w: 250px; }
  .stage .device.side { --w: 212px; top: 40px; }
  .stage { --off: 190px; }
  .track { grid-auto-columns: calc((100% - 14px) / 2); }
  .foot { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { padding-top: 72px; }
  .stage { margin-top: 56px; }
  .stage .device.center { --w: 290px; }
  .stage .device.side { --w: 252px; top: 46px; }
  .stage { --off: 275px; --rot: 5deg; }
  .feat-media .device { --w: 280px; }
  .feat-copy { text-align: left; }
  .feat-copy .feat-text { margin-left: 0; }
  .steps { margin-left: 0; text-align: left; }
  .more-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: none; margin: 0 auto; }
  .privacy-card { padding: 56px 48px 24px; }
  .statement { padding: 88px 0; }
  .feat { padding: 80px 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feat-grid.rev .feat-copy { order: 2; }
  .section { padding: 88px 0; }
  .track { grid-auto-columns: calc((100% - 28px) / 3); padding-left: 0; padding-right: 0; margin: 0; scroll-padding: 0; }
  .site-footer { padding-bottom: 44px; }
}
@media (max-width: 420px) {
  .hdr { gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .lang summary { padding: 0 10px; gap: 4px; }
  .lang summary .ic:not(.caret) { display: none; }
  .badge img { height: 46px; }
  .hero-cta .badge img { height: 56px; }
  .cta-row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
