/* ===================================================
   ARVION CONSULTING – Style im Stil von 45nord.de
   Farbe: #14b1bb (Türkis) | Font: Montserrat
   =================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent:      #14b1bb;
  --accent-dark: #0e8f97;
  --dark:        #333333;
  --dark-footer: #222222;
  --gray-bg:     #f9f9f9;
  --white:       #ffffff;
  --text:        #333333;
  --text-light:  #666666;
  --border:      #e0e0e0;
  --max-w:       1170px;
  --font:        'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

address { font-style: normal; }

/* ===== FILL IMAGE ===== */
.fill-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #ddd;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #f4f4f4;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  gap: 24px;
}

.top-bar a {
  color: #555;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--accent); }

/* ===== LOGO BAR ===== */
.logo-bar {
  background: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid #eeeeee;
}

.logo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  display: block;
  text-decoration: none;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 2px;
}

.logo-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--dark);
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list li { position: relative; }

.nav-list a {
  display: block;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  transition: background 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  background: rgba(0, 0, 0, 0.18);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  right: 15px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #4a5568;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  padding: 13px 30px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: var(--font);
  border: 2px solid var(--accent);
}

.btn-hero:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-hero-outline {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ===== SECTIONS ===== */
.section { padding: 91px 0 70px; }
.section-white { background: var(--white); }
.section-gray  { background: var(--gray-bg); }

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h1,
.section-title h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-title h1 span,
.section-title h2 span {
  color: var(--accent);
}

.line-shape {
  display: block;
  margin: 12px auto 16px;
  height: 6px;
  width: auto;
}

.section-title p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== INTRO GRID ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.lead-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.7;
}

.intro-text p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.btn-main {
  display: inline-block;
  padding: 11px 26px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-main:hover { background: var(--accent-dark); }

.intro-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
  position: relative;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px 32px;
  text-align: center;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.25s, transform 0.25s;
  border-radius: 2px;
}

.service-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.service-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== IMAGE BANNER ===== */
.image-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}

.image-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2d4a5a;
}

.image-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 177, 187, 0.82);
}

.image-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.image-banner-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.image-banner-content p {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 28px;
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
}

.about-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.accent { color: var(--accent); }

.about-content p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-facts {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fact strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.fact span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===== NUMBERS BANNER ===== */
.numbers-banner {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.numbers-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a2a35;
}

.numbers-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.numbers-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 50px;
  color: #fff;
}

.stat-item strong {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  border-radius: 2px;
  transition: box-shadow 0.25s;
}

.team-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ddd;
  position: relative;
}

.team-photo img {
  transition: transform 0.4s;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info {
  padding: 18px 16px 20px;
  text-align: center;
}

.team-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-role {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.contact-info address p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.contact-info address strong { color: var(--dark); }

.contact-info a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-info a:hover { color: var(--accent-dark); }

.map-placeholder {
  margin-top: 20px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
  border: 1px solid #e0e0e0;
}

/* Contact Form */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--accent);
}

.field-group textarea { resize: vertical; min-height: 130px; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.field-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.field-check label {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  cursor: pointer;
}

.field-check a {
  color: var(--accent);
  text-decoration: underline;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--accent-dark); }

/* ===== LEGAL ===== */
.legal-section {
  scroll-margin-top: 90px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  padding: 28px;
}

.section-white .legal-card {
  background: var(--gray-bg);
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--dark);
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-card a:hover {
  color: var(--accent-dark);
}

/* ===== FOOTER ===== */
.site-footer { background: #222222; color: #ffffff; }

.footer-top { padding: 60px 0 40px; }

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.footer-col h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col li a:hover { color: var(--accent); }

.footer-col address p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-col address a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col address a:hover { color: var(--accent); }

.footer-bottom {
  background: #1a1a1a;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom ul {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--accent-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 200;
  }

  .nav-list.open { display: flex; }

  .nav-list a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .nav-inner { justify-content: flex-start; }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .legal-grid { grid-template-columns: 1fr; }

  .legal-card-wide { grid-column: auto; }

  .intro-image,
  .about-image-wrap { order: -1; }

  .numbers-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }

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

  .top-bar-left { display: none; }

  .footer-top-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }

  .section { padding: 60px 0 50px; }

  .hero { min-height: 400px; }

  .stat-item { padding: 0 30px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .about-facts { gap: 20px; }
  .logo-main { font-size: 1.5rem; }
}
