/* ==========================================================================
   REVIS-1.COM – Globales Stylesheet
   Design-Referenz: Porsche Consulting
   Farben: Schwarz, Weiß, Rot (#E30000) als Akzent
   Fonts: Oswald (Headlines), Inter (Body)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;500&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #666666;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #000000;
  line-height: 1.15;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

p {
  font-size: 17px;
  line-height: 1.75;
  color: #666666;
}

.label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E30000;
}

/* ---------- Container & Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: #F4F4F4;
}

.section--dark {
  background: #1A1A1A;
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: #FFFFFF;
}

.section--dark p {
  color: #AAAAAA;
}

/* Grid Helpers */
.grid {
  display: grid;
  gap: 32px;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: #E30000;
  color: #FFFFFF;
  border-color: #E30000;
}

.btn--primary:hover {
  background: #FFFFFF;
  color: #E30000;
}

.btn--outline {
  background: transparent;
  color: #E30000;
  border-color: #E30000;
}

.btn--outline:hover {
  background: #E30000;
  color: #FFFFFF;
}

.btn--white {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.btn--white:hover {
  background: transparent;
  color: #FFFFFF;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: #FFFFFF;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  position: relative;
  top: 2px;
}

.nav--transparent .nav__logo {
  color: #FFFFFF;
}

.nav--solid .nav__logo {
  color: #000000;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #E30000;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav--transparent .nav__link {
  color: #FFFFFF;
}

.nav--solid .nav__link {
  color: #000000;
}

.nav__cta {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  background: #E30000;
  color: #FFFFFF;
  border: 2px solid #E30000;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: transparent;
  color: #E30000;
}

/* Hamburger Menü */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  transition: all 0.3s ease;
}

.nav--transparent .nav__hamburger span {
  background: #FFFFFF;
}

.nav--solid .nav__hamburger span {
  background: #000000;
}

/* Hamburger Animation */
.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #FFFFFF;
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #FFFFFF;
}

/* Mobile Menü Overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.nav__mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav__mobile a:hover {
  color: #E30000;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero--small {
  height: 60vh;
  min-height: 450px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Rote Linien Animation – Kernelement */
