/* ============================================================
   ORANGE Finance — Styles
   Pixelgenauer Nachbau von orange-finance.de als statische Site.
   Icons: Font Awesome Free 5.15.4 (CC BY 4.0, fontawesome.com)
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-vf.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("../fonts/merriweathersans-300.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--weiss); color: var(--text-dark); padding: 8px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background-image: var(--grad-header);
  box-shadow: var(--shadow-header);
}
.header-inner {
  height: 100%;
  padding: 0 var(--pad-page);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: block; padding: 10px; }
.logo img { height: 118px; width: auto; }
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; }
.main-nav ul a {
  display: flex; align-items: center; height: var(--header-h);
  padding: 0 25.5px;
  font-size: 15px; font-weight: 300; color: var(--weiss-warm);
  transition: color .2s;
}
.main-nav ul a:hover { color: rgba(255, 255, 255, .75); }
.nav-sep {
  width: 1px; height: 22px; background: rgba(255, 255, 255, .55);
  margin: 0 18px;
}
.nav-phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 300; color: var(--weiss-warm);
  padding: 0 10px;
}
.nav-phone svg { width: 15px; height: 15px; fill: var(--weiss-warm); }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle svg { width: 26px; height: 26px; fill: var(--weiss-warm); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: var(--grad-hero);
  padding: 0 var(--pad-page);
  min-height: 780px;
  display: flex;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/blob-hero.png") center center / cover no-repeat;
  opacity: .15;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { display: flex; width: 100%; }
.hero-text {
  width: 44%;
  padding: 103px 10px 10px;
  margin-top: 75px;
}
.hero-text h1 {
  font-size: 75px; font-weight: 900; line-height: 1;
  color: var(--weiss-warm);
  text-transform: capitalize;
  margin-bottom: 20px;
}
.hero-text p {
  font-family: var(--font-hero-text);
  font-size: 16px; font-weight: 300; line-height: 1.4;
  color: var(--weiss-warm);
  margin-bottom: 14px;
  padding-right: 0;
}
.hero-text .btn { margin-top: 20px; }
.hero-media {
  width: 56%;
  position: relative;
  padding: 10px;
}
.hero-media img {
  width: 736px; max-width: 100%;
  height: 509px; object-fit: cover;
  border-radius: var(--blob-hero);
  box-shadow: 0 0 30px rgba(0, 0, 0, .12);
  margin-top: 290px; margin-left: auto;
  margin-bottom: -39px; /* Foto überlappt Sektionsrand wie im Original */
}
.shape-hero-bottom {
  position: absolute; left: 0; right: 0; bottom: -1px;
  overflow: hidden; line-height: 0; pointer-events: none;
  transform: rotate(180deg);
}
.shape-hero-bottom svg {
  position: relative; left: 50%;
  width: calc(260% + 1.3px); max-width: none; height: 120px;
  transform: translateX(-50%) rotateY(180deg);
}
.shape-hero-bottom path { fill: var(--weiss); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 16px; font-weight: 500; line-height: 1.2;
  color: var(--weiss);
  background-color: var(--orange-2);
  padding: 15px 30px;
  border-radius: 30px;
  box-shadow: var(--shadow-button);
  text-transform: capitalize;
  transition: background-color .3s, color .3s;
}
.btn:hover { background-color: var(--weiss); color: var(--orange-2); }

