/*!
 * StudioTask Website – © Fabian Isensee | studiotask.de
 */
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --dark: #404348; --dark-2: #34373b; --light: #ebebeb; --white: #fff;
  --accent: #9fd4ff; --accent-h: #84c6fb; --on-accent: #0f2a40; --accent-t: #1c6db0;
  --bg: #ffffff; --bg-alt: #f4f4f4; --text: #2f3135; --text-2: #5c5f65; --muted: #8b8e94; --border: #e2e2e3;
  --card: #ffffff; --shadow: 0 30px 70px -30px rgba(30, 32, 36, .45), 0 6px 18px rgba(30, 32, 36, .08);
  --font: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.center { text-align: center; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); color: var(--text); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { text-decoration: none; }
.pill { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 19px; line-height: 1; padding: 7px 10px 8px; border-radius: 3px; letter-spacing: -.01em; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 15px; color: var(--text-2); }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 9px; transition: background .15s, transform .15s; white-space: nowrap; }
.btn-lg { font-size: 16.5px; padding: 14px 24px; border-radius: 10px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-link { color: inherit; padding-left: 4px; padding-right: 4px; }
.btn-link:hover .i { transform: translateX(3px); }
.btn-link .i { transition: transform .15s; width: 18px; height: 18px; }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost-d { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-d:hover { border-color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%); color: var(--text); padding: 72px 0 0; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-txt { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; font-weight: 600; color: var(--accent-t); margin: 0 0 14px; }
.hero .eyebrow { color: var(--accent-t); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 600; }
.hl { color: var(--text); background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); margin: 22px 0 30px; max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--text-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .i { color: var(--accent-t); width: 18px; height: 18px; stroke-width: 2.4; }
.shot { margin: 0; }
.shot img { border-radius: 0 0 12px 12px; }
.frame { display: flex; gap: 7px; padding: 12px 14px; background: #dcdcde; border-radius: 12px 12px 0 0; }
.frame span { width: 11px; height: 11px; border-radius: 50%; background: #b9babd; }
.hero-shot { box-shadow: var(--shadow); border-radius: 12px; margin-bottom: -1px; transform: translateY(0); }
.hero-shot img, .hero-shot .frame { }
.hero-shot { border-radius: 12px 12px 0 0; }
.hero-shot img { border-radius: 0; }

/* Sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg-alt); }
.sec-h { font-size: clamp(30px, 4vw, 44px); font-weight: 600; text-align: center; }
.sec-sub { text-align: center; color: var(--text-2); max-width: 680px; margin: 14px auto 48px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.feat .i { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent); color: var(--on-accent); stroke-width: 1.9; }
.feat h3 { font-size: 18.5px; margin: 16px 0 6px; font-weight: 600; }
.feat p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.split { background: var(--bg-alt); color: var(--text); }
.split-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; margin-bottom: 18px; }
.hl-d { color: var(--accent-t); }
.split p { font-size: 18px; color: inherit; opacity: .85; margin: 0 0 22px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 32px; }
.list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.phone { justify-self: center; width: min(340px, 100%); border: 10px solid #fff; border-radius: 38px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--border); background: #fff; }
.phone img { border-radius: 28px; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; }

.wide { box-shadow: var(--shadow); border-radius: 12px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; box-shadow: 0 14px 34px -16px rgba(30, 32, 36, .4); border: 1px solid var(--border); }
.gallery figcaption { font-size: 14.5px; color: var(--text-2); margin-top: 12px; text-align: center; }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: var(--card); }
.role p { margin: 12px 0 0; color: var(--text-2); font-size: 15.5px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 12px; background: var(--bg-alt); color: var(--text-2); }
.t-admin { background: var(--dark); color: #fff; }
.t-pm { background: var(--accent); color: var(--on-accent); }
.t-ext { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.note { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 32px auto 0; color: var(--text-2); max-width: 720px; text-align: left; }
.note .i { color: var(--accent-t); width: 24px; height: 24px; }

.price { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 36px 40px; margin-top: 40px; }
.price h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.price p:not(.eyebrow) { margin: 0; color: var(--text-2); max-width: 620px; }
.price-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.price-cta .btn { justify-content: center; }

.final { background: var(--light); color: var(--text); padding: 96px 0; }
.final h2 { font-size: clamp(32px, 4.5vw, 50px); font-weight: 600; }
.final p { color: var(--text-2); max-width: 640px; margin: 16px auto 32px; font-size: 18px; }
.center-cta { justify-content: center; }

.foot { background: #fff; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Rechtstexte */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; font-weight: 600; margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p { margin: 0 0 12px; color: var(--text-2); }
.todo { background: #fff3c4; color: #5a4600; border-radius: 4px; padding: 0 4px; }

/* Responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .split-in { grid-template-columns: 1fr; gap: 44px; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec, .final { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .grid, .roles, .gallery { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; padding: 26px 22px; }
  .sec-sub { margin-bottom: 32px; }
  .foot-in { justify-content: center; text-align: center; }
  .note { align-items: flex-start; }
}

/* ---------- Datenschutz & Kontakt (Aufbau nach teamous-Vorbild) ---------- */
.privacy { list-style: none; padding: 0; margin: 0 auto 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; max-width: 980px; }
.privacy li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.privacy .i { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--accent); color: var(--on-accent); margin-top: 1px; }
.privacy b { color: var(--text); font-weight: 600; }
.final .mail { margin: 18px auto 0; font-size: 16px; }
.final .mail a { color: var(--accent-t); font-weight: 600; text-decoration: none; }
.final .mail a:hover { text-decoration: underline; }
@media (max-width: 640px) { .privacy { grid-template-columns: 1fr; } }
