/* Elemente ausblenden */
.hide {
  display: none !important;
}

:root {
  --primary: #f28c1b;
  --primary-dark: #d6740f;
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --border: #e2e2e2;
  --nav-bg: #ffffff;
  --nav-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --max-width: 1280px;
  --radius: 8px;
  --transition: 0.2s ease-in-out;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 3rem;
}

/* Navigation */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  z-index: 1000;
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Desktop */
.nav-logo {
  height: 80px;
  width: auto;
}

/* Tablets */
@media (max-width: 768px) {
  .nav-logo {
    height: 55px;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  .nav-logo {
    height: 60px;
  }
}

.nav-brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* CTA Button in Nav */

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.9rem;
}

.nav-cta:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Burger */

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 999px;
}

/* Hero / Startseite */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background-color: #fafafa;
}

.badge-strong {
  border-color: var(--primary);
  color: var(--primary-dark);
  background-color: #fff7ec;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(242, 140, 27, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(242, 140, 27, 0.45);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-note strong {
  color: var(--text);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.4rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-list li {
  margin-bottom: 0.35rem;
}

.hero-list li::before {
  content: "• ";
  color: var(--primary-dark);
}

/* Sections */

.section {
  margin-top: 3.5rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.section h2 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.6rem;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

/* Cards / Grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.grid-3 > .section {
  margin-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  background-color: #ffffff;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card ul li {
  margin-bottom: 0.3rem;
}

/* Highlight Box */

.highlight {
  border-radius: var(--radius);
  border: 1px dashed var(--primary);
  background-color: #fff7ec;
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.highlight strong {
  color: var(--text);
}

/* Tip Box */

.tip {
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  background-color: #fff3e0;
  padding: 1.4rem 1.6rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  box-shadow: 0 4px 12px rgba(242, 140, 27, 0.15);
}

.tip strong {
  color: var(--primary-dark);
}

/* Über mich */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.portrait {
  width: 100%;
  max-width: 360px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 4px solid #f5f5f5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

/* Listen */

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.list-check li {
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.3rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--primary-dark);
}

/* Zertifikate */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat {
  min-width: 140px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Kontakt */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact-box {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  background-color: #ffffff;
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.contact-details strong {
  font-weight: 600;
}

/* Formular */

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(242, 140, 27, 0.15);
}

textarea {
  min-height: 140px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  background-color: #fafafa;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Social Links */

.social-links {
  font-size: 0.85rem;
  color: var(--muted);
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--primary);
}

/* Responsive */

@media (max-width: 1200px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    order: -1;
  }

  .about-layout,
  .contact-layout,
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }

  .nav-cta {
    margin-top: 0.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