/* ---------- Sektionen allgemein ---------- */
.section-eyebrow {
  font-size: 16px; font-weight: 300; line-height: 1.2;
  text-transform: capitalize;
  color: var(--orange-1);
  margin-bottom: 30px;
}
.section-title {
  font-size: 45px; font-weight: 300; line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* ---------- Leistungen ---------- */
.services {
  margin-top: 144px;
  padding: 0 var(--pad-page) 69px;
}
.services-head { padding: 20px 10px 10px; margin: 0 91px; max-width: 768px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 75px 17px 0;
}
.services-grid .card:nth-child(4) { grid-column: 2; }
.card {
  background: var(--weiss);
  min-height: 388px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 68px 50px;
}
.card-icon {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: #FDF0E8;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 44px;
}
.card-icon svg { width: 40px; height: 40px; fill: var(--orange-1); }
.card h2 {
  font-size: 20px; font-weight: 400; line-height: 1.2;
  color: var(--orange-1);
  text-transform: capitalize;
  margin-bottom: 20px;
}
.card p { font-size: 16px; font-weight: 300; line-height: 1.4; color: var(--text-dark); }

/* ---------- Zahlen-Band ---------- */
.band {
  position: relative;
  margin-top: 0;
  background-image: var(--grad-band);
  padding: 150px 10px 133px;
}
.shape-band-top, .shape-band-bottom {
  position: absolute; left: 0; right: 0;
  overflow: hidden; line-height: 0; pointer-events: none;
}
.shape-band-top { top: -1px; }
.shape-band-bottom { bottom: -1px; transform: rotate(180deg); }
.shape-band-top svg, .shape-band-bottom svg {
  position: relative; left: 50%; transform: translateX(-50%);
  width: calc(120% + 1.3px); max-width: none;
}
.shape-band-top svg { height: 50px; }
.shape-band-bottom svg { height: 46px; }
.shape-band-top path, .shape-band-bottom path { fill: var(--weiss); }
.band-inner { display: flex; align-items: flex-start; }
.band-title {
  width: 358px; flex-shrink: 0;
  margin: 31px 40px 0 20px;
  font-size: 45px; font-weight: 300; line-height: 1.2;
  text-transform: uppercase;
  color: var(--weiss-warm);
}
.band-counters {
  flex: 1;
  display: flex; justify-content: space-between;
  margin-right: 10px;
}
.counter { width: 301px; padding: 10px; text-align: center; margin-top: 1px; }
.counter-number {
  font-size: 69px; font-weight: 600; line-height: 1.2;
  color: var(--weiss);
}
.counter-label {
  font-size: 19px; font-weight: 300;
  color: var(--weiss);
  margin-top: 10px;
}

/* ---------- Optimale Lösung ---------- */
.loesung {
  margin-top: 236px;
  padding: 0 var(--pad-page) 165px;
}
.loesung-inner { display: flex; }
.loesung-media { width: 52%; padding: 10px 17px; }
.loesung-media img {
  width: 100%; max-width: 660px;
  height: 660px; object-fit: cover;
  border-radius: var(--blob-loesung);
  box-shadow: 0 0 30px rgba(0, 0, 0, .12);
}
.loesung-text { width: 48%; padding: 10px 0 10px 27px; }
.loesung-text .section-eyebrow { color: var(--text-dark); text-transform: none; margin-bottom: 45px; }
.loesung-text h2 {
  font-size: 45px; font-weight: 300; line-height: 1.2;
  text-transform: capitalize;
  color: var(--orange-heading);
  margin-bottom: 25px;
}
.loesung-text p {
  font-size: 16px; font-weight: 300; line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.loesung-text h2.sub {
  font-size: 30px; font-weight: 300; line-height: 1.2;
  text-transform: capitalize;
  color: var(--orange-1);
  margin: 30px 0 18px;
}
.loesung-text ul { list-style: disc; padding-left: 22px; }
.loesung-text li {
  font-size: 16px; font-weight: 300; line-height: 1.5;
  color: var(--text-dark);
}

/* ---------- Footer ---------- */
.footer-links {
  background: var(--footer-grau);
  display: flex; justify-content: center; align-items: center; gap: 60px;
  padding: 9px var(--pad-page);
}
.footer-links a {
  font-size: 15px; font-weight: 300; color: var(--text-body);
  transition: color .2s;
}
.footer-links a:hover { color: var(--orange-1); }
.footer-copy {
  background-image: var(--grad-header);
  text-align: center;
  padding: 1px 0;
}
.footer-copy h2 {
  display: inline-block;
  font-family: var(--font-copyright);
  font-size: 14px; font-weight: 300; line-height: 30px;
  color: var(--weiss-warm);
  text-transform: capitalize;
}

/* ---------- Eingangs-Animationen ---------- */
.anim { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.anim.in-view { opacity: 1; transform: none; }
.anim-fade { opacity: 0; transition: opacity 1s ease; }
.anim-fade.in-view { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .anim, .anim-fade { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   Tablet ≤ 1024
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--weiss);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { display: block; }
  .main-nav ul a {
    height: auto; padding: 14px 24px;
    color: var(--grau-nav-mobil);
    border-bottom: 1px solid #eee;
  }
  .nav-sep { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }

  .hero-text h1 { font-size: 52px; }
  .hero-media img { height: 400px; margin-top: 200px; }
  .services-head { margin: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); margin: 80px 0 0; }
  .services-grid .card:nth-child(4) { grid-column: auto; }
  .band-inner { flex-wrap: wrap; }
  .band-title { width: 100%; text-align: center; margin-bottom: 30px; }
  .band-counters { width: 100%; }
  .loesung-media img { height: 520px; }
}

/* ============================================================
   Mobil ≤ 767
   ============================================================ */
@media (max-width: 767px) {
  :root { --header-h: 110px; --pad-page: 16px; }
  .logo img { height: 86px; }

  .hero { min-height: 0; flex-direction: column; padding-bottom: 90px; }
  .hero-inner { flex-direction: column; }
  .hero-text { width: 100%; margin-top: 40px; text-align: center; }
  .hero-text h1 { font-size: 32px; line-height: 1.1; }
  .hero-media {
    width: 100%;
    background-position: top right;
    background-size: 100%;
  }
  .hero-media img {
    width: 100%; height: 300px;
    margin-top: 60px;
    border-radius: 150px 50px 50px 50px;
  }
  .shape-hero-bottom svg { height: 60px; }

  .services { margin-top: 80px; }
  .section-title { font-size: 30px; }
  .services-head { text-align: center; }
  .services-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .card { padding: 45px 35px; }

  .band { margin-top: 90px; padding: 90px var(--pad-page) 70px; }
  .band-title { font-size: 30px; }
  .band-counters { flex-direction: column; }
  .counter { width: 100%; margin-bottom: 25px; }
  .counter-number { font-size: 50px; }

  .loesung { margin-top: 80px; padding-bottom: 60px; }
  .loesung-inner { flex-direction: column; }
  .loesung-media, .loesung-text { width: 100%; padding: 10px 0; }
  .loesung-media img { height: 380px; border-radius: 50px 50px 150px 50px; }
  .loesung-text h2 { font-size: 30px; }
  .loesung-text h2.sub { font-size: 24px; }

  .footer-links { gap: 30px; flex-wrap: wrap; }
}

/* ============================================================
   Unterseiten
   ============================================================ */

/* Aktiver Menüpunkt */
.main-nav ul a { position: relative; }
.main-nav ul a.aktiv::after {
  content: ""; position: absolute;
  left: 25.5px; right: 25.5px; bottom: 2px; height: 2px;
  background: var(--weiss-warm);
}

/* Titel-Hero */
.page-hero {
  position: relative;
  background-image: var(--grad-hero);
  min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: center center / cover no-repeat;
  opacity: .15; pointer-events: none;
}
.page-hero--about::before { background-image: url("../img/blob-about.png"); }
.page-hero--kontakt::before { background-image: url("../img/blob-kontakt.png"); }
.page-hero--kontakt { padding: 0 var(--pad-page); }
.page-hero h1 {
  position: relative;
  width: 100%;
  font-size: 50px; font-weight: 500; line-height: 1.2;
  color: var(--weiss-warm); text-align: center;
  text-transform: capitalize;
}

/* Über uns */
.about-content { background: #F3F3F3; padding: 50px var(--pad-page) 105px; }
.about-inner { display: flex; }
.about-text { width: 36.8%; padding: 104px 10px 10px 0; }
.about-text h2 {
  font-size: 35px; font-weight: 300; line-height: 1.2;
  text-transform: uppercase; color: var(--orange-1);
  margin-bottom: 25px;
}
.about-text p { font-size: 16px; font-weight: 300; line-height: 1.65; color: #525252; }
.about-media { width: 56%; padding: 0 0 0 10px; }
.about-media img {
  width: 734px; max-width: 100%; height: 528px; object-fit: cover;
  border-radius: 200px 100px 100px 100px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .12);
  margin-left: auto;
}

/* Kontakt */
.kontakt-top { display: flex; align-items: flex-start; padding: 72px var(--pad-page) 0; }
.form-card {
  width: 691px; flex-shrink: 0;
  background: var(--weiss);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .06);
  padding: 83px;
}
.form-row { display: flex; gap: 10px; }
.form-card input, .form-card textarea {
  width: 100%;
  background: #F7F7F7; border: 0; border-radius: 10px;
  font-family: var(--font-text); font-size: 14px; font-weight: 300;
  color: var(--text-dark);
  padding: 13px 15px; margin-bottom: 10px;
  outline: none;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #9A9A9A; }
.form-card textarea { height: 98px; resize: vertical; }
.form-send-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.btn--send {
  font-size: 15px; border: 0; cursor: pointer; font-family: var(--font-text);
  padding: 13px 34px;
}
.kontakt-intro { margin-left: 83px; width: 525px; padding-top: 283px; }
.kontakt-intro h3 {
  font-size: 16px; font-weight: 300; line-height: 1.2;
  color: var(--orange-2); text-transform: uppercase;
  margin-bottom: 20px;
}
.kontakt-intro h2 {
  font-size: 35px; font-weight: 300; line-height: 1.2;
  color: var(--grau-nav-mobil);
}
.kontakt-cards { display: flex; justify-content: flex-start; gap: 51px; margin-top: 439px; padding: 0 0 182px 54px; }
.info-card {
  width: 405px; min-height: 280px;
  background: var(--weiss);
  border-radius: 15px 15px 15px 70px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .05);
  text-align: center;
  padding: 44px 35px;
}
.info-card svg { margin: 0 auto 40px; fill: var(--orange-1); }
.info-card h3 { font-size: 20px; font-weight: 400; line-height: 1.2; color: var(--text-dark); margin-bottom: 14px; }
.info-card p { font-size: 16px; font-weight: 300; color: var(--grau-nav-mobil); }
.info-card a { transition: color .2s; }
.info-card a:hover { color: var(--orange-1); }

/* Textseiten (Impressum / Datenschutz) */
.text-page { padding: 70px 30px 100px; }
.text-page p { font-size: 16px; font-weight: 400; line-height: 1.42; color: var(--text-body); margin-bottom: 7px; }
.legal { padding: 38px 20px 60px; }
.legal h1 { font-size: 40px; font-weight: 900; line-height: 1.2; color: var(--text-body); margin-bottom: 16px; }
.legal h2 { font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--text-body); margin: 16px 0; }
.legal h3 { font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--text-body); margin: 16px 0; }
.legal h4 { font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--text-body); margin: 8px 0 16px; }
.legal p, .legal li { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--text-body); margin-bottom: 13.5px; margin-top: 0; }
.legal li { margin-bottom: 0; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal a { color: var(--orange-1); }
.legal a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .about-inner, .kontakt-top { flex-direction: column; }
  .about-text, .about-media { width: 100%; }
  .form-card { width: 100%; padding: 45px 35px; }
  .kontakt-intro { margin: 50px 0 0; width: 100%; padding-top: 0; }
  .kontakt-cards { flex-wrap: wrap; margin-top: 60px; }
}
@media (max-width: 767px) {
  .page-hero { min-height: 300px; }
  .page-hero h1 { font-size: 34px; }
  .about-content { padding: 40px var(--pad-page) 60px; }
  .about-text { padding-top: 30px; }
  .about-media img { height: 320px; border-radius: 100px 50px 50px 50px; }
  .info-card { width: 100%; }
  .kontakt-cards { gap: 25px; }
  .text-page, .legal { padding: 40px 16px 60px; }
  .legal h1 { font-size: 30px; }
  .legal h2 { font-size: 25px; }
  .legal h3 { font-size: 21px; }
}

/* Kontaktformular: versteckte Labels, Honeypot, Statusmeldung, Datenschutzhinweis */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp-feld { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; padding: 12px 15px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-status--ok { background: #EAF7EE; color: #1E6B3A; }
.form-status--fehler { background: #FDEDEA; color: #A3342A; }
.form-datenschutz { margin-top: 18px; font-size: 13px; font-weight: 300; color: #9A9A9A; line-height: 1.5; }
.form-datenschutz a { color: inherit; text-decoration: underline; }
