/*
Theme Name: HSZ Projekt Steuerung
Theme URI: https://example.com/hsz-theme/
Author: Manus AI
Author URI: https://example.com/
Description: Ein minimalistisches WordPress-Theme für HSZ Projekt Steuerung basierend auf einem Adobe XD Design.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsz-theme
Tags: minimal, responsive, clean, modern, block-theme, full-site-editing
*/

/*=============================================
=            Webfont Imports                  =
=============================================*/
/*@import url("https://use.typekit.net/tnm7dlu.css");
@import url("https://use.typekit.net/ysx4jex.css");*/


/*=============================================
=            Reset & Base Styles              =
=============================================*/
/* Reset margins, paddings, box-sizing, smooth scroll */
html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100%;
  text-wrap: balance;
}

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

html {
    scroll-behavior: smooth;
    font-size: clamp(11px, calc(0.46vw + 9px), 14px);
    -webkit-text-size-adjust: 100%;   /* Safari-Autosizing aus */
}
/* ---------------- Ausnahme: Mini-Phones (iPhone SE & Co.) -------------- */
/*  7 px @ 320 px  →  11 px @ 430 px */
@media (max-width: 429px){
  html{
    /* MIN 7 px · MAX 11 px · Steigung 6.67 vw · Offset −17.67 px  */
    font-size: clamp(7px, calc(6.67vw - 17.67px), 11px);
    -webkit-text-size-adjust: 100%;
  }
}

.wp-block-site-logo img {
  width: clamp(240px, calc(6.5625vw + 219px), 345px);
  height: auto;
}

/*@media (max-width: 3840px) {
    html {
        font-size: 15px;
    }
}
@media (max-width: 1920px) {
    html {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 10px;
    }
    .wp-block-site-logo img {
        width: 240px !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 9px;
    }
    .wp-block-site-logo img {
        width: 240px !important;
    }
}*/

.wp-site-blocks {
  max-height: calc(100vh - 100px);
  overflow-y: scroll;
  height: 100%;
}
body {
    font-family: 'Area Normal', Arial, sans-serif;
    font-weight: 900 !important;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.team > img {
    width: 10rem;
}
main {
    transform: translate(0px, 5vh);
}
/*=============================================
=            Typography Rules                 =
=============================================*/
/* Headings (h1–h6) */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
}
.itrk-legaltext h1 {
    content-visibility: hidden;
}
.itrk-legaltext h2 {
    font-size: 1.5rem;
}
.hashtag-link {
    font-size: 2.14rem !important;
    line-height: 1.2;
}
.text-stroke {
    font-weight: 900 !important;
    text-transform: uppercase !important;
}
/* Paragraphs */
p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.text {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 300;
}
.text strong {
    font-weight: 600;
}
.liste {
    list-style-type: none;
}
/*.text a {
    min-width: max-content;
    display: block;
}*/
.leistungen {
    list-style-type: none;
}
.leistungen li::before {
    content: "+ ";
    /*position: absolute;
    transform-origin: center;
    transform: scale(2) translate(-0.7em, -1px);*/
}
.leistungen strong {
    font-size: 1.5rem;
}
/*=============================================
=            Accessibility Helpers            =
=============================================*/
/* Screen-reader–only text, focus styles */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus outlines for interactive elements */
a:focus,
button:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}


/*=============================================
=            Layout: Container                =
=============================================*/
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}


/*=============================================
=            Header & Branding                =
=============================================*/
/* Site header wrapper */
header {
    overflow: auto;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
}
.site-header {
    padding: 1.5rem 0;
    
    overflow: auto;
    top: 0;
}

/* Logo/title + toggle positioning */
.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Site title styling */
.site-title {
    color: #000;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}


/*=============================================
=            Navigation & Menu                =
=============================================*/
/* Hide toggle menu by default; absolute dropdown on small screens */
body > div > header.wp-block-template-part > header > div > div > h1 > a {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 2.5rem !important;
    display: flex;
    color: inherit;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-decoration: inherit;
    align-items: flex-start;
}
.main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 100%;
    z-index: 100;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* When JS toggles open */
.main-navigation.toggled {
    display: block;
}

/* Hamburger/Menu toggle button */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main menu list */
.menu {
    list-style: none;
    text-align: right;
}

.menu li {
    margin-bottom: 1rem;
}

span {
    color: #333;
    text-decoration: none;
    font-size: 1.07rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
}
h1 a {
    display: flex;
}
header header :first-child {
    align-items: flex-start;
}
/* Hamburger icon styling */
.hamburger-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    position: relative;
}
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
    height: 3rem;
    width: 3rem;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 22.5px;
}

.hamburger-icon span:nth-child(3) {
    top: 45px;
}


/*=============================================
=            Hero Section                     =
=============================================*/
.hero-section {
    padding: 3rem 0;
    text-align: center;
}

/* Main hero title */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    text-transform: uppercase;
    font-weight: 300;
    color: inherit !important;
}

/* Hero subtitle / call-to-action */
.section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.section-subtitle a {
    color: #333;
    text-decoration: none;
}


/*=============================================
=            Content Area                     =
=============================================*/
.content-section {
    padding: 0;
    margin-bottom: 3rem; /* extra spacing between content sections */
}

/* Hashtag-style links for content categories */
.hashtag-link {
    display: block;
   /* margin-bottom: 0.5rem; */
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    text-decoration: underline !important;
    min-width: max-content;
}

.hashtag-link:hover {
    text-decoration: underline;
}


/*=============================================
=            Form Elements & Buttons          =
=============================================*/
/* Base form inputs */
input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 1rem;
}

/* Buttons (submit, reset, etc.) */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #555;
}


/*=============================================
=            Footer (bereinigt)               =
=============================================*/
footer, .site-footer {
    width: 100%;
    padding: 0 0;
    text-align: center;
    margin-top: auto; /* KEY TRICK für Sticky Footer */
    /* fixed */
    position: fixed;
    bottom: 0;
    z-index: 1000;
    overflow: hidden;
    
}
.site-footer {
    background-color: #fff;
    /*box-shadow: 0px -10px 20px rgba(0,0,0, 0.2);*/
}
/* Footer logo block */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 150px;
}

/* Tagline unter dem Footer Logo */
.footer-tagline {
    font-size: 1rem;
    color: #666;
}



/*=============================================
=            Responsive Adjustments            =
=============================================*/
/*@media screen and (max-width: 768px) {
  .wp-block-group[style*="padding-left:3rem"],
  .wp-block-group[style*="padding-right:3rem"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
*/