/* ============================================================
   Resultment GmbH – Hauptstylesheet
   Farben: #FF8700 (Orange), #474747 (Grau), #FFFFFF (Weiß)
   Schrift: Arial
   ============================================================ */

:root {
  --orange:      #FF8700;
  --orange-dark: #d97000;
  --gray:        #474747;
  --gray-light:  #f4f4f4;
  --gray-mid:    #e0e0e0;
  --white:       #ffffff;
  --text:        #333333;
  --text-light:  #666666;
  --font:        Arial, Helvetica, sans-serif;
  --max-width:   1280px;
  --radius:      4px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: var(--gray); }
h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.3; color: var(--gray); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray); margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT HELPERS ─────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--gray); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.section-intro  { max-width: 680px; color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ── HEADER / NAV ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: var(--shadow);
}
.nav { display: flex; align-items: center; gap: 0; height: 64px; }
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__logo {
  display: flex; align-items: center;
}
.nav__logo img { height: 36px; width: auto; display: block; }
.nav__logo:hover { text-decoration: none; }
.nav__slogan {
  margin-left: 14px; padding-left: 14px;
  border-left: 1px solid var(--gray-mid);
  font-size: 0.82rem; font-style: italic; color: var(--text-light);
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__links li { position: relative; }
.nav__links a {
  display: block; padding: 0 16px; height: 64px; line-height: 64px;
  font-size: 0.95rem; color: var(--gray); white-space: nowrap;
  transition: color 0.15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--orange); text-decoration: none; }
.nav__links li:hover > .nav__dropdown { display: block; }
.nav__dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border-top: 3px solid var(--orange);
  box-shadow: var(--shadow); min-width: 220px; z-index: 200;
}
.nav__dropdown a { height: auto; line-height: 1.4; padding: 12px 20px; border-bottom: 1px solid var(--gray-mid); }
.nav__dropdown a:last-child { border-bottom: none; }
.nav__lang { display: flex; align-items: center; gap: 4px; margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--gray-mid); }
.nav__lang a { font-size: 0.85rem; font-weight: 700; color: var(--text-light); padding: 4px 6px; border-radius: 3px; }
.nav__lang a:hover, .nav__lang a.active { color: var(--orange); text-decoration: none; }
.nav__lang a.active { background: var(--orange); color: var(--white); }

/* Mobile nav toggle */
.nav__toggle { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--gray); margin: 5px 0; transition: 0.2s; }

/* ── SUB-NAV / BREADCRUMB (sticky Seitenkontext) ────────── */
.subnav {
  position: sticky; top: 67px; z-index: 90;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.85rem; color: var(--text-light);
}
.subnav .container { padding-top: 9px; padding-bottom: 9px; }
.subnav a { color: var(--text-light); font-weight: 700; }
.subnav a:hover { color: var(--orange); text-decoration: none; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--gray);
  color: var(--white);
  padding: 56px 0 48px;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--orange); }
.hero__sub { font-size: 1.15rem; color: #ccc; margin-bottom: 2rem; max-width: 560px; }
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 12px 28px;
  font-family: var(--font); font-size: 0.95rem; font-weight: 700;
  border-radius: var(--radius); cursor: pointer; transition: 0.15s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--gray); border: 2px solid var(--gray-mid); }
.btn--outline-dark:hover { border-color: var(--gray); color: var(--gray); }

