/* ============================================
   Noventro — Stylesheet
   Inspiration: Stripe (Clean Grid, edle Typo, viel Whitespace)
   Brand-Akzente: Orange / Grün / Gelb aus Logo
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* Brand */
  --brand-orange: #ff8c1a;
  --brand-orange-light: #ffa94d;
  --brand-green: #7bc142;
  --brand-green-dark: #5ba32a;
  --brand-yellow: #ffd60a;

  /* Neutral (warme, schweif-kompatible Palette) */
  --color-bg: #ffffff;
  --color-bg-subtle: #fdfaf5;
  --color-bg-warm: #fff8ec;
  --color-bg-dark: #1f1a14;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-text-light: #8a8a8a;
  --color-border: #ecebe6;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.08),
    0 1px 3px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 7px 14px -3px rgba(50, 50, 93, 0.12),
    0 3px 6px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 15px 35px -5px rgba(50, 50, 93, 0.15),
    0 5px 15px -5px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-orange);
}

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

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

p {
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-text);
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav a:hover,
.nav a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 140, 26, 0.3);
}

.btn-primary:hover {
  background: #e67c0e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.btn-arrow::after {
  content: '→';
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}

/* --- Schweif im Hero (KI-generiert, transparent PNG) --- */
.hero-sweep {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 110%;
  max-width: 70%;
  object-fit: contain;
  object-position: right top;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .hero-sweep {
    max-width: 90%;
    opacity: 0.7;
  }
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a2a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  margin-bottom: 40px;
}

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

/* --- Sections --- */
.section {
  padding: 96px 0;
}

.section-subtle {
  background: var(--color-bg-subtle);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-header p {
  font-size: 1.125rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.15), rgba(123, 193, 66, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* --- Reference / TripGuard card --- */
.reference-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.reference-card .eyebrow {
  color: var(--brand-green);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 8px;
}

.reference-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.reference-card p {
  margin-bottom: 24px;
  max-width: 520px;
}

.reference-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.reference-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reference-visual {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.reference-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Service-Card SVG-Icons --- */
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- CTA Section — knalliger Brand-Gradient (Orange → Gelb → Grün) --- */
.cta {
  text-align: center;
  padding: 96px 24px;
  background: linear-gradient(
    135deg,
    var(--brand-orange) 0%,
    var(--brand-yellow) 50%,
    var(--brand-green) 100%
  );
  color: #1a1a1a;
  border-radius: var(--radius-lg);
  margin: 96px auto;
  max-width: var(--container-max);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  filter: blur(60px);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
}

.cta h2 {
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
}

.cta p {
  color: rgba(26, 26, 26, 0.75);
  margin-bottom: 32px;
  font-size: 1.125rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta .btn {
  position: relative;
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta .btn:hover {
  background: #2a2a2a;
  color: #fff;
}

/* --- About / Content Pages --- */
.page-hero {
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}

.page-content {
  padding: 48px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 16px;
}

.page-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.page-content p {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content ul {
  margin: 16px 0 24px 24px;
  color: var(--color-text-muted);
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* --- Contact form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info dl {
  display: grid;
  gap: 24px;
}

.contact-info dt {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-info dd {
  font-size: 1.125rem;
  color: var(--color-text);
}

.contact-info dd a {
  color: var(--brand-orange);
}

.contact-form {
  background: #fff;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: #fff;
  color: var(--color-text);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 26, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: #b8b3a8;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-tagline {
  font-size: 0.9375rem;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #b8b3a8;
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .reference-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }

  .reference-card .reference-visual {
    margin: 0 auto;
  }

  .reference-meta {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .cta {
    margin: 64px 16px;
    padding: 64px 24px;
  }
}
