/* =========================================================
   Rathfelder Grafikdesign — Bewerbungsservice Karlsruhe
   Design tokens
   ========================================================= */
:root{
  --bg:        #faf9f6;
  --bg-alt:    #f2f0ea;
  --paper:     #ffffff;
  --ink:       #171a20;
  --ink-soft:  #454a54;
  --muted:     #86898f;
  --line:      #e3e0d7;
  --line-soft: #ececE5;

  /* pastel blue accent system */
  --sky-50:    #f0f7ff;
  --sky-100:   #dfeeff;
  --sky-200:   #c7e2ff;
  --sky-300:   #a9d2ff;
  --sky-500:   #5b93d6;
  --sky-700:   #35618f;
  --navy-900:  #16233c;
  --navy-800:  #1c3157;

  --accent:    #5b93d6;
  --accent-ink:#35618f;
  --accent-bg: #eaf3ff;

  --grad-pastel:  linear-gradient(135deg, #f0f8ff 0%, #dceeff 45%, #c9e0ff 100%);
  --grad-button:  linear-gradient(135deg, #4f86c6 0%, #6fa8e8 100%);
  --grad-button-hover: linear-gradient(135deg, #3f6fa8 0%, #5b93d6 100%);
  --grad-dark:    linear-gradient(140deg, #16233c 0%, #1c3157 55%, #2c4f81 100%);
  --grad-highlight: linear-gradient(100deg, #cfe6ff 0%, #eaf4ff 100%);

  --serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 64px);

  --radius-sm: 3px;
  --radius-md: 6px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.wrap-wide{
  max-width: 1220px;
}

h1,h2,h3,h4{
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.025em;
}

p{ margin: 0; }

.eyebrow{
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 650;
  font-style: italic;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--navy-900);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(22, 35, 60, 0.15);
}
.eyebrow::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b93d6;
  display: inline-block;
}

/* Pulsating negative highlight effect on headline key phrases */
@keyframes highlightPulse {
  0%, 100% {
    transform: rotate(-1deg) scale(1);
    box-shadow: 0 2px 10px rgba(91, 147, 214, 0.18);
  }
  50% {
    transform: rotate(-1deg) scale(1.04);
    box-shadow: 0 6px 20px rgba(91, 147, 214, 0.38);
  }
}

.highlight{
  display: inline-block;
  background: var(--grad-highlight);
  color: var(--navy-900);
  padding: 3px 14px 5px;
  border-radius: 8px;
  transform: rotate(-1deg);
  box-shadow: 0 2px 10px rgba(91, 147, 214, 0.18);
  animation: highlightPulse 3.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0; padding:0; margin:-1px;
}

/* Focus states — always visible */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============== Header / Nav =============== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo-link{ display:inline-flex; align-items:center; text-decoration:none; }
.logo-img{
  height: 44px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display:block;
}
.logo-fallback{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links{
  display:flex; align-items:center; gap: 36px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:1px; background: var(--accent-ink);
  transition: right .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after{ right:0; }

.nav-cta{
  display:inline-flex; align-items:center;
  font-size: 14px; font-weight:600;
  padding: 11px 20px;
  background: var(--grad-button);
  color: #fff;
  text-decoration:none;
  border-radius: var(--radius-sm);
  white-space:nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover{ background: var(--grad-button-hover); transform: translateY(-1px); }

.nav-right{ display:flex; align-items:center; gap: 22px; }

.menu-toggle{
  display:none;
  background:none; border:0; padding:8px; margin:-8px;
  cursor:pointer;
}
.menu-toggle span{
  display:block; width:22px; height:1.5px; background:var(--ink);
  margin: 5px 0; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px){
  .site-header {
    background: #ffffff;
  }
  .nav {
    height: 72px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  }
  .nav-links a:hover, .nav-links a:focus-visible {
    color: var(--accent-ink);
    padding-left: 10px;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-cta-mobile-wrap {
    margin-top: 16px;
  }
  .nav-links a.nav-cta-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    background: var(--grad-button);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 16.5px;
    font-weight: 650;
    border-bottom: none;
    box-shadow: 0 10px 24px -8px rgba(53,97,143,.45);
  }
  .nav-links a.nav-cta-mobile:hover {
    padding-left: 24px;
    background: var(--grad-button-hover);
  }
  .nav-right .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* =============== Buttons =============== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--sans);
  font-size: 15px; font-weight:600;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  text-decoration:none;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  cursor:pointer;
}
.btn-primary{ background: var(--grad-button); color: #fff; }
.btn-primary:hover{ background: var(--grad-button-hover); transform: translateY(-1px); }
.btn-secondary{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover{ border-color: var(--sky-500); color: var(--accent-ink); }
.btn-whatsapp{ background: var(--grad-button); color:#fff; }
.btn-whatsapp:hover{ background: var(--grad-button-hover); transform: translateY(-1px); }
.btn-block{ width:100%; justify-content:center; }

/* =============== Hero =============== */
.hero{
  background: #ffffff;
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items:center;
}
.hero h1{
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 18px 0 22px;
}

.hero-sub{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom: 26px; }
.hero-trust{
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Hero Visual: intro image showcase */
.hero-media{
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img{
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 35px rgba(23, 24, 28, 0.16));
  transition: transform .3s var(--ease);
}
.hero-img:hover{
  transform: translateY(-4px);
}

@media (max-width: 860px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
}

/* =============== Section shell & Generous Whitespace =============== */
section{ padding: clamp(80px, 12vw, 140px) 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 700px; margin-bottom: clamp(48px, 7vw, 76px); }
.section-head h2{ font-size: clamp(32px, 4.2vw, 46px); margin-top: 0; }
.section-head p{ margin-top: 20px; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }

/* =============== Value props =============== */
.value-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow:hidden;
}
.value-card{
  background: var(--paper); padding: 30px 26px;
}
.value-card .num{
  font-family: var(--serif); font-style:italic;
  color: var(--accent-ink); font-size:15px; margin-bottom:14px; display:block;
}
.value-card h3{ font-family: var(--sans); font-size:17px; font-weight:600; margin-bottom:8px; }
.value-card p{ color: var(--ink-soft); font-size: 15px; }

@media (max-width: 860px){
  .value-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px){
  .value-grid{ grid-template-columns: 1fr; }
}

/* Stat strip */
.stat-strip{
  display:flex; flex-wrap:wrap; gap: clamp(28px,6vw,64px);
  margin-top: clamp(40px,6vw,64px);
  padding-top: clamp(32px,5vw,48px);
  border-top: 1px solid var(--line);
}
.stat{ min-width: 140px; }
.stat .n{ font-family: var(--serif); font-size: clamp(30px,4vw,42px); color: var(--ink); }
.stat .l{ font-size: 13px; color: var(--muted); margin-top:4px; text-transform:uppercase; letter-spacing:.04em; }

/* =============== Services =============== */
.service-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  display:flex; flex-direction:column;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover{
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -30px rgba(23,24,28,.35);
}
.service-tag{
  font-size: 12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background: var(--grad-button);
  padding: 4px 10px; border-radius: 100px;
  display:inline-block; margin-bottom: 18px; width:fit-content;
}
.service-card h3{ font-size: 22px; margin-bottom: 12px; }
.service-card p{ color: var(--ink-soft); font-size:15.5px; flex-grow:1; }
.service-meta{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-top: 22px; padding-top:18px; border-top:1px solid var(--line-soft);
}
.service-price{ font-family: var(--serif); font-size: 19px; }
.service-price .from{ font-size:12px; color:var(--muted); font-family:var(--sans); text-transform:uppercase; letter-spacing:.04em; display:block; margin-bottom:2px; }
.service-link{
  font-size: 14px; font-weight:600; text-decoration:none;
  color: var(--accent-ink); white-space:nowrap;
}
.service-link:hover{ text-decoration:underline; }

@media (max-width: 900px){ .service-grid{ grid-template-columns: 1fr; } }

/* =============== Housing callout =============== */
.callout{
  background: var(--grad-dark); color: var(--bg);
  border-radius: var(--radius-md);
  padding: clamp(36px,6vw,64px);
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px);
  align-items:center;
}
.callout .eyebrow{
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.callout .eyebrow::before{ background:#a9d2ff; }
.callout h2{ color:#fff; font-size: clamp(26px,3.4vw,36px); margin: 14px 0 16px; }
.callout p{ color: #cbd8ea; font-size:16px; margin-bottom: 22px; }
.callout ul{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; gap:14px; }
.callout li{ display:flex; gap:12px; font-size:15px; color:#dcdce0; }
.callout li strong{ color:#fff; display:block; font-size:15px; margin-bottom:2px; }
.callout li::before{
  content:"—"; color:#a9d2ff; flex-shrink:0;
}
@media (max-width: 800px){ .callout{ grid-template-columns:1fr; } }

/* =============== Warum ich =============== */
.why-grid{
  display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,6vw,72px); align-items:start;
}
.why-list{ list-style:none; margin: 28px 0 0; padding:0; display:flex; flex-direction:column; gap:22px; }
.why-list li{ display:flex; gap:16px; }
.why-list .dot{
  width:8px; height:8px; border-radius:50%; background: var(--accent); margin-top:9px; flex-shrink:0;
}
.why-list strong{ display:block; font-size:16px; margin-bottom:3px; }
.why-list span{ color: var(--ink-soft); font-size:15px; }
.pull-quote{
  font-family: var(--serif); font-style:italic; font-size: clamp(22px,2.6vw,28px);
  line-height:1.4; color: var(--ink);
  border-left: 2px solid var(--accent); padding-left: 26px;
}
@media (max-width: 860px){ .why-grid{ grid-template-columns:1fr; } }

/* =============== Beispiele (Full-Width & Parallax) =============== */
.example-showcase-full{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(23,24,28,.14);
  transition: box-shadow .3s var(--ease);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}
.example-showcase-full:hover{
  box-shadow: 0 32px 75px -25px rgba(23,24,28,.2);
}
.example-image-wrapper-full{
  width: 100%;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.example-img-full{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1);
  transition: transform 0.4s var(--ease);
}
.example-showcase-full:hover .example-img-full{
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.015);
}
.example-showcase-caption{
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.example-showcase-caption h3{
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 6px;
  color: var(--ink);
}
.example-showcase-caption p{
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

/* =============== Ablauf =============== */
.steps{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position:relative;
}
.step{
  padding: 0 22px 0 0;
  position:relative;
}
.step:not(:last-child)::after{
  content:""; position:absolute; top:22px; left: calc(100% - 11px); width: 22px; height:1px;
  background: var(--line);
}
.step .step-num{
  font-family: var(--serif); font-style:italic; font-size: 15px; color: var(--accent-ink);
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border:1px solid var(--line); border-radius:50%;
  margin-bottom: 20px; background: var(--paper);
}
.step h3{ font-family:var(--sans); font-size:16.5px; font-weight:600; margin-bottom:8px; }
.step p{ font-size:14.5px; color: var(--ink-soft); }
@media (max-width: 900px){
  .steps{ grid-template-columns:1fr 1fr; gap: 32px 24px; }
  .step:not(:last-child)::after{ display:none; }
}
@media (max-width: 540px){ .steps{ grid-template-columns:1fr; } }

/* =============== FAQ (Full-Width & Smooth Accordion) =============== */
.faq-list{
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.faq-item:hover{
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.faq-item[open]{
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 650;
  color: var(--ink);
  background: var(--paper);
  user-select: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary:hover{
  color: #0071e3;
}
.faq-item .plus{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s var(--ease);
}
.faq-item .plus::before,
.faq-item .plus::after{
  content: "";
  position: absolute;
  background: var(--ink);
  transition: background 0.25s var(--ease);
}
.faq-item .plus::before{
  top: 50%;
  left: 9px;
  right: 9px;
  height: 2px;
  transform: translateY(-50%);
}
.faq-item .plus::after{
  left: 50%;
  top: 9px;
  bottom: 9px;
  width: 2px;
  transform: translateX(-50%);
}
.faq-item[open] .plus{
  transform: rotate(45deg);
  background: #0071e3;
}
.faq-item[open] .plus::before,
.faq-item[open] .plus::after{
  background: #ffffff;
}
.faq-content-wrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item[open] .faq-content-wrap{
  grid-template-rows: 1fr;
}
.faq-content-inner{
  overflow: hidden;
}
.faq-item .faq-a{
  padding: 4px 28px 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 100%;
}

/* =============== Kontakt =============== */
.kontakt-section{
  background: var(--grad-dark); color: var(--bg);
  text-align:center;
}
.kontakt-section .eyebrow{
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
  justify-content: center;
}
.kontakt-section .eyebrow::before{ background:#a9d2ff; }
.kontakt-section h2{ color:#fff; font-size: clamp(30px,4.4vw,48px); margin: 16px auto 18px; max-width: 18ch; }
.kontakt-section h2 .highlight{ color: var(--navy-900); }
.kontakt-section .hero-sub{ color:#cbd8ea; margin: 0 auto 34px; }
.kontakt-ctas{ display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin-bottom: 36px; }
.kontakt-alt{
  display:flex; justify-content:center; gap: 32px; flex-wrap:wrap;
  font-size:15px; color:#c8c8ce; padding-top: 28px; border-top:1px solid #2c2d33;
}
.kontakt-alt a{ text-decoration:none; color:#fff; border-bottom:1px solid rgba(255,255,255,.25); }
.kontakt-alt a:hover{ border-color:#fff; }

/* =============== Footer =============== */
footer{ padding: 48px 0 40px; }
.footer-top{
  display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:28px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.footer-brand h3{ font-size:19px; margin-bottom:6px; }
.footer-brand p{ color: var(--muted); font-size:14px; }
.footer-links{ display:flex; gap: 40px; flex-wrap:wrap; }
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14.5px; color: var(--ink-soft); text-decoration:none; }
.footer-col a:hover{ color: var(--ink); text-decoration:underline; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding-top: 24px; font-size:13px; color: var(--muted);
}

/* =============== Legal pages =============== */
.legal{ padding: clamp(48px,8vw,88px) 0 100px; }
.legal .wrap{ max-width: 760px; }
.legal h1{ font-size: clamp(30px,4vw,42px); margin-bottom: 8px; }
.legal .updated{ color: var(--muted); font-size:14px; margin-bottom: 40px; display:block; }
.legal h2{ font-family: var(--sans); font-size:19px; font-weight:600; margin-top: 40px; margin-bottom:12px; }
.legal p, .legal li{ color: var(--ink-soft); font-size:15.5px; margin-bottom: 14px; }
.legal a{ color: var(--accent-ink); }
.legal ul{ padding-left: 20px; }
.back-link{ display:inline-flex; align-items:center; gap:8px; font-size:14px; text-decoration:none; color:var(--ink-soft); margin-bottom: 28px; }
.back-link:hover{ color: var(--ink); }

/* =============== Floating contact button =============== */
.fab-contact{
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-button);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 32px -10px rgba(53,97,143,.55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.fab-contact:hover{
  background: var(--grad-button-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 40px -10px rgba(53,97,143,.65);
}
.fab-contact svg{
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.fab-contact .fab-label{
  display: none;
}

/* =============== Abstract decorative patterns (Beispiele) =============== */
.example-preview{
  aspect-ratio: 4/5;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow:hidden;
}
.pattern-stripes{
  background: repeating-linear-gradient(
    128deg,
    var(--sky-100) 0px, var(--sky-100) 22px,
    var(--sky-200) 22px, var(--sky-200) 27px,
    var(--sky-50) 27px, var(--sky-50) 49px
  );
}
.pattern-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  height:100%;
  padding: 18px;
  background: var(--sky-50);
}
.pattern-grid span{ border-radius: 10px; background: var(--sky-100); }
.pattern-grid span:nth-child(1){ grid-column: 1 / 3; grid-row: 1 / 3; background: var(--sky-200); }
.pattern-grid span:nth-child(2){ grid-row: 1 / 3; background: var(--sky-100); }
.pattern-grid span:nth-child(3){ grid-column: 1 / 2; background: var(--sky-300); }
.pattern-grid span:nth-child(4){ grid-column: 2 / 4; background: var(--sky-100); }
.pattern-grid span:nth-child(5){ grid-column: 1 / 4; background: var(--sky-200); }
.pattern-blob{
  background:
    radial-gradient(circle at 28% 28%, var(--sky-300) 0%, transparent 58%),
    radial-gradient(circle at 72% 65%, var(--sky-200) 0%, transparent 55%),
    radial-gradient(circle at 50% 95%, var(--sky-100) 0%, transparent 45%),
    var(--sky-50);
}

/* fade-in on scroll */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* =========================================================
   Apple-Style Navigation & Header Button
   ========================================================= */
.nav-app-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 20px;
  background: #0071e3;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  transition: all 0.2s var(--ease);
}
.nav-app-btn:hover{
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
  color: #ffffff !important;
}
.nav-app-btn::after{
  display: none !important;
}

.nav-cta-mobile-wrap{
  margin-top: 14px;
  list-style: none;
}
.nav-app-btn-mobile{
  display: flex;
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
}

@media (min-width: 861px){
  .nav-cta-mobile-wrap{
    display: none;
  }
}

@media (max-width: 860px){
  .nav-right .nav-app-btn{
    display: none;
  }
  .menu-toggle{
    display: block;
  }
}

/* =========================================================
   Apple-Style Showcase Section (Clean, Airy & Whitespace)
   ========================================================= */
.apple-showcase-section{
  background: #ffffff;
  padding: clamp(72px, 11vw, 130px) 0 clamp(80px, 12vw, 150px);
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.apple-showcase-header{
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(48px, 7vw, 76px);
}

.apple-eyebrow-clean{
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 18px;
}

.apple-hero-headline{
  font-size: clamp(30px, 5.8vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 22px;
  word-wrap: break-word;
}
.apple-hero-headline .sub-dim{
  color: #64748b;
  font-weight: 600;
  display: block;
}

.apple-hero-lead{
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: #475569;
  max-width: 660px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.apple-hero-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.btn-apple-main{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0071e3;
  color: #ffffff;
  font-size: 17px;
  font-weight: 650;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 25px -5px rgba(0, 113, 227, 0.35);
  transition: all 0.2s var(--ease);
}
.btn-apple-main:hover{
  background: #0077ed;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -5px rgba(0, 113, 227, 0.45);
  color: #ffffff;
}

.apple-trust-strip{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #64748b;
}
.apple-trust-strip span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.apple-trust-strip span::before{
  content: "✓";
  color: #0071e3;
  font-weight: 800;
}

/* =========================================================
   Apple Studio Mockup (High-Res Real Screenshot & Parallax)
   ========================================================= */
.apple-real-mockup{
  max-width: 1100px;
  margin: 0 auto clamp(60px, 9vw, 96px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -25px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: box-shadow 0.25s var(--ease);
  will-change: transform;
}
.apple-real-mockup:hover{
  box-shadow: 0 40px 100px -30px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.apple-mockup-topbar{
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
}
.apple-mockup-dots{
  display: flex;
  gap: 7px;
}
.apple-mockup-dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.apple-mockup-dot.dot-red{ background: #ff5f56; }
.apple-mockup-dot.dot-yellow{ background: #ffbd2e; }
.apple-mockup-dot.dot-green{ background: #27c93f; }

.apple-mockup-img-wrap{
  position: relative;
  background: #ffffff;
  line-height: 0;
}
.apple-mockup-img-wrap img{
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   3D Perspective Floating Cards Stage (Isometric Overlap)
   ========================================================= */
.apple-3d-stage{
  margin: clamp(64px, 10vw, 110px) auto clamp(90px, 14vw, 160px);
  max-width: 1160px;
  text-align: center;
  position: relative;
}

.apple-3d-header{
  max-width: 720px;
  margin: 0 auto clamp(36px, 6vw, 56px);
}
.apple-3d-header h3{
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.1;
}
.apple-3d-header p{
  font-size: clamp(17px, 2vw, 20px);
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.apple-3d-deck-wrap{
  perspective: 2000px;
  perspective-origin: 50% 30%;
  padding: 40px 20px 80px;
  overflow: visible;
}

.apple-3d-deck{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  transform-style: preserve-3d;
  max-width: 1000px;
  margin: 0 auto;
}

.apple-3d-card{
  width: min(340px, 32vw);
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: -22px 30px 65px -12px rgba(15, 23, 42, 0.22), -6px 10px 20px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s var(--ease);
  will-change: transform;
  text-decoration: none;
  display: block;
  position: relative;
}

.apple-3d-card-1{
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) translateY(calc(20px + var(--parallax-y, 0px)));
  z-index: 3;
}
.apple-3d-card-2{
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) translateX(-45px) translateY(calc(-10px + var(--parallax-y, 0px)));
  z-index: 2;
}
.apple-3d-card-3{
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) translateX(-90px) translateY(calc(-40px + var(--parallax-y, 0px)));
  z-index: 1;
}

.apple-3d-card:hover{
  transform: rotateY(-6deg) rotateX(3deg) translateY(calc(-28px + var(--parallax-y, 0px))) scale(1.05) !important;
  z-index: 10 !important;
  box-shadow: -30px 42px 90px -15px rgba(15, 23, 42, 0.3), 0 0 0 2px #0071e3;
}

.apple-3d-card-topbar{
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apple-3d-card-tag{
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0071e3;
}
.apple-3d-card-dots{
  display: flex;
  gap: 5px;
}
.apple-3d-card-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.apple-3d-card-img{
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
}

.apple-3d-captions{
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  margin-top: 36px;
  flex-wrap: wrap;
}
.apple-3d-cap-item{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 650;
  color: #334155;
}
.apple-3d-cap-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 800;
  color: #0071e3;
}

@media (max-width: 860px){
  .apple-3d-deck-wrap{
    perspective: none;
    padding: 20px 0;
  }
  .apple-3d-deck{
    flex-direction: column;
    gap: 24px;
  }
  .apple-3d-card{
    width: 100%;
    max-width: 380px;
    transform: none !important;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.12);
  }
  .apple-3d-card:hover{
    transform: translateY(-4px) scale(1.01) !important;
  }
}

/* =========================================================
   Apple Feature Showcase (Cards with Visual Screenshots)
   ========================================================= */
.apple-features-wrap{
  margin-top: clamp(40px, 6vw, 70px);
}

.apple-section-headline{
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.apple-section-headline h3{
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 12px;
}
.apple-section-headline p{
  font-size: 18px;
  color: #64748b;
  line-height: 1.5;
}

.apple-cards-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.apple-feature-card{
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: clamp(30px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.apple-feature-card:hover{
  border-color: #cbd5e1;
  transform: translate3d(0, calc(var(--parallax-y, 0px) - 4px), 0);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.09);
}
.apple-feature-card.col-full{
  grid-column: 1 / -1;
}

.apple-card-tag{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 12px;
  display: block;
}

.apple-feature-card h4{
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}

.apple-feature-card p{
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

.apple-card-bullets{
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apple-card-bullets li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
}
.apple-card-bullets li::before{
  content: "•";
  color: #0071e3;
  font-size: 20px;
  line-height: 1;
}

/* Feature Screenshot Frame */
.apple-card-visual{
  margin-top: 26px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.08);
  line-height: 0;
  position: relative;
  max-height: 520px;
}
.apple-card-visual img{
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s var(--ease);
}
.apple-feature-card:hover .apple-card-visual img{
  transform: scale(1.025);
}

.apple-card-visual-duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.apple-card-visual-duo .apple-card-visual{
  margin-top: 0;
}

/* =========================================================
   Apple Export Showcase Visual Graphic (Pure Vector PDF)
   ========================================================= */
.apple-export-visual{
  margin-top: 26px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apple-export-main-box{
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.apple-export-left{
  display: flex;
  align-items: center;
  gap: 14px;
}
.apple-file-icon-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.badge-pdf{
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.apple-file-info strong{
  display: block;
  font-size: 15.5px;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 2px;
}
.apple-file-info span{
  display: block;
  font-size: 13px;
  color: #64748b;
}

.apple-export-badge-pill{
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.apple-export-sub-chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.apple-export-sub-chip{
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.apple-export-sub-chip::before{
  content: "✓";
  color: #0071e3;
  font-weight: 800;
}

/* =========================================================
   Apple Interactive Live Signature Pad
   ========================================================= */
.apple-sig-interactive-wrap{
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.06);
}

.apple-sig-canvas-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
.apple-sig-canvas-hint{
  font-size: 12px;
  font-weight: 650;
  color: #0071e3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.apple-sig-btn-clear{
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.apple-sig-btn-clear:hover{
  background: #e2e8f0;
  color: #0f172a;
}

.apple-sig-pad-box{
  position: relative;
  background: #fafafa;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  height: 120px;
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
}
#interactive-sig-canvas{
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.apple-sig-pad-placeholder{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.apple-sig-pad-placeholder.hidden{
  opacity: 0;
}

.apple-sig-footer-label{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: #94a3b8;
  font-family: monospace;
}

@media (max-width: 860px){
  .apple-cards-grid{
    grid-template-columns: 1fr;
  }
  .apple-card-visual-duo{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Apple Bottom Banner (Airy & Clean)
   ========================================================= */
.apple-callout-box{
  margin-top: clamp(56px, 8vw, 88px);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: clamp(36px, 6vw, 56px);
  text-align: center;
}
.apple-callout-box h4{
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.apple-callout-box p{
  font-size: 17px;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 28px;
}



