
/* ====================================================
   Grundeinstellungen
   ==================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    color: #1f2933;
    line-height: 1.6;
    background-color: #ffffff;
}

/* ====================================================
   Container
   ==================================================== */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================================
   Header & Navigation
   ==================================================== */

header {
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    max-height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2933;
    letter-spacing: 0.02em;
}

nav a:hover {
    color: #1e3a8a; /* Dunkelblau */
}

/* ====================================================
   Hero-Bereich
   ==================================================== */

.hero {
    background-color: #f3f5f7;
    border-bottom: 1px solid #e5e7eb;
}

.hero .container {
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.1rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #374151;
}

/* ====================================================
   Content-Bereiche
   ==================================================== */

.content,
.highlight,
.contact-preview {
    padding: 60px 0;
}

.content h2,
.highlight h2,
.contact-preview h2 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.content p,
.contact-preview p {
    margin-bottom: 15px;
}

/* ====================================================
   Highlight / Rechtsgebiete
   ==================================================== */

.highlight {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    list-style: none;
    margin: 30px 0;
}

.services li {
    padding: 15px 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    font-weight: 600;
}

/* ====================================================
   Links & Call-to-Actions
   ==================================================== */

.more {
    margin-top: 20px;
}

.more a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.more a:hover {
    text-decoration: underline;
}

/* ====================================================
   Footer
   ==================================================== */

footer {
    background-color: #1f2933;
    color: #ffffff;
    padding: 30px 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ====================================================
   Responsives Design
   ==================================================== */

@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .content,
    .highlight,
    .contact-preview {
        padding: 40px 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

.nowrap { white-space: nowrap; }

/* Kanzlei – Anwaltsporträt */

.profile-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}

.profile-photo img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

/* Mobil */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo img {
    max-width: 180px;
  }
}
