/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #ffffff;
  color: #111;
  line-height: 1.5;
}

/* Container */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Navigation */
.nav {
  padding: 20px 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;       /* Abstand zwischen Icon und Text */
}

.logo img {
  filter: contrast(1.4) brightness(0.3);
  height: 34px;      /* Größe anpassen wie nötig */
  width: auto;
}

.logo span {
  font-weight: 600;
  font-size: 1.2rem;
}

.nav a {
  margin: 0 15px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.btn-black {
  padding: 10px 22px;
  background: #111;
  color: #fff !important;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.btn-light {
  padding: 10px 22px;
  background: #f2f2f2;
  border-radius: 25px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 160px 0 160px;
  padding-top: 200px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;

  background: 
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.9)),
    url("assets/fiona_mockup.webp") center/cover no-repeat;
}

.hero-inner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-inner {
  animation: fadeIn 3s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #444;
}

.hero-buttons {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-buttons a {
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.hero-image img {
  width: 80%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

/* Companies */
.companies {
  padding: 40px 0;
}

.companies-inner p {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  opacity: 0.5;
}

/* Features */
.features {
  padding: 100px 0;
}

.features h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-sub {
  margin-bottom: 40px;
  color: #555;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.feature-card {
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 18px;
  background: #fff;
}

.feature-card h3 {
  margin-bottom: 18px;
}

.feature-card .icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* How */
.how {
  position: relative;
  padding: 100px 0;
  
  background: 
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.9)),
    url("assets/how_bg.webp") center/cover no-repeat;
}

.how::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px; /* Höhe des Fades */
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.how::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.how-step {
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  text-align: center;
}

.how-step.green {
  background: #e8ffd0;
  border-color: #d5f5b5;
}

.number {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  text-align: center;
}

.testimonial-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.testi-card {
  width: 260px;
  padding: 25px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tilt { transform: rotate(-4deg); }

/* FAQ */
.faq {
  padding: 100px 0;
}

.faq-item {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 15px;
}

.faq-item button {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* CTA */
.cta {
  padding: 120px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 100%);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta p {
  margin-top: 15px;
  margin-bottom: 35px;
  font-size: 1rem;
  color: #333;
}

/* Button Fix */
.cta .btn-black {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;      /* verhindert Zeilenbruch */
  margin: 0 auto;
  position: relative;
  z-index: 2;               /* verhindert Überschneidung mit Hintergrund */
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #ddd;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* ============================
   Impressum / Legal Pages
   ============================ */

.legal-main {
  padding: 140px 0 120px;
  background: linear-gradient(to bottom, #f7f9fb 0%, #ffffff 40%);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.legal-intro {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-container h2 {
  font-size: 1.25rem;
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
}

.legal-container h3 {
  font-size: 1.05rem;
  margin-top: 1.8rem;
  margin-bottom: 0.3rem;
}

.legal-container p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.2rem 0;
}

.legal-container a {
  color: #111827;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Mobile */
@media (max-width: 768px) {
  .legal-main {
    padding: 110px 0 90px;
  }

  .legal-container {
    padding: 0 1.25rem;
  }

  .legal-container h1 {
    font-size: 2rem;
  }
}

/* =================================
   Responsive – allgemeine Seite
   ================================= */
@media (max-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
    max-width: 600px;
  }

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

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

  .testimonials .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .faq-item button {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .cta-inner {
    padding: 40px 1.5rem;
  }
}

/* =================================
   Responsive – kleine Smartphones
   ================================= */

/* Tag-Zeile unter dem Hero */

.companies-inner p {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 12px;
}

.tag-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.95rem;
  color: #a0a0a0;
}

.tag-row span {
  white-space: nowrap;      /* kein Umbruch mitten im Tag */
}

/* Mobile-Optimierung für die Tag-Zeile */
@media (max-width: 768px) {
  .companies-inner p {
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }

  .tag-row {
    font-size: 0.85rem;
    row-gap: 4px;
  }
}

@media (max-width: 480px) {
  .companies-inner p {
    font-size: 0.85rem;
  }

  .tag-row {
    font-size: 0.8rem;
    gap: 4px 14px;
  }
}

@media (max-width: 768px) {
  /* Navigation: Logo + Button oben, Links darunter */
  .nav-inner {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
  }

  .nav .logo {
    font-size: 1.1rem;
  }

  .nav-inner nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.9rem;
  }

  .nav .btn-black {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  /* Hero-Text enger & Buttons untereinander */
  .hero {
    padding: 110px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn-black,
  .hero-buttons .btn-light {
    width: 100%;
    max-width: 260px;
  }

  /* Karten & Boxen */
  .feature-card,
  .how-step,
  .testi-card,
  .faq-item button {
    text-align: left;
  }

  /* CTA */
  .cta-inner h2 {
    font-size: 1.6rem;
  }

  .cta-inner p {
    font-size: 0.95rem;
  }

  .cta .btn-black {
    width: 100%;
    max-width: 260px;
  }
}

/* noch etwas enger für wirklich kleine Geräte */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .subtitle {
    font-size: 0.9rem;
  }

  .tag-row {
    font-size: 0.8rem;
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

/* ============================
   Cookie Banner + Modal (FIONA Light)
   ============================ */

.hidden { display: none !important; }

/* Banner */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 9999;
  padding: 0 18px;
}

.cookie-card {
  width: min(1280px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}

.cookie-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.92rem;
  color: #444;
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons (reset + style) */
.cookie-actions button.cookie-btn,
.cookie-modal-actions button.cookie-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  outline: none;
  font: inherit;

  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  line-height: 1;
  font-weight: 600;
  font-size: 0.92rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
  user-select: none;
}

.cookie-actions button.cookie-btn:hover,
.cookie-modal-actions button.cookie-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.cookie-actions button.cookie-btn:active,
.cookie-modal-actions button.cookie-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 16px rgba(0,0,0,0.10);
}

.cookie-btn-accept {
  background: #111;
  color: #fff;
}

.cookie-btn-decline {
  background: #f2f2f2;
  color: #111;
}

.cookie-btn-settings {
  background: transparent;
  color: #111;
  border: 1px solid rgba(0,0,0,0.18);
}

.cookie-actions button.cookie-btn::-moz-focus-inner,
.cookie-modal-actions button.cookie-btn::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Modal Overlay */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(17,17,17,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cookie-modal-card {
  width: min(560px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 16px 14px;
}

.cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-modal-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.cookie-x {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.cookie-option-text strong {
  display: block;
  font-weight: 700;
}

.cookie-option-text p {
  color: #444;
  font-size: 0.92rem;
  margin-top: 3px;
}

.cookie-badge {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Switch */
.cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: 0.2s;
}

.cookie-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
  transition: 0.2s;
}

.cookie-switch input:checked + .cookie-slider {
  background: #111;
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
}

/* Modal Buttons */
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .cookie-card { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .cookie-btn { width: 100%; }
  .cookie-modal-actions { flex-direction: column; }
  .cookie-modal-actions .cookie-btn { width: 100%; }
}
