/* 2pm.consulting – gemeinsames Stylesheet (Werte nach Tailwind-Skala) */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #2F3437;        /* Anthrazit aus dem Logo */
  --ink-2: #5B6266;
  --ink-3: #8A9094;
  --pink: #E91E63;       /* Logo-Pink */
  --pink-dark: #C2185B;
  --teal: #4CC9C9;       /* Logo-Türkis */
  --teal-soft: #E6F7F7;
  --pink-soft: #FDE8EF;
  --bg: #FFFFFF;
  --bg-2: #F5F6F6;
  --line: #E3E6E7;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Sprachumschaltung: nur die aktive Sprache anzeigen */
html[data-lang="de"] [lang="en"]:not(html), html[data-lang="en"] [lang="de"]:not(html) { display: none !important; }

/* Textstile */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; color: var(--ink-2); }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; color: var(--ink-2); }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow { color: var(--pink); margin-bottom: 16px; display: block; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 9999px; font-size: 1rem; line-height: 1.5rem; font-weight: 600; text-decoration: none; transition: transform 300ms var(--ease), background-color 300ms var(--ease), opacity 300ms var(--ease); cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; line-height: 1.25rem; }

/* Navigation (schwebend) */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; background: rgba(255,255,255,0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 9999px; width: max-content; max-width: calc(100% - 32px); }
.nav .logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color 300ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 9999px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 4px 8px; font: inherit; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; width: 20px; height: 2px; background: var(--ink); transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.menu-toggle span:nth-child(1) { top: 14px; } .menu-toggle span:nth-child(2) { top: 19px; } .menu-toggle span:nth-child(3) { top: 24px; }
.nav.open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-panel { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: center; padding: 96px 24px 48px; gap: 24px; opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.mobile-panel.open { opacity: 1; pointer-events: auto; }
.mobile-panel a { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(24px); transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
.mobile-panel.open a { opacity: 1; transform: none; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 680px; background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { max-width: 680px; margin-top: 24px; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 9999px; background: var(--bg-2); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2); }
.portrait { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.portrait .badge { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 12px 16px; }

/* Karten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 32px; transition: transform 500ms var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 24px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card li { padding-left: 24px; position: relative; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.card li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 9999px; background: var(--teal); }
.i-pink { background: var(--pink-soft); color: var(--pink); }
.i-teal { background: var(--teal-soft); color: #1E9A9A; }
.i-ink { background: var(--bg-2); color: var(--ink); }

.alt { background: var(--bg-2); }
.alt .card { border-color: transparent; }

/* Branchen */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { background: var(--bg); border-radius: 16px; padding: 24px; display: flex; align-items: center; gap: 16px; }
.industry .dot { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.industry .dot svg { width: 20px; height: 20px; }

/* Tagline-Reveal */
.tagline { padding: 128px 0; }
.tagline p { max-width: 900px; }
.tagline .w { color: rgba(47, 52, 55, 0.25); transition: color 600ms var(--ease); }
.tagline .w.on { color: var(--ink); }
.tagline .w.accent.on { color: var(--pink); }

/* Methoden */
.methods { display: flex; flex-wrap: wrap; gap: 12px; }
.method { padding: 12px 24px; border-radius: 9999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; }
.method.cert { border-color: var(--teal); background: var(--teal-soft); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 32px 24px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.step .n { width: 32px; height: 32px; border-radius: 9999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }
.step h3 { margin-bottom: 8px; }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { background: var(--bg); border-radius: 24px; padding: 32px; }
.quote blockquote { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.quote footer { margin-top: 24px; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-weight: 600; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; }

/* Abschluss */
.cta { background: var(--ink); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #C9CDCF; margin-top: 16px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #3B4145; text-decoration: none; color: #fff; transition: transform 300ms var(--ease); }
.contact-item:hover { transform: translateY(-2px); }
.contact-item small { display: block; color: #AEB4B7; font-size: 0.75rem; line-height: 1rem; }

/* Footer */
footer.site { padding: 48px 0; border-top: 1px solid var(--line); margin-top: 96px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 24px; }
footer.site a { text-decoration: none; color: var(--ink-2); }
footer.site a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { padding: 160px 0 48px; }
.legal .wrap { max-width: 800px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.5rem; margin-bottom: 8px; }
.legal ul { padding-left: 24px; }

/* Scroll-Einblendung */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 300ms linear; }
  .tagline .w { transition: none; color: var(--ink); }
  .btn:hover, .card:hover, .contact-item:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .cta { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .grid-3, .grid-4, .steps, .industries { grid-template-columns: repeat(2, 1fr); }
  .heading-1 { font-size: 3rem; }
  .heading-2 { font-size: 2.25rem; line-height: 2.5rem; }
}
/* Handy */
@media (max-width: 720px) {
  .nav-links, .nav .btn-sm { display: none; }
  .menu-toggle { display: block; }
  .nav { left: 16px; right: 16px; transform: none; width: auto; justify-content: space-between; }
  section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2, .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .grid-3, .grid-4, .steps, .industries, .quotes { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; border-radius: 24px; }
  .card, .quote { padding: 24px; }
  .tagline { padding: 80px 0; }
}

/* v0.2: festes Logo oben links, Sprache oben rechts (statt Menüleiste) */
.brand { position: fixed; top: 16px; left: 24px; z-index: 50; display: block; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand img { height: 32px; width: auto; }
.lang-fixed { position: fixed; top: 24px; right: 24px; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* Rollen-Karten exakt gleich breit */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Porträt: Ausschnitt nach rechts, damit Gesicht und Ohren drin sind */
.portrait img { object-position: 88% 30%; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } .brand { left: 16px; } .lang-fixed { right: 16px; } .brand img { height: 26px; } }

/* v0.3: größeres Logo, Schlüsselwörter im Hero in Logo-Farben und fett */
.brand img { height: 48px; }
.hero h1 b { font-weight: 700; }
.hero h1 .hl-pink { color: var(--pink); -webkit-text-fill-color: var(--pink); }
.hero h1 .hl-teal { color: #2FB5B5; -webkit-text-fill-color: #2FB5B5; }
.hero { padding-top: 176px; }
@media (max-width: 720px) { .brand img { height: 36px; } .hero { padding-top: 136px; } }

/* v0.4: lange deutsche Wörter in schmalen Karten sauber trennen */
.card h3, .step h3, .industry .title-2 { hyphens: manual; overflow-wrap: break-word; }
.grid-4 .card { padding: 24px; }
@media (min-width: 961px) { .grid-4 .card h3 { font-size: 1.125rem; } }
