/* D'Style – Änderungsschneiderei & Stickerei */

/* Schrift Jost (lokal, variabel 100–900) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-latin-var.woff2') format('woff2');
}

:root {
  --white: #fff;
  --tint: #EEF3F8;
  --ink: #14202E;
  --mute: #58687A;
  --navy: #1B3556;
  --navy-hover: #264876;
  --navy-dark: #12253D;
  --logo: #5A7FAB;       /* Blau aus dem Logo */
  --sky: #A9C4E4;        /* helles Blau für dunkle Flächen */
  --line: #E0E8F0;
  --font: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --gap: clamp(56px, 6vw, 80px);   /* einheitlicher Abschnittsabstand */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -.015em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 2px solid var(--logo); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: top .15s; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-block; cursor: pointer; background: var(--navy); color: #fff; border: 1.5px solid var(--navy); padding: 13px 28px; border-radius: 999px; font: 500 16px/1.3 var(--font); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--tint); border-color: var(--tint); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.nav a:not(.nav__call) { position: relative; padding: 4px 0; }
.nav a:not(.nav__call)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--logo); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.nav__call):hover::after { transform: scaleX(1); }
.nav__call { background: var(--navy); color: #fff; padding: 8px 22px; border-radius: 999px; transition: background .2s; }
.nav__call:hover { background: var(--navy-hover); }

/* Hero – Text direkt im Bild */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 780px); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(27, 53, 86, .94) 0%, rgba(27, 53, 86, .78) 36%, rgba(27, 53, 86, .18) 68%, rgba(27, 53, 86, 0) 100%); }
.hero__in { padding-top: 96px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero__text { max-width: 560px; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 500; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 24px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero__lead { max-width: 480px; font-size: 1.15rem; color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.hero__tag { display: inline-block; margin-top: 26px; font-size: .95rem; font-weight: 500; color: #fff; padding-left: 14px; border-left: 2px solid var(--sky); transition: color .2s; }
.hero__tag:hover { color: var(--sky); }

/* Sections */
.section { padding: var(--gap) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.head { margin-bottom: 36px; }
.label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--logo); font-weight: 500; margin-bottom: 16px; }
.section--navy .label { color: var(--sky); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.lead { color: var(--mute); font-size: 1.1rem; max-width: 440px; margin-top: 16px; }
.section--navy .lead { color: rgba(255, 255, 255, .78); }

/* Leistungen */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lcard { position: relative; aspect-ratio: 4 / 3.2; border-radius: 8px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.lcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.lcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 37, 61, .92) 0%, rgba(18, 37, 61, .55) 42%, rgba(18, 37, 61, 0) 75%); }
.lcard:hover img { transform: scale(1.04); }
.lcard__body { padding: 32px; }
.lcard h3 { font-size: 2rem; margin-bottom: 14px; }
.lcard__link { display: inline-block; font-weight: 500; font-size: 1rem; border-bottom: 1.5px solid var(--sky); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.lcard__link:hover, .lcard:hover .lcard__link { color: var(--sky); border-color: var(--sky); }
.lcard__link::after { content: ''; position: absolute; inset: 0; }

/* Preise */
.pbox { background: #fff; border-radius: 8px; padding: 36px 36px 32px; box-shadow: 0 1px 0 var(--line); }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 80px); row-gap: 32px; align-items: start; }
.pgrid .pbox { grid-row: 1 / 3; }
.tabs-wrap { position: relative; margin-bottom: 28px; }
.tabs { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; cursor: pointer; font: 500 15px/1.2 var(--font); padding: 9px 13px; border-radius: 999px; border: 1.5px solid #CBD9EA; background: transparent; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel h3 { font-size: 1.6rem; margin-bottom: 8px; }
.js .panel { display: none; }
.js .panel.is-on { display: block; animation: fadeIn .3s ease; }
html:not(.js) .panel { margin-bottom: 36px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.prices li { display: flex; align-items: baseline; padding: 13px 0; font-size: 1.08rem; }
.prices li + li { border-top: 1px solid var(--line); }
.prices span { flex: 1; display: flex; align-items: baseline; }
.prices span::after { content: ''; flex: 1; margin: 0 12px; border-bottom: 1.5px dotted #B7C8DC; transform: translateY(-4px); }
.prices b { font-weight: 500; color: var(--navy); font-size: 1.15rem; white-space: nowrap; }
.pbox__note { margin-top: 22px; color: var(--mute); font-size: .95rem; }

.express { background: var(--navy); color: #fff; border-radius: 8px; padding: 30px 30px 28px; }
.express__pill { display: inline-block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--navy); background: var(--sky); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.express__big { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 12px; }
.express p:not(.express__pill):not(.express__big) { color: rgba(255, 255, 255, .84); font-size: 1rem; margin-bottom: 22px; }
.facts { display: grid; gap: 26px; padding-top: 4px; }
.facts h3 { font-size: 1.15rem; margin-bottom: 6px; padding-top: 14px; border-top: 2px solid var(--logo); }
.facts p { color: var(--mute); font-size: 1rem; }

/* Stickerei */
.stitch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.stitch article { padding-top: 22px; background-image: linear-gradient(90deg, var(--logo) 55%, transparent 55%); background-size: 14px 2px; background-repeat: repeat-x; background-position: 0 0; }
.stitch h3 { font-size: 1.3rem; margin-bottom: 8px; }
.stitch p { color: var(--mute); font-size: 1.02rem; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 64px; padding: 36px 40px; background: var(--tint); border-radius: 8px; }
.ask__big { font-size: 1.7rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 6px; }
.ask p:not(.ask__big) { color: var(--mute); max-width: 520px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 88px); align-items: start; }
.phone { display: inline-block; margin: 34px 0 22px; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.phone:hover { color: var(--sky); }
.details { margin-top: 40px; }
.details > div { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.details dt { flex: 0 0 130px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 500; padding-top: 5px; }
.details dd { flex: 1; font-size: 1.05rem; }
.details a:hover { color: var(--sky); }
.map { height: 400px; border-radius: 8px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; border: 6px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--ph { background: var(--tint); }
.map__ph { color: var(--ink); text-align: center; padding: 28px 26px; max-width: 440px; }
.map__addr { font-size: 1.25rem; font-weight: 500; line-height: 1.35; margin-bottom: 22px; }
.map__ph .btn:disabled { opacity: .7; cursor: default; }
.map__note { color: var(--mute); font-size: .88rem; line-height: 1.5; margin-top: 18px; }
.map__note a { color: var(--navy); border-bottom: 1px solid var(--logo); }
.map__credit { margin-top: 10px; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.map__credit a { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.map__credit a:hover { color: #fff; }
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.route a { text-align: center; padding: 13px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); font-weight: 500; font-size: 15px; transition: background .2s, border-color .2s; }
.route a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .7); font-size: .9rem; padding: 26px 0; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__links { display: flex; gap: 24px; }
.footer a:hover { color: #fff; }

/* Rechtliche Seiten (Impressum, Datenschutz) und 404 */
.legal { padding: clamp(40px, 5vw, 64px) 0 var(--gap); }
.legal .wrap { max-width: 820px; }
.legal .label { margin-bottom: 14px; }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.legal__intro { color: var(--mute); font-size: 1.05rem; max-width: 620px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; font-weight: 500; margin: 24px 0 4px; letter-spacing: 0; }
.legal p, .legal li { font-size: 1.02rem; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 1.3em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { color: var(--navy); border-bottom: 1px solid var(--sky); transition: border-color .2s; }
.legal a:not(.btn):hover { border-color: var(--navy); }
.legal .facts-list > div { display: flex; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.legal .facts-list > div:last-child { border-bottom: 1px solid var(--line); }
.legal .facts-list dt { flex: 0 0 210px; color: var(--mute); font-size: .95rem; }
.legal .facts-list dd { flex: 1; font-size: 1.02rem; }
.legal .facts-list { margin-top: 18px; }
.legal__back { display: inline-block; margin-bottom: 30px; font-size: .95rem; font-weight: 500; color: var(--logo); }
.legal__back:hover { color: var(--navy); }
.todo { background: #FFF1B8; box-shadow: 0 0 0 2px #FFF1B8; border-radius: 3px; }
.notfound { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.notfound .wrap { max-width: 620px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.notfound p { color: var(--mute); margin-bottom: 30px; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .lcard:nth-child(2) { transition-delay: .1s; }

/* Tablet */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .pgrid .pbox { grid-row: auto; }
  .express { order: -1; }
}
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .stitch { grid-template-columns: repeat(2, 1fr); }
}

/* Handy */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .header__in { height: 62px; }
  .logo img { height: 32px; }
  .nav a:not(.nav__call) { display: none; }

  .hero { min-height: 0; }
  .hero__bg { height: 400px; bottom: auto; object-position: 96% 45%; }
  .hero::before { background: linear-gradient(180deg, rgba(27, 53, 86, 0) 0%, rgba(27, 53, 86, 0) 24%, rgba(27, 53, 86, .9) 42%, var(--navy) 50%); }
  .hero__in { padding-top: 336px; padding-bottom: 40px; }
  .hero h1 { font-size: 2.7rem; }
  .actions .btn { flex: 1 1 auto; text-align: center; }

  .cards { grid-template-columns: 1fr; gap: 20px; }
  .stitch { grid-template-columns: 1fr; gap: 32px; }
  .ask { padding: 28px 24px; }
  .lcard { aspect-ratio: 4 / 4.2; }
  .lcard__body { padding: 24px; }
  .lcard h3 { font-size: 1.65rem; }

  .pbox { padding: 26px 22px 24px; margin: 0 -8px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; padding-bottom: 0; }
  .tabs button { width: 100%; min-height: 44px; padding: 10px 4px; text-align: center; }
  .logo { padding: 6px 0; }
  .nav__call { padding: 12px 20px; }
  .hero__tag { margin-top: 12px; padding-top: 13px; padding-bottom: 13px; }
  .details a { display: inline-block; padding: 8px 0; }
  .footer__links { display: flex; gap: 4px; }
  .footer__links a { display: inline-block; padding: 10px 14px 10px 0; }
  .details > div { flex-direction: column; gap: 2px; }
  .details dt { flex: none; }
  .map { height: 320px; }
  .route { grid-template-columns: 1fr; }
  .legal .facts-list > div { flex-direction: column; gap: 2px; }
  .legal .facts-list dt { flex: none; }
}

/* Sehr schmale Handys */
@media (max-width: 380px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 2.3rem; }
  .lcard h3 { font-size: 1.4rem; }
  .lcard__body { padding: 20px; }
  .tabs button { font-size: 14px; }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .lcard img, .btn, .nav a::after { transition: none; }
  .js .panel.is-on { animation: none; }
}
.notfound .actions { justify-content: center; }
