
/*
 _____ _         _            _         _      _       _   _ 
|  _  | |       | |          | |       (_)    | |     | | | |
| | | | |__   __| | __ _  ___| |__      _  ___| |_ ___| |_| |
| | | | '_ \ / _` |/ _` |/ __| '_ \    | |/ _ \ __|_  / __| |
\ \_/ / |_) | (_| | (_| | (__| | | |   | |  __/ |_ / /| |_|_|
 \___/|_.__/ \__,_|\__,_|\___|_| |_|   | |\___|\__/___|\__(_)
                                      _/ |                   
                                     |__/                    

Web design and web development by Stefan Weise – https://stefanweise.info

*/

:root {
    --primary: orange;
    --light-blue: #e6f3fb;
    --white: #ffffff;
    --dark: #000000;
    --header: #000000;
    --footer: #000000;
    --text: #333;
    --accent: #0099ff;
    }

    /* roboto-regular - latin */

    @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/roboto-v48-latin/roboto-v48-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* roboto-800 - latin */

    @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 800;
        src: url('../fonts/roboto-v48-latin/roboto-v48-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      font-family: 'Roboto', sans-serif;
    }

    body {
      background: var(--white);
      color: var(--text);
      line-height: 1.6;
    }

    h1,
    h2,
    h3 {
        font-weight: 800;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    header {
      position: sticky;
      top: 0;
      background: var(--header);
      border-bottom: 1px solid #222;
      padding: 1rem;
      z-index: 1000;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 960px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .logo {
      font-size: 0.9rem;
      color: var(--primary);
      font-weight: bold;
    }

    .logo img {
      max-width:150px !important;
      height: auto;
    }

    nav a {
        position: relative;
        color: var(--primary);
        text-decoration: none;
        font-weight: bold;
        margin-left: 1rem;
        padding-bottom: 0.2rem;
        transition: color 0.3s ease;
    }

    nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    nav a:hover::after,
    nav a:focus::after {
        transform: scaleX(1);
    }

    .burger {
        margin:0;
        padding:0;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .burger span {
        display: block;
        color: var(--primary);
        font-size: 24px;
    }

    .nav-links {
        display: flex;
        align-items: center;
    }

    @media (max-width: 768px) {
        .burger {
            display: flex;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            width: 100%;
            padding-top: 1rem;
        }

        .nav-links a {
            margin: 0.5rem 0;
            margin-left: 0;
        }

        .nav-links.active {
            display: flex;
        }
    }

    /* == hero sektion == */

    .hero {
        background: linear-gradient(to bottom, var(--light-blue), var(--footer));
        background-image: url(../webp/zelt.webp);
        background-position: center center;
        background-size: cover;
        color: var(--white);
        padding: 5rem 1rem;
        text-align: center;
    }

    .hero-content {
        margin: auto;
        max-width: 960px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
        font-weight: 700;
        line-height: 1.2;
        margin: 0 auto;
        max-width: 100%;
    }
    .hero h2 {
        font-size: clamp(1.2rem, 2vw + 0.5rem, 2rem);
        font-weight: 400;
        line-height: 1.4;
        margin: 1rem auto 0;
        max-width: 60ch;
    }
    .hero-btn {
        display: inline-block;
        margin-top: 1.5rem;
        background: var(--primary);
        color: var(--dark);
        padding: 0.75rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: bold;
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        transition: background 0.3s ease;
    }

    .hero-btn:hover {
        color: var(--white);
        background: var(--dark);
    }

    /* == sektion == */

    .section {
        max-width: 960px;
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .section[id]::before {
        content: "";
        display: block;
        height: 120px;
        margin-top: -120px;
    }

    .section h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }

    /* == grid == */

    .grid {
        display: grid;
        gap: 2rem;
        padding: 0 1rem; /* ← Added horizontal padding */
    }

    @media(min-width: 600px) {
        .grid.two-columns {
            grid-template-columns: 1fr 1fr;
        }
    }

    /* == cta == */

    .cta {
        background: #eee;
        color: #000;
        text-align: center;
        margin: 1rem auto;
        padding: 2rem 1rem;
        border-radius: 0.5rem;
    }

    .cta a {
        display: inline-block;
        margin-top: 1.5rem;
        background: var(--accent);
        color: var(--white);
        padding: 0.75rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        transition: background 0.3s ease;
    }

    /* == mission == */

    #mission {
        padding: 3rem 1rem;
        background: var(--white);
        color: var(--dark);
    }

    #mission h2 {
        margin-bottom: 2rem;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        font-weight: bold;
        text-align: center;
    }
    #mission p {
        margin-bottom: 1rem;
    }          

    .mission-content {
        margin: 0 auto;
        padding: 3rem 1rem;
        max-width: 960px;
        text-align: justify;
    }

    /* == facts == */

    #fakten {
        padding: 1.5rem 0 3rem 0;
    }

    #fakten h2 {
        margin-bottom: 3rem;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        font-weight: bold;
        text-align: center;
    }

    #fakten h3 {
        position: relative;
        margin-bottom: 0;
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
        font-weight: 600;
    }

    #fakten p {
        text-align: justify;
        hyphens: auto;
    }

    #fakten img {
        width: 80px;
        height: auto;
    }

    /* == living space == */

    #wohnraum {
        padding: 3rem 1rem;
        background: linear-gradient(to bottom, var(--light-blue), var(--footer));
        background-image: url(../webp/haus.webp);
        background-position: bottom center;
        background-size: cover;
        color: var(--white);
    }

    #wohnraum div {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    #wohnraum h2 {
        margin-bottom: 1rem;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        font-weight: bold;
    }

    #wohnraum p {
        margin-top: 2rem;
    }

    /* == letter == */

    #brief {
        padding: 3rem 1rem;
        background: linear-gradient(to bottom, var(--light-blue), var(--footer));
        background-image: url(../webp/zelte.webp);
        background-position: center center;
        background-size: cover;
        color: var(--white);
    }

    #brief div {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    #brief h2 {
        margin-bottom: 1rem;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        font-weight: bold;
    }

    #brief p {
        margin-top: 2rem;
    }

    /* == pdf download link == */

    .pdf-link {
        display: inline-block;
        margin-top: 1rem;
        background: var(--primary);
        color: var(--dark);
        padding: 0.75rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: bold;
    }
    .pdf-link:hover {
        color: var(--white);
        background: var(--dark);
    }

    /* == quote == */

    .quote-section {
        max-width: 960px;
        margin: 4rem auto;
        padding: 3rem 0;
        text-align: center;
        position: relative;
    }

    @media (max-width: 768px) {
        .quote-section {
            width: 90%;
        }
    }
    
    .quote-section blockquote {
        margin: 0 auto;
        padding: 2rem 1.5rem;
        background: #f9f9f9;
        border-left: 4px solid #000;
        border-radius: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        font-style: italic;
        color: #333;
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
        line-height: 1.7;
        position: relative;
    }

    .quote-section blockquote::before {
        content: "“";
        font-size: 4rem;
        color: var(--primary);
        position: absolute;
        top: -20px;
        left: 10px;
        opacity: 0.2;
        pointer-events: none;
    }

    .quote-section blockquote p {
        margin-bottom: 1rem;
        font-size: clamp(1.25rem, 4vw, 2.5rem);
    }

    .quote-section cite {
        display: block;
        font-size: clamp(0.95rem, 1.5vw, 1.25rem);
        font-style: normal;
        font-weight: 400;
        color: var(--primary);
        margin-top: 1rem;
    }

    .quote-section cite a {
        color: #000;
    }

    .quote-section cite a:hover {
        color: var(--primary);
        text-decoration: none;
    }

    /* == disclaimer == */

    #quellenhinweis {
        margin:1rem auto 0 auto;
        padding: 2rem 1rem;
        background: #f9f9f9;
        border-top: 1px solid #ddd;
        color: #555;
    }

    #quellenhinweis div {
        max-width: 960px;
        margin: 0 auto;
        text-align: justify;
        font-size: 0.85rem;
    }

    /*#quellenhinweis div small {
        display: block;
        margin-bottom: 1rem;
    }*/

    #quellenhinweis a {
        color:#000;
        text-decoration: underline;
    }

    #quellenhinweis a:hover {
        color:var(--primary);
        text-decoration: none;
    }
    
    /* == footer == */

    footer {
        background-color: var(--footer);
        text-align: center;
        margin-top: 0;
        padding: 2rem 1rem;
        font-size: 0.9rem;
        color: #666;
        border-top: 1px solid #ddd;
    }

    footer a {
        color: var(--primary);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: all 0.2s ease-in-out;
    }

    footer p a:hover {
        border-bottom: 1px solid var(--white);
        color: var(--white);
    }
    footer span {
        margin:0 .5rem;
    }

    footer a img {
        border: 0;
        text-decoration: none;
        background: transparent;
    }

    footer img {
        margin: auto;
        padding: 0;
        width: 300px;
        max-width: 100% !important;
        height: auto;
    }