/* einfach. Gerne. – Computerschule Andreas Wölfel */

:root {
  --bg: #FFF9F2;
  --surface: #FFFFFF;
  --peach: #FFE9D9;
  --sun: #FFD166;
  --sun-soft: #FFF3D1;
  --ink: #2A211C;
  --ink-soft: #5E5049;
  --line: #F0E1D2;
  --brand: #C2410C;
  --brand-hover: #A8380A;
  --brand-bright: #F97316;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 1px 2px rgba(42, 33, 28, .04), 0 10px 28px -18px rgba(42, 33, 28, .22);
  --shadow-lg: 0 2px 4px rgba(42, 33, 28, .04), 0 28px 56px -28px rgba(42, 33, 28, .32);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(17px, 1rem + .2vw, 19px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 2rem + 3.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 750; }

:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 8px; }

.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 12px; }
.skip:focus { top: 12px; color: #fff; }

.icon {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.u-nowrap { white-space: nowrap; }
.accent { color: var(--brand); position: relative; isolation: isolate; white-space: nowrap; }
.accent::after {
  /* kleines Lächeln unter "Gerne." */
  content: ""; position: absolute; left: 4%; right: 8%; bottom: -.12em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M3 4 Q50 22 97 4' fill='none' stroke='%23FFD166' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 750; text-decoration: none; line-height: 1.2;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 60px; padding: .9em 1.6em; font-size: 1.08rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 65, 12, .7); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--ghost { color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--surface); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { color: var(--brand); }

.btn--primary:hover .icon,
.nav__call:hover .icon,
.callbar:hover .icon { animation: ring .7s var(--ease); }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(4deg); }
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 242, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(42, 33, 28, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 50px; height: 50px; flex: none; animation: logo-spin 2.8s cubic-bezier(.08, .7, .16, 1) both; }
@keyframes logo-spin {
  from { transform: rotate(-1080deg) scale(.8); }
  to { transform: none; }
}
.logo__arms { transform-box: view-box; transform-origin: 50% 50%; transition: transform .7s var(--ease); }
.brand:hover .logo__arms { transform: rotate(72deg); }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__sub { font-size: .72rem; font-weight: 650; letter-spacing: .04em; color: var(--ink-soft); }
.brand__text { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text strong { color: var(--brand); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .55em .9em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: .98rem;
  transition: background-color .2s;
}
.nav a:hover { background: var(--peach); color: var(--ink); }
.nav .nav__call { display: inline-flex; align-items: center; gap: .45em; margin-left: 8px; background: var(--brand); color: #fff; }
.nav .nav__call:hover { background: var(--brand-hover); color: #fff; }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  align-items: center; justify-content: center;
  border: 0; border-radius: 14px; background: var(--peach); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close,
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Hero */
.hero { position: relative; padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--ink-soft); max-width: 34em; }
.lead strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: .4em; }
.trust .icon { color: #15803D; }

.hero__art { position: relative; width: 100%; max-width: 440px; margin-left: auto; }
.hero__photo {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--peach); box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__name {
  position: absolute; left: -28px; bottom: 32px; margin: 0;
  display: flex; flex-direction: column; padding: .8em 1.2em;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow);
  line-height: 1.3;
}
.hero__name span { font-size: .85rem; color: var(--ink-soft); }

.bubble {
  position: absolute; right: -18px; top: 26%; margin: 0; padding: .55em 1em;
  background: var(--brand); color: #fff; border-radius: 22px; border-bottom-left-radius: 6px;
  box-shadow: var(--shadow); font-size: 1.3rem; font-weight: 800; line-height: 1.2;
  animation: bubble-in .6s cubic-bezier(.3, 1.6, .5, 1) 1s both, float 6s ease-in-out 1.6s infinite;
}
.hero:not(.is-visible) .bubble { animation-play-state: paused; }

/* Hero-Auftritt beim Laden – nur transform/opacity */
.hero__text > * { animation: rise .8s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .32s; }
.hero__photo { animation: photo-in 1s var(--ease) .15s both; }
.hero__name { animation: rise .8s var(--ease) .6s both; }
.hero .accent::after { transform-origin: left center; animation: smile-draw .7s var(--ease) .75s both; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes photo-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes bubble-in { from { opacity: 0; transform: scale(.4) rotate(-10deg); } }
@keyframes smile-draw { from { transform: scaleX(0); } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Fotos */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--peach), var(--sun-soft)); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--round { aspect-ratio: 1; border-radius: 50%; }

/* Fragen-Band */
.ticker { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 44px) 0; }
.ticker__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 28px; text-align: center; }
.ticker__q { margin: 0; font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); font-weight: 700; }
.ticker__stack { display: inline-grid; }
.ticker__item { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .ticker__item:not(.is-active) { opacity: 0; transform: translateY(14px); }
.ticker__a { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; color: #fff; white-space: nowrap; }
.ticker__a strong { color: var(--sun); }
.ticker__a.is-pop { animation: pop .5s var(--ease); }
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12) rotate(-2deg); }
  100% { transform: scale(1); }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(24px, 4vw, 48px) 0; }
