/* =====================================================
   NORDWISCH GbR — style.css
   ===================================================== */

/* ── VARIABLES ── */
:root {
  --navy:       #162247;
  --navy-2:     #1e3060;
  --blue:       #3473c5;
  --blue-light: #5a9bd4;
  --sky:        #eef5fc;
  --sky-2:      #f5f9fd;
  --white:      #ffffff;
  --text:       #0d1b33;
  --text-2:     #445e80;
  --text-3:     #7a96b8;
  --border:     #d0e2f0;
  --shadow:     rgba(22, 34, 71, .08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--sky-2);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── BUTTONS ── */
.btn-nav {
  background: var(--navy);
  color: #fff;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.btn-nav:hover { background: var(--navy-2); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 4px 20px rgba(22,34,71,.25); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--blue); background: var(--sky); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner { height: 70px; display: flex; align-items: center; gap: 32px; }
.nav-logo   { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon  { width: 42px; height: 42px; flex-shrink: 0; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-name  { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.2px; }
.logo-name em { font-style: italic; font-family: 'Lora', Georgia, serif; font-weight: 600; color: var(--blue); }
.logo-sub   { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.nav-links  { display: flex; flex: 1; justify-content: center; gap: 2px; }
.nav-links a {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 7px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--sky); }
.nav-right  { display: flex; align-items: center; flex-shrink: 0; }

/* Hamburger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  margin-left: auto;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 15px; font-weight: 600; color: var(--text-2);
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .mob-cta {
  margin-top: 12px; display: block; text-align: center;
  background: var(--navy); color: #fff;
  padding: 12px; border-radius: 10px; font-weight: 700; border-bottom: none;
}

/* ── SECTIONS ── */
section { padding: 88px 0; }
.section-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 2px; background: var(--blue); border-radius: 1px;
}
.section-title {
  font-size: clamp(24px, 2.8vw, 40px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.025em;
  color: var(--navy); margin-bottom: 14px; text-wrap: balance;
}
.section-sub { font-size: 15.5px; color: var(--text-2); line-height: 1.8; }

/* ── STANDORT INFO ── */
.standort-info { display: flex; flex-direction: column; gap: 20px; }
.s-item  { display: flex; align-items: flex-start; gap: 14px; }
.s-icon  {
  width: 38px; height: 38px;
  background: var(--sky); border: 1px solid var(--border); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.s-icon svg  { color: var(--blue); }
.s-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.s-value { font-size: 14.5px; font-weight: 600; color: var(--text); }
.s-value a   { color: var(--blue); transition: opacity .15s; }
.s-value a:hover { opacity: .7; }

/* ── FORM ── */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--sky-2); border: 1px solid var(--border);
  border-radius: 9px; padding: 11px 14px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(52,115,197,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--navy); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: .02em; cursor: pointer; transition: background .15s, box-shadow .15s;
}
.form-submit:hover { background: var(--navy-2); box-shadow: 0 4px 18px rgba(22,34,71,.22); }
.form-note  { margin-top: 14px; font-size: 12px; color: var(--text-3); text-align: center; font-weight: 500; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 36px 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 40px; margin-bottom: 28px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.footer-logo-name { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.footer-logo-name em { font-style: italic; font-family: 'Lora', Georgia, serif; font-weight: 600; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-brand .slogan {
  font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.4);
  font-style: italic; font-family: 'Lora', Georgia, serif; margin-top: 8px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* =====================================================
   INDEX PAGE STYLES
   ===================================================== */

/* Partner-Banner */
.partner-banner {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 9px 0;
}
.partner-banner-inner {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: 13px;
}
.partner-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-light);
  background: rgba(52,115,197,.25); border-radius: 4px;
  padding: 2px 8px; flex-shrink: 0;
}
.partner-name  { font-weight: 700; color: #fff; }
.partner-sep   { color: rgba(255,255,255,.3); }
.partner-text  { color: rgba(255,255,255,.6); }
.partner-cta   {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--blue-light); white-space: nowrap;
  transition: color .15s;
}
.partner-cta:hover { color: #fff; }
@media (max-width: 640px) {
  .partner-sep, .partner-text { display: none; }
  .partner-cta { margin-left: 0; }
}

/* Hero */
.hero { padding: 80px 0 72px; background: var(--white); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.hero-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 1px; }
.hero-title {
  font-size: clamp(32px, 4vw, 56px); font-weight: 900;
  line-height: 1.04; letter-spacing: -.035em;
  color: var(--navy); margin-bottom: 20px; text-wrap: balance;
}
.hero-title .italic { font-style: italic; font-family: 'Lora', Georgia, serif; font-weight: 600; color: var(--blue); font-size: .95em; }
.hero-sub    { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 36px; max-width: 460px; }
.hero-slogan { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 32px; font-style: italic; font-family: 'Lora', Georgia, serif; }
.hero-btns   { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust  { display: flex; flex-direction: column; gap: 10px; }
.trust-item  { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.trust-item svg { color: var(--blue); flex-shrink: 0; }
.hero-visual   { display: flex; justify-content: center; }
.hero-logo-wrap { position: relative; padding: 40px; }
.hero-logo-bg  { position: absolute; inset: 0; background: var(--white); border-radius: 32px; border: 1px solid var(--border); }
.hero-logo-svg { position: relative; z-index: 1; width: 100%; max-width: 340px; }

/* Leistungen */
.leistungen-bg { background: var(--sky-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.leistungen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 52px;
}
.leistung-card { background: var(--white); padding: 28px 26px; transition: background .15s; }
.leistung-card:hover { background: var(--sky); }
.leistung-icon {
  width: 44px; height: 44px; background: var(--sky); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background .15s;
}
.leistung-card:hover .leistung-icon { background: var(--border); }
.leistung-icon svg { color: var(--blue); }
.leistung-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.leistung-card p  { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* Einsatzgebiete */
.gebiete-section { background: var(--white); border-top: 1px solid var(--border); }
.gebiete-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.gebiet-card     {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; transition: border-color .15s, background .15s;
}
.gebiet-card:hover { border-color: var(--blue-light); background: var(--sky); }
.gebiet-card h3 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.gebiet-card p  { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

/* Ablauf / Preise */
.ablauf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 56px; }
.ablauf-steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 44px; bottom: -16px;
  width: 1px; background: var(--border);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--navy);
  flex-shrink: 0; margin-bottom: 32px; z-index: 1; position: relative;
}
.step-body { padding-bottom: 32px; }
.step-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-body p  { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.preise-info  {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
}
.preise-info h3  { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.preise-info p   { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.preise-highlight {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 20px; font-size: 14px; font-weight: 700; color: var(--navy);
  display: flex; align-items: flex-start; gap: 12px;
}
.preise-highlight svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* Über uns */
.ueber-grid   { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.ueber-visual {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 44px; text-align: center;
}

/* Kontakt */
.kontakt-bg   { background: var(--sky-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.kontakt-left p { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin: 16px 0 0; }
.form-wrap    { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 36px; }

/* Stadt-Tags */
.stadt-tags   { display: flex; flex-wrap: wrap; gap: 8px; }
.stadt-tag    { background: var(--sky); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--navy); }
.stadt-tag.sec{ background: var(--white); font-weight: 500; color: var(--text-2); }

/* =====================================================
   LEGAL PAGE STYLES (impressum.html + datenschutz.html)
   ===================================================== */

.legal-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}
.legal-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 10px;
  text-wrap: balance;
}
.legal-hero p { font-size: 14px; color: var(--text-3); font-weight: 500; }

.legal-body   { padding: 64px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }

/* Sidebar TOC */
.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.legal-toc h4 {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.legal-toc a {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-2); padding: 7px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--blue); }

/* Content */
.legal-content { max-width: 680px; }
.legal-section { margin-bottom: 52px; scroll-margin-top: 90px; }
.legal-section h2 {
  font-size: 19px; font-weight: 800; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border); letter-spacing: -.02em;
}
.legal-section h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.legal-section p  { font-size: 14.5px; color: var(--text-2); line-height: 1.9; margin-bottom: 14px; }
.legal-section ul { font-size: 14.5px; color: var(--text-2); line-height: 1.9; padding-left: 20px; margin-bottom: 14px; }
.legal-section li { margin-bottom: 6px; }
.legal-section a  { color: var(--blue); }
.legal-section a:hover { text-decoration: underline; }

.info-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 18px;
}
.info-box p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; margin: 0; }
.info-box strong { color: var(--navy); }

.placeholder-box {
  background: #fff8e6; border: 1px solid #f0c040;
  border-radius: 10px; padding: 14px 18px;
  font-size: 13px; color: #7a5a00; font-weight: 600; margin-bottom: 18px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 960px) {
  section { padding: 64px 0; }
  /* Index */
  .hero        { padding: 60px 0 52px; }
  .hero-grid   { grid-template-columns: 1fr; gap: 48px; }
  .hero-logo-svg { max-width: 260px; }
  .ablauf-grid { grid-template-columns: 1fr; gap: 48px; }
  .ueber-grid  { grid-template-columns: 1fr; gap: 40px; }
  .ueber-visual{ order: -1; padding: 32px; }
  .ueber-visual svg { max-width: 200px; }
  .kontakt-grid{ grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .gebiete-grid{ grid-template-columns: repeat(2, 1fr); }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Legal */
  .legal-layout{ grid-template-columns: 1fr; gap: 40px; }
  .legal-toc   { position: static; }
  .legal-content{ max-width: 100%; }
  .legal-body  { padding: 48px 0 72px; }
  .legal-hero  { padding: 52px 0 40px; }
}

/* Mobile */
@media (max-width: 640px) {
  .container   { padding: 0 18px; }
  .nav-inner   { height: 62px; }
  .nav-links   { display: none; }
  .nav-right   { display: none; }
  .nav-burger  { display: flex; }
  .logo-name   { font-size: 16px; }
  /* Hero */
  .hero        { padding: 44px 0 40px; }
  .hero-visual { display: none; }
  .hero-title  { font-size: clamp(28px, 8vw, 42px); text-align: center; }
  .hero-sub    { font-size: 14px; text-align: center; max-width: 100%; }
  .hero-slogan { text-align: center; }
  .hero-label  { justify-content: center; }
  .hero-trust  { align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-btns   { flex-direction: column; }
  /* Grids */
  .leistungen-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .gebiete-grid    { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  /* Cards */
  .form-wrap   { padding: 24px 18px; }
  .preise-info { padding: 24px; }
  .ueber-visual{ padding: 24px; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer      { padding: 28px 0 16px; }
  /* Sections */
  section      { padding: 52px 0; }
  /* Legal */
  .legal-hero  { padding: 36px 0 28px; }
  .legal-body  { padding: 36px 0 56px; }
  .info-box    { padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
