/* twinte.css – Custom Styles für die Twinte Startseite */

:root {
  --ink: #071024;
  --night: #081132;
  --night-2: #0b1850;
  --panel: #101e50;
  --text: #f7fbff;
  --muted: #aab8d8;
  --cyan: #27f3df;
  --magenta: #ff19c8;
  --violet: #6f3cff;
  --gold: #ffd060;
  --white: #ffffff;
  --soft: #eef4ff;
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9ff;
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

a { color: inherit; }

.site-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(39, 243, 223, .16), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(255, 25, 200, .18), transparent 28rem),
    #f7f9ff;
}

/* Container-Breite global vergrößern */
.site-shell .container {
  max-width: 1240px;
}

/* Divi-Resets neutralisieren */
.site-shell p { padding-bottom: 0; }
.site-shell a { color: inherit; text-decoration: none; }
.site-shell ul { list-style: none; }

/* Navigation – fixed, mit Glas-Effekt beim Scrollen */
.nav-twinte {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease, backdrop-filter .25s ease;
}

.nav-twinte.is-scrolled {
  padding: 14px 0;
  background: rgba(8, 17, 50, .72);
  border-bottom-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.brand {
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .78);
  font-size: .94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  transition: color .18s ease;
}

.nav-links a:hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle-lines { position: relative; }

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after { top: 7px; }

.nav-twinte.nav-open .nav-toggle-lines {
  width: 0;
  background: transparent;
}

.nav-twinte.nav-open .nav-toggle-lines::before {
  left: -10px;
  top: 0;
  transform: rotate(45deg);
}

.nav-twinte.nav-open .nav-toggle-lines::after {
  left: -10px;
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons */
.btn-twinte,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 24px;
  border: 0;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-twinte {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), #a721ff 55%, #2a77ff);
  box-shadow: 0 16px 34px rgba(255, 25, 200, .28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}

.btn-ghost.light {
  color: #071024;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px rgba(255, 255, 255, .12);
}

.btn-twinte:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost.light:hover {
  color: #071024;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 880px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(5, 10, 35, .98) 0%, rgba(7, 13, 48, .94) 44%, rgba(7, 13, 48, .7) 72%, rgba(7, 13, 48, .9) 100%),
    url("twinte-hero-subtle.webp") right center / cover no-repeat,
    var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 880px;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: 108px;
  padding-bottom: 190px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-person {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 360px);
  margin: 22px 24px 0 0;
}

.mobile-hero-person {
  display: none;
  margin: 26px 0 32px;
}

/* Polaroid */
.polaroid {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 18px 18px 22px;
  background: #fdfdfb;
  border-radius: 4px;
  transform: rotate(-3deg);
  box-shadow:
    0 32px 60px rgba(0, 0, 0, .45),
    0 6px 18px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(0, 0, 0, .04);
  transition: transform .4s ease;
  max-width: 320px;
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 30%, rgba(39, 243, 223, .35), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(255, 25, 200, .32), transparent 55%);
  filter: blur(38px);
  opacity: .85;
  pointer-events: none;
}

.polaroid:hover { transform: rotate(-1deg) translateY(-4px); }

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 14%;
  border-radius: 1px;
  filter: saturate(1.03) contrast(1.03);
}

.polaroid-tape {
  position: absolute;
  width: 86px;
  height: 22px;
  background: linear-gradient(180deg, rgba(39, 243, 223, .55), rgba(39, 243, 223, .35));
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  pointer-events: none;
}

.polaroid-tape--left {
  top: -10px;
  left: -22px;
  transform: rotate(-32deg);
}

.polaroid-tape--right {
  top: -12px;
  right: -24px;
  transform: rotate(28deg);
  background: linear-gradient(180deg, rgba(255, 25, 200, .55), rgba(255, 25, 200, .35));
}

.polaroid-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 4px 4px;
  text-align: center;
}

.polaroid-name {
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: #1a1f3a;
  letter-spacing: 0;
}

.polaroid-role {
  font-family: "Inter", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f7a90;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: rgba(255,255,255,.84);
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 26px;
  box-shadow: inset 0 0 0 1px rgba(39,243,223,.08);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: .88;
}

.eyebrow::after {
  width: 14px;
  opacity: .48;
}