.section--warm { background: var(--peach); }
.section--white { background: var(--surface); }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head p:last-child { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { grid-template-columns: 1fr 1fr; align-items: start; }
.split__text > p { color: var(--ink-soft); }
.big { font-size: 1.5rem; font-weight: 800; color: var(--ink) !important; }

.checks { padding: 0; margin: 0; list-style: none; display: grid; gap: 22px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .icon {
  width: 32px; height: 32px; padding: 6px; border-radius: 50%;
  background: var(--sun); color: var(--ink); stroke-width: 2.6;
}
.checks span { color: var(--ink-soft); }
.checks strong { color: var(--ink); }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--sun-soft);
}
.callout h2 { margin: 0; }
.callout .eyebrow { margin-bottom: .4rem; }
.callout p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }
.tag {
  display: inline-block; margin-left: .2em; padding: .1em .65em; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 750; white-space: nowrap;
}

/* Brief von Andreas */
.letter {
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.letter h2 { margin-bottom: .6em; }
.letter p { color: var(--ink-soft); }
.letter__sign { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.letter__sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.letter__sign p { margin: 0; line-height: 1.35; color: var(--ink); }
.letter__sign em { display: block; font-size: .95rem; color: var(--ink-soft); }
.letter__sign strong { font-size: 1.15rem; }
.benefits h3 { margin-bottom: 1.2em; }
.benefits { padding-top: clamp(0px, 3vw, 48px); }

/* Themen-Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 18px; background: var(--peach); color: var(--brand);
}
.card__icon .icon { width: 28px; height: 28px; }
.card ul { padding: 0; margin: 0 0 20px; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }
.card li { position: relative; padding-left: 20px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.card__foot, .card__link { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 750; color: var(--brand); }
.card__foot { color: var(--ink); }
.card__foot strong { color: var(--brand); }
.card__link { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.card__link .icon { transition: transform .2s var(--ease); }
.card__link:hover .icon { transform: translateX(4px); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 1.6rem; font-weight: 800;
}
.step__num .icon { width: 34px; height: 34px; }
.step p { margin: 0; color: var(--ink-soft); }
.step:last-child { background: var(--sun-soft); border-color: transparent; }
.step:last-child .step__num { background: var(--sun); color: var(--ink); }

/* Team */
.quote { font-size: 1.3rem; font-weight: 700; font-style: italic; color: var(--ink) !important; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--bg); }
.tile > .icon { width: 28px; height: 28px; color: #15803D; }
.tile h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.tile p { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice {
  display: flex; flex-direction: column; margin: 0;
  padding: 32px 28px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative;
}
.voice::before {
  content: "“"; position: absolute; top: -8px; left: 22px;
  font-size: 5rem; line-height: 1; font-weight: 800; color: var(--sun);
}
.voice blockquote { margin: 18px 0 24px; color: var(--ink); }
.voice figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-weight: 750; font-size: .95rem; color: var(--ink-soft); }
.voice__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--brand); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgba(42, 33, 28, .05); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-weight: 750; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 32px; height: 32px; padding: 6px; border-radius: 50%;
  background: var(--peach); color: var(--brand);
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* Kontakt */
.cta {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(135deg, #FFE1CC 0%, var(--sun-soft) 100%);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -120px; bottom: -160px;
  border-radius: 50%; background: rgba(249, 115, 22, .14);
}
.cta > * { position: relative; min-width: 0; }
.cta__kicker { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 700; color: var(--ink-soft); margin-bottom: .3em; }
.cta h2 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); margin-bottom: .2em; }
.cta__lead { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; margin-bottom: 1.1em; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn span { white-space: nowrap; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn__stack small { font-size: .74rem; font-weight: 650; color: var(--ink-soft); }
.cta__addr { display: flex; align-items: center; gap: .5em; margin: 24px 0 0; color: var(--ink-soft); font-weight: 600; }
.cta__photo { box-shadow: var(--shadow-lg); border: 8px solid var(--surface); }
.cta__note { margin: 10px 0 0; font-weight: 650; color: var(--ink); }
.cta__sig { font-style: italic; color: var(--brand); }

/* Footer */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__small { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.footer__nav a:hover { color: var(--brand); text-decoration: underline; }

/* Mobile Anruf-Leiste */
.callbar { display: none; }

/* Unterseiten */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 1.7rem + 2.6vw, 3.6rem); }
.page-head .lead { margin-bottom: 0; }
.not-found { padding-bottom: clamp(64px, 10vw, 140px); }
.not-found .lead { margin-bottom: 0; }
.prose { padding-bottom: clamp(56px, 8vw, 104px); }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; color: var(--ink); line-height: 1.7; }
.note { padding: 16px 20px; border-radius: 16px; background: var(--sun-soft); font-size: .95rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 32px; }
.info { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.info h2 { font-size: 1.3rem; margin: 0 0 .5em; }
.info p { margin: 0; color: var(--ink-soft); }
.info .card__icon { margin-bottom: 14px; }

/* Einblenden beim Scrollen (nur transform/opacity) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step.reveal .step__num { opacity: 0; transform: scale(.5); transition: opacity .4s .3s, transform .6s cubic-bezier(.3, 1.5, .5, 1) .3s; }
.js .step.reveal.is-in .step__num { opacity: 1; transform: none; }
.faq details[open] p { animation: rise .45s var(--ease) both; }

/* Mikro-Animationen – nur transform/opacity */

/* Hero-Foto zieht beim Herausscrollen sanft mit (ohne JS, wo unterstützt) */
@supports (animation-timeline: view()) {
  .hero__photo img { animation: photo-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes photo-drift { to { transform: scale(1.08) translateY(5%); } }
}

/* Haken poppen nacheinander auf */
.js .checks li .icon { transform: scale(0) rotate(-45deg); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * 90ms + .25s); }
.js .checks li.is-in .icon { transform: none; }

/* Unterschrift: Foto ploppt auf */
.js .letter__sign img { opacity: 0; transform: scale(.5); transition: opacity .3s .5s, transform .6s cubic-bezier(.3, 1.6, .5, 1) .5s; }
.js .letter.is-in .letter__sign img { opacity: 1; transform: none; }

/* Themen-Karten und Team-Kacheln: Symbol wackelt beim Drüberfahren */
.card:hover .card__icon { animation: wiggle .6s var(--ease); }
.tile > .icon { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover > .icon { transform: scale(1.18) rotate(-8deg); }
@keyframes wiggle {
  0%, 100% { transform: none; }
  25% { transform: rotate(-10deg) scale(1.08); }
  50% { transform: rotate(8deg) scale(1.08); }
  75% { transform: rotate(-4deg) scale(1.04); }
}

/* Ablauf: Verbindungsstriche zwischen den Schritten */
@media (min-width: 641px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 63px; left: calc(100% + 4px);
    width: 16px; height: 3px; border-radius: 2px; background: var(--brand-bright);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .5s var(--ease) calc(var(--i, 0) * 90ms + .7s);
  }
  .step.is-in:not(:last-child)::after { transform: none; }
}

/* Kundenstimmen: Anführungszeichen springen herein */
.js .voice::before { opacity: 0; transform: scale(.3) rotate(-20deg); transition: opacity .3s calc(var(--i, 0) * 90ms + .3s), transform .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * 90ms + .3s); }
.js .voice.is-in::before { opacity: 1; transform: none; }

