/* ─── CSS Custom Properties ──────────────────────────────────────────── */
:root {
  --pft-bg:           #f6f7f9;
  --pft-card:         #fff;
  --pft-border:       #e7e9ee;
  --pft-text:         #101828;
  --pft-muted:        rgba(16, 24, 40, .72);
  --pft-accent:       #0b57d0;
  --pft-accent-light: rgba(11, 87, 208, .12);
  --pft-accent-glow:  rgba(11, 87, 208, .22);
  --pft-tl-line:      rgba(11, 87, 208, .18);

  --radius-card: 18px;
  --radius-btn:  999px;
  --shadow-card: 0 10px 28px rgba(0, 0, 0, .08);
  --shadow-btn:  0 4px 14px rgba(11, 87, 208, .22);

  --header-h: 68px;

  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif, "Apple Color Emoji";

  --transition: 200ms ease;
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-system);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pft-text);
  background: var(--pft-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--pft-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Keyboard focus ring */
:focus-visible {
  outline: 3px solid var(--pft-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--pft-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ─── Layout helpers ─────────────────────────────────────────────────── */
.section {
  padding: 88px 0;
}

.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Typography ─────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--pft-text);
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--pft-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
}

/* ─── Card ───────────────────────────────────────────────────────────── */
.card {
  background: var(--pft-card);
  border: 1px solid var(--pft-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-system);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pft-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: #0948b3;
  box-shadow: 0 6px 20px rgba(11, 87, 208, .34);
}

.btn-secondary {
  background: var(--pft-accent-light);
  color: var(--pft-accent);
}

.btn-secondary:hover {
  background: rgba(11, 87, 208, .2);
}

.btn-outline {
  border-color: var(--pft-border);
  background: transparent;
  color: var(--pft-text);
}

.btn-outline:hover {
  border-color: var(--pft-accent);
  color: var(--pft-accent);
}

/* ─── Site header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 247, 249, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pft-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pft-text);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--pft-accent-light);
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: var(--pft-muted);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pft-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--pft-accent);
  text-decoration: none;
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

/* Hamburger button — hidden on desktop, shown via mobile.css */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--pft-text);
  border-radius: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--pft-accent-light);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-hamburger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close     { display: block; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #eaf0fb 0%, #f1f4fa 45%, var(--pft-bg) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -15%;
  right: -8%;
  width: clamp(300px, 45vw, 700px);
  height: clamp(300px, 45vw, 700px);
  background: radial-gradient(circle, rgba(11, 87, 208, .10) 0%, rgba(11, 87, 208, .03) 55%, transparent 72%);
}

.hero::after {
  bottom: -12%;
  left: -6%;
  width: clamp(200px, 30vw, 480px);
  height: clamp(200px, 30vw, 480px);
  background: radial-gradient(circle, rgba(11, 87, 208, .07) 0%, transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pft-accent);
  background: var(--pft-accent-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.07;
  color: var(--pft-text);
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--pft-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Kontakt ────────────────────────────────────────────────────────── */
.cards-row {
  display: grid;
  gap: 20px;
}

/* Make the whole card a link */
a.kontakt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

a.kontakt-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.kontakt-icon {
  width: 52px;
  height: 52px;
  color: var(--pft-accent);
  background: var(--pft-accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 4px;
}

.kontakt-icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-icon {
  color: #25d366;
  background: rgba(37, 211, 102, .12);
}

.kontakt-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.kontakt-link {
  font-size: .97rem;
  font-weight: 600;
  color: var(--pft-accent);
}

.kontakt-hint {
  font-size: .83rem;
  color: var(--pft-muted);
}

/* ─── Timeline shared ────────────────────────────────────────────────── */
.angebote {
  background: var(--pft-bg);
}

.timeline {
  display: grid;
}

.timeline-row {
  display: grid;
}

.timeline-card {
  padding: 24px 28px;
}

.timeline-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pft-text);
}

.timeline-card p {
  font-size: .9rem;
  color: var(--pft-muted);
  line-height: 1.65;
}

/* Center column (dot + line) */
.timeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  min-height: 100%;
}

.tl-line {
  flex: 1;
  width: 2px;
  background: var(--pft-tl-line);
}