.hero h1,
.site-shell h1 {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(3.2rem, 6.3vw, 6.9rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: 0;
  padding-bottom: 0;
}

.hero-accent {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(115deg, var(--cyan) 0%, #8f7cff 42%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 34px rgba(255, 25, 200, .18);
}

.hero-sub {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.proof-item {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  display: block;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 7px;
}

.proof-item span {
  color: rgba(255, 255, 255, .67);
  font-size: .85rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(6, 13, 44, .84);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1.08fr) minmax(430px, .9fr);
  gap: 54px;
  align-items: center;
  min-height: 132px;
  color: rgba(255, 255, 255, .76);
}

.logo-wordmarks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  width: min(100%, 560px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, .58);
  font-size: 1.48rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  opacity: .86;
}

.wordmark.google {
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #e8eefc;
}

.wordmark.shopify {
  font-style: italic;
  color: #dce8dd;
}

.wordmark.wordpress {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #dce9f6;
}

.avatar-note {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  font-size: .9rem;
  line-height: 1.45;
}

.stats-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  justify-self: end;
  align-self: center;
  width: min(100%, 500px);
  padding-top: 6px;
  padding-bottom: 6px;
}

.bottom-stat {
  position: relative;
  min-height: 80px;
  padding: 0;
}

.bottom-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(2.9rem, 4vw, 4.25rem);
  line-height: 1;
  font-weight: 900;
}

.bottom-stat > span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.35;
}

/* Sections */
.section {
  padding: 104px 0;
  background: #fff;
}

.section.dark {
  color: #fff;
  background:
    radial-gradient(circle at 15% 18%, rgba(39, 243, 223, .16), transparent 22rem),
    radial-gradient(circle at 85% 30%, rgba(255, 25, 200, .16), transparent 24rem),
    #081132;
}

.section.soft { background: #f3f6ff; }

.kicker {
  margin: 0 0 14px;
  color: #7a31ff;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.dark .kicker { color: var(--cyan); }

.site-shell h2,
.site-shell h3 {
  color: inherit;
  font-weight: 900;
  padding-bottom: 0;
  line-height: 1;
}

.site-shell h2 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4vw, 4.45rem);
  line-height: .98;
  letter-spacing: 0;
}

.lead-text {
  max-width: 770px;
  margin: 0 0 42px;
  color: #536079;
  font-size: 1.13rem;
  line-height: 1.75;
}

.dark .lead-text { color: rgba(255, 255, 255, .72); }

/* Service Cards */
.service-card,
.project-card,
.process-card,
.package-card {
  height: 100%;
  border-radius: 8px;
  border: 1px solid #dfe7f7;
  background: #fff;
  box-shadow: 0 20px 60px rgba(8, 17, 50, .07);
}

.service-card {
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 243, 223, .3), transparent 70%);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 12%, rgba(39, 243, 223, .16), transparent 38%),
    linear-gradient(135deg, rgba(8, 17, 50, .04), rgba(111, 60, 255, .08));
  border: 1px solid rgba(111, 60, 255, .16);
  box-shadow: 0 14px 30px rgba(111, 60, 255, .12);
}

.service-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-card h3,
.process-card h3,
.package-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  font-weight: 900;
}

.service-card p,
.process-card p,
.package-card p {
  margin: 0;
  color: #5a657b;
  line-height: 1.65;
}

/* Diagnose */
.diagnosis {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.audit-panel {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
  box-shadow: var(--shadow);
  padding: 26px;
}

.audit-row {
  display: grid;
  grid-template-columns: 118px 1fr 44px;
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  font-size: .9rem;
}

.audit-row:last-child { border-bottom: 0; }

.audit-value {
  color: rgba(255,255,255,.84);
  text-align: right;
  font-size: .82rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.range-wrap {
  position: relative;
  height: 26px;
  display: flex;
  align-items: center;
}

.range-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 13px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.range-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 13px;
  width: var(--w);
  transform: translateY(-50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  pointer-events: none;
}

.range-thumb {
  position: absolute;
  z-index: 3;
  left: var(--w);
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 0 5px rgba(39, 243, 223, .14), 0 8px 18px rgba(0,0,0,.32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.audit-slider {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 26px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.audit-slider:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
  border-radius: 999px;
}

.audit-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audit-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audit-slider::-moz-range-track {
  background: transparent;
  border: 0;
}

/* Prozess */
.process-card {
  padding: 28px;
  background: rgba(255, 255, 255, .96);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 52%, var(--magenta));
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(111, 60, 255, .2);
}

/* Referenzen */
.project-card { overflow: hidden; }

.project-visual {
  position: relative;
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(39, 243, 223, .2), rgba(255, 25, 200, .18)),
    #0b1850;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}

.project-visual.no-image::before,
.project-visual.no-image::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  transform: rotate(-32deg);
}

.project-visual.no-image::before {
  width: 330px;
  height: 88px;
  left: -40px;
  top: 52px;
  background: linear-gradient(90deg, var(--cyan), #2d74ff);
}

.project-visual.no-image::after {
  width: 260px;
  height: 70px;
  right: -42px;
  bottom: 38px;
  background: linear-gradient(90deg, var(--magenta), var(--gold));
}

.project-body { padding: 26px; }

.project-tag {
  display: inline-flex;
  margin-bottom: 13px;
  color: #6e39ff;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-body h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 900;
}

.project-body p {
  margin: 0;
  color: #5a657b;
  line-height: 1.65;
}

/* Pakete */
.package-card {
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 60, 255, .34);
  box-shadow: 0 28px 78px rgba(8, 17, 50, .13);
}

.package-card.featured {
  color: #fff;
  border-color: rgba(39, 243, 223, .24);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 25, 200, .26), transparent 17rem),
    linear-gradient(145deg, #0b1850, #081132);
}

.package-card.featured p,
.package-card.featured li { color: rgba(255, 255, 255, .73); }

.package-card.featured:hover {
  border-color: rgba(39, 243, 223, .55);
  box-shadow: 0 32px 86px rgba(8, 17, 50, .22), 0 0 40px rgba(39, 243, 223, .12);
}

.badge-twinte {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #071024;
  background: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price {
  margin: 16px 0 18px;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
}

.price-note {
  margin-top: -6px;
  color: #6f7a90;
  font-size: .86rem;
  font-weight: 800;
}

.featured .price-note { color: rgba(255,255,255,.62); }

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #5a657b;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
}

.package-cta {
  margin-top: auto;
  padding-top: 28px;
}

.package-btn {
  width: 100%;
  color: #071024;
  background: #fff;
  border: 1px solid #dfe7f7;
  box-shadow: 0 12px 28px rgba(8, 17, 50, .08);
}

.package-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), #2a77ff);
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(111, 60, 255, .24);
}