/* ── CARDS (3-col grid) ─────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
  border-top: 4px solid var(--orange);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card h3 { color: var(--orange); margin-bottom: 0.75rem; }
.card p { color: var(--text-light); margin-bottom: 1rem; }
.card a { font-weight: 700; font-size: 0.9rem; color: var(--orange); }

/* ── SERVICE BLOCK (single column with divider) ─────────── */
.service-block { padding: 40px 0; border-bottom: 1px solid var(--gray-mid); }
.service-block:last-child { border-bottom: none; }
.service-block h3 { font-size: 1.2rem; color: var(--orange); margin-bottom: 0.75rem; }
.service-block ul { margin: 0.75rem 0 0 0; }
.service-block ul li { padding: 4px 0 4px 22px; position: relative; color: var(--text-light); }
.service-block ul li::before { content: "–"; position: absolute; left: 0; color: var(--orange); font-weight: 700; font-size: 1.3em; line-height: 1; }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats { display: flex; gap: 0; }
.stat { flex: 1; text-align: center; padding: 32px 16px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat:last-child { border-right: none; }
.stat__number { font-size: 2rem; font-weight: 700; color: var(--orange); display: block; }
.stat__label  { font-size: 0.85rem; color: #bbb; margin-top: 4px; }

/* ── QUOTE BLOCK ────────────────────────────────────────── */
.quote-block {
  border-left: 4px solid var(--orange);
  padding: 20px 28px; margin: 2rem 0;
  background: var(--gray-light); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block blockquote { font-size: 1.1rem; font-style: italic; color: var(--gray); margin-bottom: 0.5rem; }
.quote-block cite { font-size: 0.9rem; color: var(--text-light); font-style: normal; font-weight: 700; }

/* ── TIMELINE ───────────────────────────────────────────── */
.timeline { margin-top: 2rem; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--gray-mid); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-size: 0.9rem; font-weight: 700; color: var(--orange); padding-top: 4px; }
.timeline-content h3 { margin-bottom: 0.25rem; }
.timeline-content .role { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; font-weight: 700; }
.timeline-content ul { margin-top: 0.5rem; }
.timeline-content ul li { padding: 3px 0 3px 18px; position: relative; color: var(--text-light); font-size: 0.95rem; }
.timeline-content ul li::before { content: "·"; position: absolute; left: 6px; color: var(--orange); font-weight: 900; }

/* ── CERTS / TAG LIST ───────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.tag { background: var(--gray-light); border: 1px solid var(--gray-mid); border-radius: 20px; padding: 5px 14px; font-size: 0.85rem; color: var(--gray); font-weight: 700; }
.tag--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ── WORKSHOP CARD ──────────────────────────────────────── */
.workshop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 2rem; }
.workshop-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; border-left: 4px solid var(--orange); }
.workshop-card h3 { font-size: 1.1rem; color: var(--gray); margin-bottom: 4px; }
.workshop-card .workshop-topic { font-size: 0.9rem; color: var(--text-light); font-style: italic; margin-bottom: 1rem; }
.workshop-card .workshop-meta { display: flex; gap: 16px; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; }
.workshop-card .workshop-meta span { background: var(--gray-light); padding: 3px 10px; border-radius: 20px; }
.workshop-card ul { margin: 0.75rem 0 0 0; }
.workshop-card ul li { padding: 3px 0 3px 16px; position: relative; color: var(--text-light); font-size: 0.93rem; }
.workshop-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-size: 0.8rem; }

/* ── PACKAGES (KI) ──────────────────────────────────────── */
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 2rem; }
.package-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.package-card .package-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.package-card h3 { margin-bottom: 0.5rem; }
.package-card .package-for { font-size: 0.85rem; color: var(--text-light); font-style: italic; margin-bottom: 1rem; border-left: 3px solid var(--orange); padding-left: 10px; }
.package-card ul { margin: 0.75rem 0 0 0; }
.package-card ul li { padding: 3px 0 3px 20px; position: relative; color: var(--text-light); font-size: 0.93rem; }
.package-card ul li::before { content: "–"; position: absolute; left: 0; color: var(--orange); font-weight: 700; font-size: 1.3em; line-height: 1; }
.package-card .package-effort { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-light); font-weight: 700; }