/* Tipps: Plus dreht sich beim Drüberfahren an */
.faq summary:hover .icon { transform: rotate(90deg); }

/* Kontakt: Lächeln zeichnet sich, Foto schwebt, Anruf-Button pulsiert */
.js .cta .accent::after { transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease) .5s; }
.js .cta.is-in .accent::after { transform: none; }
.cta__photo { animation: float 7s ease-in-out infinite; }
.contact .btn--primary { position: relative; }
.contact .btn--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--brand-bright); opacity: 0;
  animation: pulse-ring 2.6s var(--ease) infinite;
}
.cta:not(.is-visible) .cta__photo,
.cta:not(.is-visible) .contact .btn--primary::before { animation-play-state: paused; }
@keyframes pulse-ring {
  0% { opacity: .7; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.08, 1.35); }
}

/* Handy: Anrufleiste fährt nach dem Laden herein */
.callbar { animation: callbar-in .6s var(--ease) 1.4s backwards; }
@keyframes callbar-in { from { opacity: 0; transform: translateY(140%); } }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner, .split, .split--top { grid-template-columns: 1fr; }
  .hero__art { max-width: 400px; margin: 8px auto 0; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__photo { max-width: 260px; order: -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(42, 33, 28, .35);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav a { padding: .85em 1em; font-size: 1.1rem; }
  .nav .nav__call { margin: 8px 0 0; justify-content: center; }
}

@media (max-width: 640px) {
  .cards, .quotes, .steps, .tiles, .info-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .cta { padding: 28px 20px; }
  .contact .btn { padding-inline: 1.1em; }
  .actions .btn, .contact .btn { width: 100%; }
  .hero__art { max-width: 300px; }
  .hero__name { left: -12px; bottom: 20px; }
  .bubble { right: -10px; font-size: 1.1rem; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__sub { font-size: .66rem; }
  .brand__text { font-size: 1.2rem; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 56px; border-radius: 999px;
    background: var(--brand); color: #fff; font-weight: 750; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(194, 65, 12, .8);
    transition: transform .35s var(--ease), opacity .35s;
  }
  .callbar:hover { color: #fff; }
  .callbar.is-hidden { transform: translateY(140%); opacity: 0; }
  .footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