.tl-line-top  { min-height: 20px; }
.tl-line-bottom { min-height: 20px; }

.tl-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pft-accent);
  box-shadow: 0 0 0 6px var(--pft-accent-glow);
  z-index: 1;
}

/* ─── Preise ─────────────────────────────────────────────────────────── */
.preise {
  background: linear-gradient(150deg, #eef3fb 0%, var(--pft-bg) 60%);
}

.pdf-wrapper {
  padding: 0;
  overflow: hidden;
  margin-bottom: 16px;
}

.pdf-frame {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

.pdf-fallback {
  padding: 14px 24px;
  border-top: 1px solid var(--pft-border);
}

.pdf-fallback-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--pft-accent);
}

/* Mobile download card (hidden on desktop) */
.pdf-mobile-card {
  display: none;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdf-mobile-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .1);
}

.pdf-mobile-card svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--pft-accent);
}

.pdf-mobile-card strong {
  display: block;
  font-size: 1rem;
  color: var(--pft-text);
  margin-bottom: 2px;
}

.pdf-mobile-card span {
  font-size: .83rem;
  color: var(--pft-muted);
}

.disclaimer {
  background: rgba(255, 248, 224, .8);
  border-color: #f0d070;
  box-shadow: none;
  font-size: .88rem;
  color: var(--pft-muted);
  line-height: 1.7;
  margin-top: 16px;
}

.disclaimer strong {
  color: var(--pft-text);
}

/* ─── Partner ────────────────────────────────────────────────────────── */
.partner {
  background: var(--pft-card);
}

.partner-grid {
  display: grid;
  gap: 20px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pft-border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--pft-bg);
  min-height: 120px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.partner-item:hover {
  border-color: rgba(11, 87, 208, .3);
  box-shadow: 0 6px 20px rgba(11, 87, 208, .08);
}

.partner-logo {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter var(--transition), opacity var(--transition);
  margin: 0 auto;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0);
  opacity: 1;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: #0d1321;
  color: rgba(255, 255, 255, .65);
  padding: 56px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.footer-owner {
  font-size: .86rem;
  color: rgba(255, 255, 255, .45);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, .45);
  font-size: .83rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, .28);
}

/* ─── Legal subpages ─────────────────────────────────────────────────── */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pft-muted);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 36px;
  transition: color var(--transition);
}

.legal-back:hover {
  color: var(--pft-accent);
  text-decoration: none;
}

.legal-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--pft-text);
  margin-bottom: 6px;
}

.legal-date {
  font-size: .85rem;
  color: var(--pft-muted);
  margin-bottom: 48px;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pft-text);
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--pft-border);
}

.legal-wrap h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-wrap h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--pft-text);
  margin: 20px 0 8px;
}

.legal-wrap p {
  font-size: .94rem;
  color: var(--pft-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-wrap ul,
.legal-wrap ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-wrap li {
  font-size: .94rem;
  color: var(--pft-muted);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-wrap a {
  color: var(--pft-accent);
  word-break: break-all;
}

.legal-wrap strong {
  color: var(--pft-text);
  font-weight: 600;
}

.legal-highlight {
  background: rgba(11, 87, 208, .06);
  border-left: 3px solid var(--pft-accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
}

.legal-highlight p {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .legal-wrap {
    padding: 40px 20px 64px;
  }
}

/* ─── Instagram strip ────────────────────────────────────────────────── */
.insta-strip {
  background: #fff;
  border-top: 1px solid var(--pft-border);
  border-bottom: 1px solid var(--pft-border);
}

.insta-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
}

.insta-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.insta-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.insta-label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--pft-text);
  line-height: 1.3;
}

.insta-sub {
  font-size: .82rem;
  color: var(--pft-muted);
}

.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  font-family: var(--font-system);
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition),
              box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(238, 42, 123, .28);
}

.insta-btn:hover {
  text-decoration: none;
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 42, 123, .38);
}

.insta-btn svg {
  width: 14px;
  height: 14px;
}

/* ─── Footer Instagram link ───────────────────────────────────────────── */
.footer-insta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-insta-link:hover {
  color: #fff;
  text-decoration: none;
}

.footer-insta-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.footer-insta-icon svg {
  width: 16px;
  height: 16px;
}

/* ─── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
