/* ===========================
   GLOBALT
=========================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 70px; /* för fixed header */
    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.2px;
    background: #f4f4f4;
    color: #1a1a1a;
}

/* ===========================
   TYPOGRAFI
=========================== */
h1, h2, h3 {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
    color: #2f3e46;
}

h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }

p {
    margin-bottom: 1.2em;
    max-width: 70ch;
}

a {
    color: #2f3e46;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

/* ===========================
   HEADER
=========================== */
header {
    background: #2f3e46;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.4rem;
    font-weight: bold;
}

nav a {
    color: white;
    margin-left: 20px;
    padding: 8px 12px;
    border-radius: 4px;
}

nav a:hover {
    background: rgba(255,255,255,0.15);
}

/* ===========================
   HERO
=========================== */
.hero {
    position: relative;
    background: url('bilder/wood_texture.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero > * {
    position: relative;
}

.profilruta {
    background: white;
    padding: 25px 30px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    text-align: center;
}

.profiltext {
    color: #0d1b4c;
    font-weight: 500;
}

/* ===========================
   CONTENT
=========================== */
section {
    padding: 60px 20px;
}

.content {
    max-width: 900px;
    margin: auto;
}

/* ===========================
   CARDS
=========================== */
.card {
    background: white;
    padding: 28px;
    margin: 32px 0;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* ===========================
   KONTAKTSEKTION
=========================== */
.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1fr;
    gap: 50px;
    align-items: start;
}

.kontakt-info ul {
    padding-left: 20px;
}

.kontakt-info li {
    margin-bottom: 6px;
}

/* FORMULÄR */
.kontaktform {
    background: white;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.kontaktform label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.kontaktform input,
.kontaktform textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.kontaktform textarea {
    min-height: 150px;
}

.kontaktform button {
    background-color: #2f3e46;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s ease;
}

.kontaktform button:hover {
    background-color: #3f525c;
}

/* ===========================
   MOBIL
=========================== */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero {
        padding: 60px 20px;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #2f3e46;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}