.featured .package-btn {
  color: #071024;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(39, 243, 223, .22);
}

.featured .package-btn:hover {
  color: #071024;
  background: #fff;
  border-color: #fff;
}

/* CTA Band */
.cta-band {
  position: relative;
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 25, 200, .85), rgba(111, 60, 255, .92) 46%, rgba(39, 243, 223, .78)),
    #101e50;
}

.cta-band h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.cta-band p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Footer */
footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, .68);
  background: #05091d;
  font-size: .92rem;
}

footer a { text-decoration: none; }

/* Responsive */
@media (max-width: 991px) {
  .nav-twinte { padding: 18px 0; }
  .nav-toggle { display: inline-flex; }

  .nav-twinte nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;
    z-index: 1001;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, #071024 0%, #0a1430 100%);
    box-shadow: 0 24px 60px rgba(0,0,0,.56);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .nav-twinte.nav-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    display: block;
    padding: 13px 14px;
    border-radius: 6px;
  }

  .nav-links a:hover { background: rgba(255,255,255,.08); }

  .nav-twinte .btn-twinte { display: none; }

  .hero,
  .hero-inner { min-height: auto; }

  .hero {
    padding-bottom: 0;
    background:
      linear-gradient(180deg, rgba(5, 10, 35, .98) 0%, rgba(7, 13, 48, .88) 58%, rgba(7, 13, 48, .98) 100%),
      url("twinte-hero-subtle.webp") center 76% / cover no-repeat,
      var(--night);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 88px;
    padding-bottom: 80px;
  }

  /* Desktop-Polaroid aus, mobiles Polaroid unter H1 anzeigen */
  .hero-person { display: none; }

  .mobile-hero-person {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
  }

  .mobile-hero-person .polaroid {
    max-width: 300px;
    transform: rotate(-2deg);
  }

  .mobile-hero-person .polaroid img {
    aspect-ratio: 5 / 4;
    object-position: center 22%;
  }

  .hero-bottom { position: relative; }

  .hero-bottom-grid {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .stats-duo { justify-self: stretch; }

  .diagnosis { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  /* Divi-Container-Default (80%) auf Mobile verbreitern */
  .site-shell .container { width: 95%; }

  .hero-inner {
    padding-top: 94px;
    padding-bottom: 64px;
  }

  h1 { font-size: clamp(2.75rem, 16vw, 4.8rem); }
  .hero-sub { font-size: 1rem; }

  .eyebrow {
    font-size: .68rem;
    gap: 8px;
    padding: 7px 10px;
  }

  .eyebrow::before { width: 18px; }
  .eyebrow::after { display: none; }

  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

  .hero-actions .btn-twinte,
  .hero-actions .btn-ghost { width: auto; }

  .mobile-hero-person {
    margin: 42px 0 34px;
  }

  .mobile-hero-person .polaroid {
    max-width: 260px;
    padding: 14px 14px 18px;
    transform: rotate(-2deg);
  }

  .mobile-hero-person .polaroid img {
    aspect-ratio: 5 / 4;
    object-position: center 22%;
  }

  .polaroid-name { font-size: 1.7rem; }
  .polaroid-role { font-size: .66rem; letter-spacing: .12em; }
  .polaroid-tape { width: 70px; height: 18px; }

  .hero-bottom-grid { grid-template-columns: 1fr; }

  .proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
  }

  .proof-item {
    min-height: 78px;
    padding: 12px 10px;
  }

  .proof-item strong { font-size: 1.15rem; }
  .proof-item span { font-size: .7rem; line-height: 1.3; }

  .stats-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
  }

  .bottom-stat strong { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .bottom-stat > span { font-size: .88rem; line-height: 1.25; }

  .package-card { padding: 24px 20px; }
  .price { font-size: 2rem; }
  .service-card { padding: 24px 20px; }
  .process-card { padding: 24px 20px; }
  .project-body { padding: 22px 20px; }

  .logo-wordmarks {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .section { padding: 76px 0; }

  .audit-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ------------------------------------------------------------------
   Textseiten (Impressum, Datenschutz, AGB)
------------------------------------------------------------------ */

.twinte-text-page {
  background: #f7f9ff;
}

.legal-hero {
  position: relative;
  padding: 128px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(39, 243, 223, .18), transparent 24rem),
    radial-gradient(circle at 82% 30%, rgba(255, 25, 200, .18), transparent 24rem),
    #081132;
}

.legal-hero .kicker { color: var(--cyan); }

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
}