/* ── CONTACT SECTION ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 2rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 1rem; align-items: flex-start; }
.contact-detail-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); min-width: 60px; padding-top: 2px; }
.contact-detail-value { color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-mid);
  border-radius: var(--radius); font-family: var(--font); font-size: 0.95rem;
  margin-bottom: 12px; color: var(--text);
  transition: border-color 0.15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; color: var(--gray); }
.contact-form .privacy-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.contact-form .privacy-check input { width: auto; margin: 0; margin-top: 3px; }
.contact-form .privacy-check span { font-size: 0.85rem; color: var(--text-light); }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band { background: var(--orange); color: var(--white); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; font-size: 1.05rem; }
.cta-band .btn--outline { border-color: rgba(255,255,255,0.7); }

/* ── TWO-COL LAYOUT ─────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col--60-40 { grid-template-columns: 3fr 2fr; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--gray); color: #bbb; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo {
  display: block; height: 40px; width: auto;
  margin-bottom: 1rem;
  background: var(--white); padding: 8px 14px; border-radius: 4px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-brand .footer-slogan { color: var(--orange); font-style: italic; font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { color: #bbb; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-bottom a { color: #bbb; }
.footer-bottom a:hover { color: var(--orange); }

/* ── IMPRESSUM / LEGAL ──────────────────────────────────── */
.legal-content h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-mid); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.93rem; color: var(--text-light); }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__slogan { display: none; }
  h1 { font-size: 1.8rem; }
  .cards { grid-template-columns: 1fr; }
  .workshop-grid, .package-grid { grid-template-columns: 1fr; }
  .contact-grid, .two-col, .two-col--60-40 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 0 0 50%; }
}
@media (max-width: 680px) {
  .nav__links, .nav__lang { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--gray-mid); box-shadow: var(--shadow); }
  .nav__links.open a { height: 48px; line-height: 48px; border-bottom: 1px solid var(--gray-mid); }
  .nav__links.open li { position: static; }
  .nav__links.open .nav__dropdown { display: block; position: static; border: none; box-shadow: none; }
  .nav__links.open .nav__dropdown a { padding-left: 40px; height: 40px; line-height: 40px; background: var(--gray-light); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 32px; }
  .section { padding: 48px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-year { margin-bottom: -8px; }
}

/* ── PORTRAITS ──────────────────────────────────────────── */
.profile-portrait {
  display: block; width: 100%; max-width: 280px;
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border-radius: 6px; margin: 0 0 1.5rem; box-shadow: var(--shadow);
}
.contact-portrait {
  display: block; width: 140px; height: 140px;
  object-fit: cover; object-position: center top;
  border-radius: 50%; margin: 0 0 1.5rem; box-shadow: var(--shadow);
}

/* Team block on About page */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.team-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center;
  background: var(--white); padding: 20px; border-radius: 6px;
  box-shadow: var(--shadow);
}
.team-portrait {
  width: 140px; height: 140px; object-fit: cover; object-position: center top;
  border-radius: 50%; box-shadow: var(--shadow);
}
.team-card h3 { margin: 0 0 0.25rem; }
.team-card .role { color: var(--orange); font-weight: 600; margin: 0 0 0.5rem; font-size: 0.95rem; }
.team-card p { margin: 0; font-size: 0.92rem; }

/* Team responsive – NACH den Basis-Regeln, damit die Overrides greifen */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .team-card { grid-template-columns: 1fr; }
  .team-card .team-portrait { margin: 0 auto 0.75rem; }
}

/* ── PARTNER PAGE ───────────────────────────────────────── */
.partner-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.partner-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--gray-mid);
  border-radius: 6px; padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.partner-card__logo {
  display: flex; align-items: center; justify-content: center;
  height: 100px; margin-bottom: 1.25rem;
}
.partner-card__logo img {
  max-height: 100px; max-width: 80%; width: auto; height: auto;
  object-fit: contain;
}
.partner-card__head h2 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.partner-card__tagline {
  color: var(--orange); font-weight: 600; font-size: 0.95rem;
  margin: 0 0 1.25rem;
}
.partner-card__body { margin-bottom: 1.5rem; flex-grow: 1; }
.partner-card__body p { margin-bottom: 0.85rem; }
.partner-card__facts {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0 0 1.75rem; padding: 16px 18px;
  background: var(--gray-light); border-radius: 4px;
  font-size: 0.92rem;
}
.partner-card__facts > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
}
.partner-card__facts dt {
  color: var(--text-light); font-weight: 600; margin: 0;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem;
  align-self: center;
}
.partner-card__facts dd { margin: 0; }
.partner-card__foot { margin-top: auto; }

@media (max-width: 768px) {
  .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .partner-card { padding: 24px; }
  .partner-card__facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Portrait inside legal/impressum content */
.legal-portrait {
  margin: 0 0 1.5rem; max-width: 200px;
}
.legal-portrait img {
  width: 160px; height: 160px; object-fit: cover; object-position: center;
  border-radius: 50%; display: block;
}
.legal-portrait figcaption {
  font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem;
}
