/* tim.tips – mobile-first Basisstil, angelehnt an Entwurf v4 (Gold/Navy) */

@font-face {
  font-family: "Inter";
  src: local("Inter");
  font-display: swap;
}

:root {
  --navy: #0b1f3a;
  --navy-light: #13284a;
  --gold: #c9922a;
  --gold-dark: #a97818;
  --cream: #faf7f2;
  --text: #1c2636;
  --text-muted: #5a6475;
  --border: #e7e1d6;
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
h1, h2, h3 { color: var(--navy); margin: 0 0 12px; line-height: 1.2; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 16px; color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:active { background: var(--gold-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline-gold { background: #fff; color: var(--gold-dark); border-color: var(--gold); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { color: var(--gold); }
nav.main-nav { display: none; }
.header-cta { display: none; }
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
}
nav.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 20px 16px;
}
nav.mobile-nav.open { display: flex; }
nav.mobile-nav a { padding: 12px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); }
nav.mobile-nav .btn { margin-top: 12px; }

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 70% 35%;
  display: block;
}
.hero-text { padding: 28px 20px 32px; }
.hero-text .eyebrow { color: var(--gold); }
.hero-text h1 { color: #fff; font-size: 1.7rem; }
.hero-text h1 .accent { color: var(--gold); }
.hero-text p { color: #cfd6e4; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 20px;
  background: var(--cream);
}
.quick-link { display: flex; align-items: center; gap: 14px; }
.quick-link .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.quick-link strong { display: block; color: var(--navy); font-size: 0.98rem; }
.quick-link span { font-size: 0.88rem; color: var(--text-muted); }

/* Aktuell-Kachel */
.aktuell {
  margin: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
}
.aktuell .eyebrow { color: #fff; opacity: 0.85; }
.aktuell h3 { color: #fff; margin-bottom: 8px; }
.aktuell p { color: rgba(255,255,255,0.9); }
.aktuell .btn { margin-top: 8px; }

@media (min-width: 768px) {
  #aktuellBereich {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 24px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  #aktuellBereich .aktuell { margin: 0; }
}

/* Karriere-Section */
.karriere {
  background: var(--navy);
  color: #fff;
  padding: 44px 20px;
  text-align: center;
}
.karriere-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  overflow: hidden;
}
.karriere-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.karriere .eyebrow { color: var(--gold); }
.karriere h2 { color: #fff; }
.karriere p { color: #cfd6e4; }
.karriere-intro { max-width: 540px; margin-left: auto; margin-right: auto; }

.karriere-punkte {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 24px auto 0;
  text-align: left;
}
.karriere-punkt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
}
.karriere-punkt .icon { font-size: 1.2rem; flex-shrink: 0; }

.karriere-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.btn-small { padding: 10px 18px; font-size: 0.88rem; }

.karriere-nebenzeile {
  font-size: 0.86rem;
  color: #9aa5ba;
  margin-top: 24px;
  margin-bottom: 0;
}
.karriere-nebenzeile a { color: var(--gold); text-decoration: underline; white-space: nowrap; }

.karriere-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 16px; }
.karriere-note a { color: var(--gold-dark); text-decoration: underline; }

/* Section-Grund */
section.block { padding: 36px 20px; }
.block-head { margin-bottom: 20px; }

/* Projekt-Karten */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.card-photo {
  height: 150px;
  background: linear-gradient(135deg, #f4e8d0 0%, #e8cfa0 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.card-photo .ph-icon { font-size: 2.4rem; opacity: 0.55; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}
.card-body { padding: 16px; }
.card-body h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.card-body p { font-size: 0.92rem; margin-bottom: 14px; }

/* Beratung-Sektion */
.beratung { background: var(--cream); }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #cfd6e4;
  padding: 32px 20px 20px;
  font-size: 0.9rem;
}
footer .footer-logo { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
footer .footer-links { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
footer .footer-links a { text-decoration: none; color: #cfd6e4; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; margin-top: 16px; }

/* Formulare */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; color: var(--navy); }
.form-field label .label-zusatz { font-weight: 400; opacity: .62; font-size: .92em; letter-spacing: 0; }
.form-field[hidden] { display: none; }

.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 44px;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 18px; }
.form-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.form-consent a { color: var(--gold-dark); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tablet / Desktop */
@media (min-width: 768px) {
  .quick-links { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .karriere-punkte { flex-direction: row; max-width: none; }
  .karriere-punkt { flex: 1; flex-direction: column; text-align: center; gap: 8px; }
  .karriere-buttons { flex-direction: row; justify-content: center; }
  h1 { font-size: 2.4rem; }
  .hero-photo { height: 340px; }
}
@media (min-width: 1024px) {
  nav.main-nav { display: flex; gap: 28px; }
  nav.main-nav a { text-decoration: none; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; min-height: 460px; }
  .hero-photo { height: 100%; width: 100%; order: 2; }
  .hero-text { order: 1; padding: 60px 40px; align-self: center; }
  .hero-actions { flex-direction: row; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-photo { height: 170px; }
}
@media (min-width: 1280px) {
  .card-grid.cards-6 { grid-template-columns: repeat(3, 1fr); }
}