.hero__line {
  position: absolute;
  width: 3px;
  height: 0;
  background: #E30000;
  transition: height 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__line--left {
  right: 60px;
  bottom: 0;
  transition-delay: 0.2s;
}

.hero__line--right {
  right: 30px;
  bottom: 0;
  transition-delay: 0.5s;
}

.hero.in-view .hero__line {
  height: 45%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero__content .label {
  margin-bottom: 20px;
  display: inline-block;
}

.hero__content h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__trust {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ---------- Stats Section ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  padding: 60px 0;
}

.stats__item h3 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.stats__item p {
  font-size: 15px;
  color: #AAAAAA;
}

/* ---------- Karten ---------- */
.card {
  background: #FFFFFF;
  padding: 40px 32px;
  border: 1px solid #E8E8E8;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card__icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: #E30000;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.card p {
  font-size: 16px;
  margin-bottom: 20px;
}

.card__link {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E30000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card__link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* ---------- 2-Spalten Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.split__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split__text .label {
  margin-bottom: 16px;
  display: inline-block;
}

.split__text h2 {
  margin-bottom: 20px;
}

.split__text p {
  margin-bottom: 24px;
}

.split__text ul {
  margin-bottom: 28px;
}

.split__text ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 16px;
  color: #666;
}

.split__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: #E30000;
}

/* ---------- Ablauf / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding-left: 60px;
}

.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #E30000;
  line-height: 1;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.step p {
  font-size: 16px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #E30000;
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
  padding-left: 24px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E30000;
  border: 3px solid #FFFFFF;
}

.timeline__item h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.timeline__item p {
  font-size: 15px;
}

/* ---------- Pain Points (US Page) ---------- */
.pain-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.pain-point__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #E30000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pain-point__icon::after {
  content: '!';
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.pain-point p {
  color: #CCCCCC;
  font-size: 17px;
}

/* ---------- Credential Nummern (US Page) ---------- */
.credential {
  padding: 32px;
  border-left: 3px solid #E30000;
  margin-bottom: 24px;
  background: #FFFFFF;
}

.credential__number {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #E30000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.credential h3 {
  margin-bottom: 10px;
}

.credential p {
  font-size: 16px;
}

/* ---------- Kontaktformular ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form__group label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
}

.form__group input,
.form__group textarea {
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid #DDDDDD;
  background: #F9F9F9;
  color: #000000;
  transition: border-color 0.3s ease;
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: #E30000;
}

.form__group textarea {
  min-height: 160px;
  resize: vertical;
}

/* Terminbuchung: Zeile mit Datum + Uhrzeit */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__divider {
  padding-top: 8px;
  border-top: 1px solid #E0E0E0;
}

.form__group select {
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid #DDDDDD;
  background: #FFFFFF;
  color: #333333;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form__group select:focus {
  border-color: #E30000;
  outline: none;
}

.form__hint {
  font-size: 13px;
  color: #999999;
  margin: -8px 0 0 0;
}

/* Formular-Tabs */
.form-tabs {
  display: flex;
  border-bottom: 2px solid #E0E0E0;
  margin-bottom: 28px;
  gap: 0;
}

.form-tabs__btn {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999999;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-tabs__btn:hover {
  color: #000000;
}

.form-tabs__btn--active {
  color: #000000;
  border-bottom-color: #E30000;
}

.form-tab--hidden {
  display: none;
}

/* ---------- Kontaktinfos ---------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #F4F4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #E30000;
}

.contact-info__item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info__item p {
  font-size: 15px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .hero__trust {
  color: #999999;
}

/* ---------- Footer ---------- */
.footer {
  background: #000000;
  padding: 48px 0;
  text-align: center;
}

.footer__top {
  margin-bottom: 24px;
}

.footer__logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
}

.footer__address {
  font-size: 14px;
  color: #888888;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer__links a {
  font-size: 14px;
  color: #888888;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #FFFFFF;
}

.footer__copy {
  font-size: 13px;
  color: #555555;
}

/* ---------- Fade-In Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sektionsüberschrift ---------- */
.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__header .label {
  margin-bottom: 12px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Text zentriert ---------- */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1A1A1A;
  z-index: 9999;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text p {
  color: #CCCCCC;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__text a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-banner__btn--accept {
  background: #E30000;
  color: #FFFFFF;
  border-color: #E30000;
}

.cookie-banner__btn--accept:hover {
  background: #FFFFFF;
  color: #E30000;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: #FFFFFF;
  border-color: #555555;
}

.cookie-banner__btn--decline:hover {
  border-color: #FFFFFF;
}

.cookie-banner__btn--settings {
  background: transparent;
  color: #999999;
  border: none;
  padding: 12px 0;
  font-size: 12px;
  text-decoration: underline;
}

.cookie-banner__btn--settings:hover {
  color: #FFFFFF;
}

/* Cookie-Einstellungen Link im Footer */
.footer__cookie-settings {
  cursor: pointer;
  font-size: 14px;
  color: #888888;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.footer__cookie-settings:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE – Tablet (ab 768px)
   ========================================================================== */
@media (min-width: 768px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .section {
    padding: 100px 0;
  }

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

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

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

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split--reverse .split__image {
    order: 2;
  }

  .split--reverse .split__text {
    order: 1;
  }

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

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  /* Cookie Banner: nebeneinander auf Tablet */
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner__buttons {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   RESPONSIVE – Desktop (ab 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  h1 {
    font-size: 80px;
  }

  h2 {
    font-size: 48px;
  }

  .container {
    padding: 0 40px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .split__image {
    height: 500px;
  }
}