.legal-page .section { padding: 56px 0 96px; background: transparent; }

.legal-content {
  max-width: 820px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1e2a44;
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 2em 0 .6em;
  color: #071024;
  font-weight: 900;
  line-height: 1.2;
  padding-bottom: 0;
}

.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child { margin-top: 0; }

.legal-content h2 { font-size: 1.6rem; }
.legal-content h3 { font-size: 1.25rem; }
.legal-content h4 { font-size: 1.05rem; }

.legal-content p { margin: 0 0 1.1em; padding-bottom: 0; }

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.3em;
  padding-left: 1.4em;
  list-style: disc;
}

.legal-content ol { list-style: decimal; }

.legal-content li { margin-bottom: .35em; }

.legal-content a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--magenta); }

.legal-content strong { font-weight: 800; color: #071024; }

.legal-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #e6ecf8;
}

@media (max-width: 767px) {
  .legal-hero { padding: 72px 0 40px; }
  .legal-content { font-size: .98rem; }
  .legal-content h2 { font-size: 1.35rem; }
}


/* ------------------------------------------------------------------
   WPForms im Kontakt-Block an das TWINTE-Design anpassen
------------------------------------------------------------------ */

#kontakt .wpforms-container-full {
  margin: 0;
  --wpforms-field-border-radius: 8px;
  --wpforms-field-border-size: 1px;
  --wpforms-field-background-color: rgba(255, 255, 255, .05);
  --wpforms-field-border-color: rgba(255, 255, 255, .16);
  --wpforms-field-text-color: #ffffff;
  --wpforms-label-color: #ffffff;
  --wpforms-label-sublabel-color: rgba(255, 255, 255, .5);
  --wpforms-button-background-color: #a721ff;
  --wpforms-button-text-color: #ffffff;
  --wpforms-button-border-radius: 8px;
}

/* Labels */
#kontakt .wpforms-field-label {
  color: #fff;
  font-weight: 700;
}

#kontakt .wpforms-field-sublabel {
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
}

#kontakt .wpforms-required-label {
  color: var(--magenta);
}

/* Eingabefelder + Textarea */
#kontakt .wpforms-field input[type="text"],
#kontakt .wpforms-field input[type="email"],
#kontakt .wpforms-field input[type="tel"],
#kontakt .wpforms-field input.wpforms-field-medium,
#kontakt .wpforms-field input.wpforms-field-name-first,
#kontakt .wpforms-field input.wpforms-field-name-last,
#kontakt .wpforms-field textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  padding: 12px 14px;
}

#kontakt .wpforms-field input::placeholder,
#kontakt .wpforms-field textarea::placeholder {
  color: rgba(255, 255, 255, .45);
}

#kontakt .wpforms-field input:focus,
#kontakt .wpforms-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(39, 243, 223, .15);
  outline: none;
}

/* Submit-Button im TWINTE-Stil */
#kontakt .wpforms-submit {
  width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  font-size: .95rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--magenta), #a721ff 55%, #2a77ff) !important;
  box-shadow: 0 16px 34px rgba(255, 25, 200, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

#kontakt .wpforms-submit:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

/* Bestätigungstext nach dem Absenden */
#kontakt .wpforms-confirmation-container-full {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  padding: 18px 20px;
}
